[Quickfix-developers] connecting quickfix to mysql
Brought to you by:
orenmnero
From: aljebouri <ahm...@gm...> - 2018-04-05 23:38:56
|
Hello All, I am trying to log all incoming messages into mysql DB, howeve, when i compile my application it through an error as per below. i am not sure on how to fix the issue? Error 2 error LNK2019: unresolved external symbol _mysql_num_rows@4 referenced in function "public: int __thiscall FIX::MySQLQuery::rows(void)" (?rows@MySQLQuery@FIX@@QAEHXZ) C:\Users\Ahmed\Documents\Quickfix\quickfix\examples\tradeclient\quickfix.lib(MySQLStore.obj) example_tradeclient Error 3 error LNK2019: unresolved external symbol _mysql_errno@4 referenced in function "public: bool __thiscall FIX::MySQLQuery::execute(struct st_mysql *)" (?execute@MySQLQuery@FIX@@QAE_NPAUst_mysql@@@Z) C:\Users\Ahmed\Documents\Quickfix\quickfix\examples\tradeclient\quickfix.lib(MySQLStore.obj) example_tradeclient Error 4 error LNK2019: unresolved external symbol _mysql_error@4 referenced in function "private: void __thiscall FIX::MySQLConnection::connect(void)" (?connect@MySQLConnection@FIX@@AAEXXZ) C:\Users\Ahmed\Documents\Quickfix\quickfix\examples\tradeclient\quickfix.lib(MySQLStore.obj) example_tradeclient Error 5 error LNK2019: unresolved external symbol _mysql_init@4 referenced in function "private: void __thiscall FIX::MySQLConnection::connect(void)" (?connect@MySQLConnection@FIX@@AAEXXZ) C:\Users\Ahmed\Documents\Quickfix\quickfix\examples\tradeclient\quickfix.lib(MySQLStore.obj) example_tradeclient Error 6 error LNK2019: unresolved external symbol _mysql_real_connect@32 referenced in function "private: void __thiscall FIX::MySQLConnection::connect(void)" (?connect@MySQLConnection@FIX@@AAEXXZ) C:\Users\Ahmed\Documents\Quickfix\quickfix\examples\tradeclient\quickfix.lib(MySQLStore.obj) example_tradeclient Error 7 error LNK2019: unresolved external symbol _mysql_query@8 referenced in function "public: bool __thiscall FIX::MySQLQuery::execute(struct st_mysql *)" (?execute@MySQLQuery@FIX@@QAE_NPAUst_mysql@@@Z) C:\Users\Ahmed\Documents\Quickfix\quickfix\examples\tradeclient\quickfix.lib(MySQLStore.obj) example_tradeclient Error 8 error LNK2019: unresolved external symbol _mysql_store_result@4 referenced in function "public: bool __thiscall FIX::MySQLQuery::execute(struct st_mysql *)" (?execute@MySQLQuery@FIX@@QAE_NPAUst_mysql@@@Z) C:\Users\Ahmed\Documents\Quickfix\quickfix\examples\tradeclient\quickfix.lib(MySQLStore.obj) example_tradeclient Error 9 error LNK2019: unresolved external symbol _mysql_ping@4 referenced in function "public: bool __thiscall FIX::MySQLConnection::connected(void)" (?connected@MySQLConnection@FIX@@QAE_NXZ) C:\Users\Ahmed\Documents\Quickfix\quickfix\examples\tradeclient\quickfix.lib(MySQLStore.obj) example_tradeclient Error 10 error LNK2019: unresolved external symbol _mysql_options@12 referenced in function "private: void __thiscall FIX::MySQLConnection::connect(void)" (?connect@MySQLConnection@FIX@@AAEXXZ) C:\Users\Ahmed\Documents\Quickfix\quickfix\examples\tradeclient\quickfix.lib(MySQLStore.obj) example_tradeclient Error 11 error LNK2019: unresolved external symbol _mysql_free_result@4 referenced in function "public: __thiscall FIX::MySQLQuery::~MySQLQuery(void)" (??1MySQLQuery@FIX@@QAE@XZ) C:\Users\Ahmed\Documents\Quickfix\quickfix\examples\tradeclient\quickfix.lib(MySQLStore.obj) example_tradeclient Error 12 error LNK2019: unresolved external symbol _mysql_fetch_row@4 referenced in function "public: char * __thiscall FIX::MySQLQuery::getValue(int,int)" (?getValue@MySQLQuery@FIX@@QAEPADHH@Z) C:\Users\Ahmed\Documents\Quickfix\quickfix\examples\tradeclient\quickfix.lib(MySQLStore.obj) example_tradeclient Error 13 error LNK2019: unresolved external symbol _mysql_escape_string@12 referenced in function __catch$?create@MySQLStoreFactory@FIX@@AAEPAVMessageStore@2@ABVSessionID@2@ABVDictionary@2@@Z$8 C:\Users\Ahmed\Documents\Quickfix\quickfix\examples\tradeclient\quickfix.lib(MySQLStore.obj) example_tradeclient Error 14 error LNK2019: unresolved external symbol _mysql_close@4 referenced in function "public: __thiscall FIX::MySQLConnection::~MySQLConnection(void)" (??1MySQLConnection@FIX@@QAE@XZ) C:\Users\Ahmed\Documents\Quickfix\quickfix\examples\tradeclient\quickfix.lib(MySQLStore.obj) example_tradeclient Error 15 error LNK1120: 13 unresolved externals C:\Users\Ahmed\Documents\Quickfix\quickfix\bin\debug\tradeclient\tradeclient.exe example_tradeclient -- Sent from: http://quickfix.13857.n7.nabble.com/QuickFIX-Dev-f1677.html |