[Quickfix-developers] RE: Quickfix-developers digest, Vol 1 #540 - 4 msgs
Brought to you by:
orenmnero
From: Brendan B. B. <br...@ka...> - 2004-08-06 14:05:50
|
Hi, Whatever you're linking is pulling in both the MFC and VC++ C Libraries which declare the same symbols. If you're using VC++ 6.0 (can't help w/VS.NET, sorry), check your project settings - goto the General tab, and see if "Microsoft Foundation Classes" is "Not using MFC" or "Use MFC in a Shared DLL" (or "Use MFC in a Static Library" if you have that option). Your app and quickfix library usually need to have matching settings. Cheers, Brendan > i=92ve downloaded the most current version of the QuickFix Engine for > Windows/C++. > > During linking process i get the following errors: > > msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: virtual __thiscall > std::logic_error::~logic_error(void)" (??1logic_error@std@@UAE@XZ) = > bereits > in quickfix.lib(MessageStore.obj) definiert > > msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall > std::logic_error::logic_error(class std::basic_string<char,struct > std::char_traits<char>,class std::allocator<char> > const &)" > (??0logic_error@std@@QAE@ABV?$basic_string@DU?$char_trait > > s@D@std@@V?$allocator@D@2@@1@@Z) bereits in = > quickfix.lib(MessageStore.obj) > definiert > > msvcprtd.lib(MSVCP60D.dll) : error LNK2005: "public: __thiscall > std::logic_error::logic_error(class std::logic_error const &)" > (??0logic_error@std@@QAE@ABV01@@Z) bereits in = > quickfix.lib(MessageStore.obj) > definiert > > LINK : fatal error LNK1104: Datei "atls.lib" kann nicht geoeffnet werden > > Fehler beim Ausf=FChren von link.exe. > > > > Can anyone tell me why the logic_error objects are multible defined? |