Re: [Quickfix-developers] (no subject)
Brought to you by:
orenmnero
From: <OM...@th...> - 2002-03-11 05:34:14
|
David, Setting your run-time library to Debug Multithreaded may be your problem. Try changing this to Debug Multithreaded DLL. This is documented in the Setting Up Your Project page at http://quickfix.sourceforge.net/documentation/project.html. If you would like to use Debug Multithreaded you can, however you will need to build quickfix with the same run-time library. I hope this helps. --oren |---------+-----------------------------------------------> | | "David Kennedy" | | | <ke...@ho...> | | | Sent by: | | | qui...@li...ur| | | ceforge.net | | | | | | | | | 03/10/02 09:21 AM | | | | |---------+-----------------------------------------------> >----------------------------------------------------------------------------------------------| | | | To: qui...@li... | | cc: | | Subject: [Quickfix-developers] (no subject) | >----------------------------------------------------------------------------------------------| I started playing with your quckfix engine. I have a problem which is probably related more to MSVC then anything but wonder if someone can give me a hand. I create a new console app, put in the code from at_client or at_server, fix the includes, set debug multithreaded and compile. No errors warnings but a whole bunch of 'link errors' which come from putting quickfix_debug.lib in the linker options. Without the lib, I get erros (understandably). Here is a samle of what I get. Any ideas would be appreciated. removing libcpmtd.lib or msvcprtd.lib doesn't seem to help. Oddly enough, the sample project supplied compiles/links fine. I have looked at the difference between my project and at_server and can't see anything. msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall std::ios_base::Init::Init(void)" (??0Init@ios_base@std@@QAE@XZ) already defined in libcpmtd.lib(iostream.obj) msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall std::ios_base::Init::~Init(void)" (??1Init@ios_base@std@@QAE@XZ) already defined in libcpmtd.lib(iostream.obj) msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall std:: _Winit::_Winit(void)" (??0_Winit@std@@QAE@XZ) already defined in libcpmtd.lib(wiostrea.obj) msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall std:: _Winit::~_Winit(void)" (??1_Winit@std@@QAE@XZ) already defined in libcpmtd.lib(wiostrea.obj) msvcprtd.lib(MSVCP60D.dll) : 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> >(class std::allocator<char > const &)" ( ??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV?$allocator@D@1@@Z ) already defined in NewClient.obj msvcprtd.lib(MSVCP60D.dll) : 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_strin g@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) already defined in NewClient.obj Chat with friends online, try MSN Messenger: Click Here _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |