Re: ClientCppInstrumentIn Link Error with VC10

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/ClientCppInstrumentIn-Link-Error-with-VC10-tp13738p13759.html

Hi,
    I'm not familiar with QLXL, but it looks like you have to tell the
linker to add the AddinCpp library (if you compiled everything, it
should be inside Addins/Cpp/lib).

Luigi

On Tue, Nov 27, 2012 at 3:53 PM, Lapin <[hidden email]> wrote:

> Hi,
>
> After scratching my head around this, I will have to post the question
> here...
> I can build all libs (QL, QLXL...) under VC10, but ClientCppInstrumentIn
> does not compile.
> There is a link error which I can not manage to fix...
>
> instrument_in.obj : error LNK2019: unresolved external symbol "double
> __cdecl QuantLibAddinCpp::qlInstrumentNPV(class
> std::basic_string<char,struct std::char_traits&lt;char>,class
> std::allocator<char> > const &,class ObjectHandler::property_t const &)"
> (?qlInstrumentNPV@QuantLibAddinCpp@@YANABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABVproperty_t@ObjectHandler@@@Z)
> referenced infunction _main
> 4>
>
> I have tried to add the paths to the libs, but nothing seems to work.
>
> If someone has the fix to this, I will be very grateful.
>
> Regards
>
>
>
> --
> View this message in context: http://quantlib.10058.n7.nabble.com/ClientCppInstrumentIn-Link-Error-with-VC10-tp13738.html
> Sent from the quantlib-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users