R: Adding new function to QuantLib XL

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

R: Adding new function to QuantLib XL

tarpanelli@libero.it
Hello,

following the example in the website I've previously stated, I can do
everithing till when I need to build quantlibxl which returns me the following
errors




Error 1 error LNK2019: unresolved external symbol "void __cdecl registerStock
(struct xloper const &)" (?registerStock@@YAXABUxloper@@@Z) referenced in
function "void __cdecl registerQlFunctions(struct xloper const &)" (?
registerQlFunctions@@YAXABUxloper@@@Z) register_all.obj
Error 2 error LNK2019: unresolved external symbol "void __cdecl unregisterStock
(struct xloper const &)" (?unregisterStock@@YAXABUxloper@@@Z) referenced in
function "void __cdecl unregisterQlFunctions(struct xloper const &)" (?
unregisterQlFunctions@@YAXABUxloper@@@Z) register_all.obj
Error 3 error LNK2019: unresolved external symbol "void __cdecl QuantLibAddin::
register_stock(class boost::archive::xml_oarchive &)" (?
register_stock@QuantLibAddin@@YAXAAVxml_oarchive@archive@boost@@@Z) referenced
in function "void __cdecl QuantLibAddin::tpl_register_classes<class boost::
archive::xml_oarchive>(class boost::archive::xml_oarchive &)"
(??$tpl_register_classes@Vxml_oarchive@archive@boost@@@QuantLibAddin@@YAXAAVxml_oarchive@archive@boost@@@Z)
quantlibobjects-vc80-mt-s-1_0_1.lib
Error 4 error LNK2019: unresolved external symbol "void __cdecl QuantLibAddin::
register_stock(class boost::archive::xml_iarchive &)" (?
register_stock@QuantLibAddin@@YAXAAVxml_iarchive@archive@boost@@@Z) referenced
in function "void __cdecl QuantLibAddin::tpl_register_classes<class boost::
archive::xml_iarchive>(class boost::archive::xml_iarchive &)"
(??$tpl_register_classes@Vxml_iarchive@archive@boost@@@QuantLibAddin@@YAXAAVxml_iarchive@archive@boost@@@Z)
quantlibobjects-vc80-mt-s-1_0_1.lib
Error 5 error LNK2019: unresolved external symbol "class boost::
shared_ptr<class ObjectHandler::Object> __cdecl QuantLibAddin::create_qlStock
(class boost::shared_ptr<class ObjectHandler::ValueObject> const &)" (?
create_qlStock@QuantLibAddin@@YA?
AV?$shared_ptr@VObject@ObjectHandler@@@boost@@ABV?$shared_ptr@VValueObject@ObjectHandler@@@3@@Z)
referenced in function "private: void __thiscall QuantLibAddin::
SerializationFactory::registerCreators(void)" (?
registerCreators@SerializationFactory@QuantLibAddin@@AAEXXZ) quantlibobjects-
vc80-mt-s-1_0_1.lib
Error 6 fatal error LNK1120: 5 unresolved externals ..\xll\QuantLibXL-vc80-mt-
s-1_0_1.xll



any suggestion is well appreciated.
thank you
Paolo

>----Messaggio originale----
>Da: [hidden email]
>Data: 28/01/2011 17.48
>A: <[hidden email]>
>Ogg: [Quantlib-dev] Adding new function to QuantLib XL
>
>Hello,
>
>I saw the example in
>
>http://quantlib.org/quantlibaddin/extend__tutorial.html
>
>to expose additional functionalities into quantlib xl but it looks like to
me
>too much restrictive (at least for those peoples who are not pure developer
>like me)
>
>is there any repository where I can find similar examples ?
>thank you
>regards,
>Paolo
>

>------------------------------------------------------------------------------
>Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>Finally, a world-class log management solution at an even better price-free!
>Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>February 28th, so secure your free ArcSight Logger TODAY!
>http://p.sf.net/sfu/arcsight-sfd2d
>_______________________________________________
>QuantLib-dev mailing list
>[hidden email]
>https://lists.sourceforge.net/lists/listinfo/quantlib-dev
>



------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: R: Adding new function to QuantLib XL

Eric Ehlers-2
Hi Paolo,

>> is there any repository where I can find similar examples ?

Sorry, the tutorial you found is all we got.

> following the example in the website I've previously stated, I can do
> everithing till when I need to build quantlibxl which returns me the  
> following
> errors

Looks like you omitted to add file(s) to the projects.  If you follow  
the tutorial exactly as written it should compile fine.

Regards,
Eric


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev