[Quickfix-developers] Linking quickfix_jni
Brought to you by:
orenmnero
From: Nikhil B. <ass...@ya...> - 2003-08-20 14:18:57
|
Hello, When I try to build quickfix_jni, the Debug version builds fine, but the Release version gives the following link errors. I am using VC++ 6.0. Please help. Thanks, Nikhil Linking... msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall std::logic_error::logic_error(class logic_error::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0logic_error@std@@QAE@ABV?$basic_string@DU?$char _traits@D@std@@V?$allocator@D@2@@1@@Z) already defined in quickfix.lib(MessageStore.obj) msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall std::runtime_error::~runtime_error(void)" (??1runtime_error@std@@UAE@XZ) already defined in quickfix.lib(FileStore.obj) msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall std::runtime_error::runtime_error(class runtime_error::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0runtime_error@std@@QAE@ABV?$basic_string@ DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z) already defined in quickfix.lib(FileStore.obj) msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall std::logic_error::~logic_error(void)" (??1logic_error@std@@UAE@XZ) already defined in quickfix.lib(MessageStore.obj) LINK : fatal error LNK1104: cannot open file "atls.lib" Error executing link.exe. --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software |