Re: [Quickfix-developers] Linking quickfix_jni
Brought to you by:
orenmnero
From: Matt P. <mat...@ca...> - 2003-08-20 15:01:05
|
Nikhil, Not sure if this is your problem, but these errors look similar to ones that I recieved when building my app. Check the run-time library that you are using (Project Settings -> C/C++ -> Code Generation -> Use run-time Library). I believe the run-time library that you chose has to match with any other DLLs/Libraries that you are linking with. Matt P. -----Original Message----- From: qui...@li... [mailto:qui...@li...]On Behalf Of Nikhil Bose Sent: Wednesday, August 20, 2003 9:01 AM To: qui...@li... Subject: [Quickfix-developers] Linking quickfix_jni 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 |