Link problems generating QuantLibXL_d.xll

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Link problems generating QuantLibXL_d.xll

Dr No-2
Hi All:
 
When I try to compile QuantlibXL I get these funny link errors (see below). I believe I did everything I was told of in the "Usage" section of the QuantLib ref manual. The "Code Generation" setting is on "Debug Multithreaded DLL". I've asked colleagues of mine who are more experienced using VC++ 6.0, but they couldn't help me.
 
Thanks for your suggestions!
Norbert
 

QuantLib_d.lib(daycounters.obj) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,class s

td::allocator<char> const &)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDABV?$allocator@D@1@@Z) already defined in msvcprtd.lib(MSVCP60D.dll)

QuantLib_d.lib(daycounters.obj) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_

string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) already defined in msvcprtd.lib(MSVCP60D.dll)