[Quickfix-developers] (no subject)
Brought to you by:
orenmnero
From: David K. <ke...@ho...> - 2002-03-10 15:21:19
|
<html><div style='background-color:'><DIV>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.</DIV> <DIV> </DIV> <DIV>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.</DIV> <DIV> </DIV> <DIV>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.</DIV> <DIV> </DIV> <DIV>msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall std::ios_base::Init::Init(void)" (<A href="mailto:??0Init@ios_base@std@@QAE@XZ">??0Init@ios_base@std@@QAE@XZ</A>) already defined in libcpmtd.lib(iostream.obj)<BR>msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall std::ios_base::Init::~Init(void)" (<A href="mailto:??1Init@ios_base@std@@QAE@XZ">??1Init@ios_base@std@@QAE@XZ</A>) already defined in libcpmtd.lib(iostream.obj)<BR>msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall std::_Winit::_Winit(void)" (<A href="mailto:??0_Winit@std@@QAE@XZ">??0_Winit@std@@QAE@XZ</A>) already defined in libcpmtd.lib(wiostrea.obj)<BR>msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall std::_Winit::~_Winit(void)" (<A href="mailto:??1_Winit@std@@QAE@XZ">??1_Winit@std@@QAE@XZ</A>) already defined in libcpmtd.lib(wiostrea.obj)<BR>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<BR>> const &)" (<A href="mailto:??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV?$allocator@D@1@@Z">??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV?$allocator@D@1@@Z</A>) already defined in NewClient.obj<BR>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<BR><A href="mailto:g@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ">g@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ</A>) already defined in NewClient.obj</DIV></div><br clear=all><hr>Chat with friends online, try MSN Messenger: <a href='http://g.msn.com/1HM101601/z'>Click Here</a><br></html> |