ClientCppInstrumentIn Link Error with VC10

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

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<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