[Quickfix-developers] Warnings/errors when building in Visual Studio.Net 2003
Brought to you by:
orenmnero
From: Akshay A. <AA...@on...> - 2003-08-07 19:44:29
|
and using Framework 1.1 (though I got the same errors when I tried using VS.Net 2002 - which can only target framework 1.0) The long list of warnings and errors consist of lines such as below: quickfix_net warning LNK4049: locally defined symbol ??_7logic_error@std@@6B@ (const std::logic_error::`vftable') imported quickfix_net warning LNK4217: locally defined symbol ??_7logic_error@std@@6B@ (const std::logic_error::`vftable') imported in function "public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl FIX::DoubleConvertor::convert(double)" (?convert@DoubleConvertor@FIX@@SA?AV?$basic_string@DU?$char_traits@D@std @@V?$allocator@D@2@@std@@N@Z) quickfix_net error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Copy(unsigned int)" (__imp_?_Copy@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@st d@@AAEXI@Z) quickfix_net error LNK2019: unresolved external symbol "__declspec(dllimport) private: void __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Copy(unsigned int)" (__imp_?_Copy@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@st d@@AAEXI@Z) referenced in function "public: __thiscall std::map<int,class FIX::FieldBase,struct FIX::message_order,class std::allocator<class FIX::FieldBase> >::~map<int,class FIX::FieldBase,struct FIX::message_order,class std::allocator<class FIX::FieldBase> >(void)" (??1?$map@HVFieldBase@FIX@@Umessage_order@2@V?$allocator@VFieldBase@FIX@ @@std@@@std@@QAE@XZ) quickfix_net fatal error LNK1120: 11 unresolved externals Those were all the different types of LNK warnings and errors. I got it to compile fine using VC++ 6.0 and it produced the 2 libraries, and I wanted to put it in .Net, but it doesn't like something, and I couldn't find much in the mailing lists concerning this. Any ideas? -akshay |