[Quickfix-developers] Compiling quickfix for AMD Opteron on WinXP
Brought to you by:
orenmnero
From: Andrew M. <an...@nm...> - 2005-01-04 18:58:13
|
I am getting these errors when compiling quickfix_jni.dll for AMD64 using Visual Studio 2005 Beta1 on XP x64. My quickfix.dll appears to compile fine. My compiled qickfix.lib is 15,486,330 bytes opposed to the 32bit windows one which is roughly half that size. The machine is a 2-way Opteron. My 64 bit Win/AMD64 build is at: www.nmedia.net/~andrew/quickfix.lib Is the problem below because I am trying to link an AMD64 .dll with a win32 binary dist provided libmysql.lib? Do I need to build an AMD64 specific version of MySQL? Command line options used are: /I "C:\MySQL\include" /I "../../include" /D "_WINDOWS" /D "_USRDLL" /D "QUICKFIX_JNI_EXPORTS" /D "_WINDLL" /D "_MBCS" /GF /FD /EHsc /MD /Gy /Fp".\Release/quickfix_jni.pch" /Fo".\Release/" /Fd".\Release/" /nologo /c /Wp64 Error 337 error LNK2019: unresolved external symbol mysql_close referenced in function "public: virtual __cdecl FIX::MySQLLog::~MySQLLog(void)" (??1MySQLLog@FIX@@UEAA@XZ) quickfix_jni Error 338 error LNK2001: unresolved external symbol mysql_close quickfix_jni Error 339 error LNK2019: unresolved external symbol mysql_real_connect referenced in function "public: __cdecl FIX::MySQLLog::MySQLLog(class FIX::SessionID const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,short)" (??0MySQLLog@FIX@@QEAA@AEBVSessionID@1@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@111F@Z) quickfix_jni Error 340 error LNK2001: unresolved external symbol mysql_real_connect quickfix_jni Error 341 error LNK2019: unresolved external symbol mysql_init referenced in function "public: __cdecl FIX::MySQLLog::MySQLLog(class FIX::SessionID const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,short)" (??0MySQLLog@FIX@@QEAA@AEBVSessionID@1@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@111F@Z) quickfix_jni Error 342 error LNK2001: unresolved external symbol mysql_init quickfix_jni Error 343 error LNK2019: unresolved external symbol mysql_query referenced in function "private: void __cdecl FIX::MySQLLog::insert(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?insert@MySQLLog@FIX@@AEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V34@@Z) quickfix_jni Error 344 error LNK2001: unresolved external symbol mysql_query quickfix_jni Error 345 error LNK2019: unresolved external symbol mysql_errno referenced in function "int __cdecl FIX::safe_query(struct st_mysql *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?safe_query@FIX@@YAHPEAUst_mysql@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) quickfix_jni Error 346 error LNK2019: unresolved external symbol mysql_free_result referenced in function "private: void __cdecl FIX::MySQLStore::populateCache(void)" (?populateCache@MySQLStore@FIX@@AEAAXXZ) quickfix_jni Error 347 error LNK2019: unresolved external symbol mysql_fetch_row referenced in function "private: void __cdecl FIX::MySQLStore::populateCache(void)" (?populateCache@MySQLStore@FIX@@AEAAXXZ) quickfix_jni Error 348 error LNK2019: unresolved external symbol mysql_num_rows referenced in function "private: void __cdecl FIX::MySQLStore::populateCache(void)" (?populateCache@MySQLStore@FIX@@AEAAXXZ) quickfix_jni Error 349 error LNK2019: unresolved external symbol mysql_store_result referenced in function "private: void __cdecl FIX::MySQLStore::populateCache(void)" (?populateCache@MySQLStore@FIX@@AEAAXXZ) quickfix_jni Error 350 fatal error LNK1120: 9 unresolved externals quickfix_jni |