Building c++ Connector w. VS 2012 - Linking Error

Dome221

Grünschnabel
I've build the mysql c++ connector with cmake for visual studio 11 (/12). But now, if i want to compile the generated projects (MYSQLCPPCONN.sln) i get aloooot of linking errors. No clue what i have to link to. Any Ideas? Thanks!

Error 33 error LNK2019: unresolved external symbol _mysql_server_init@12 referenced in function "private: __thiscall sql::mysql::NativeAPI::LibmysqlStaticProxy::Libmys qlStaticProxy(void)" (****0LibmysqlStaticProxy@NativeAPI@mysql@sql@@AAE@X Z) C:\mysql-connector-c++-1.1.3\driver\mysql_client_api.obj
Error 34 error LNK2019: unresolved external symbol _mysql_server_end@0 referenced in function "public: virtual __thiscall sql::mysql::NativeAPI::LibmysqlStaticProxy::~Libmy sqlStaticProxy(void)" (****1LibmysqlStaticProxy@NativeAPI@mysql@sql@@UAE@X Z) C:\mysql-connector-c++-1.1.3\driver\mysql_client_api.obj
Error 35 error LNK2019: unresolved external symbol _mysql_thread_init@0 referenced in function "public: virtual void __thiscall sql::mysql::NativeAPI::LibmysqlStaticProxy::thread _init(void)" (?thread_init@LibmysqlStaticProxy@NativeAPI@mysql@ sql@@UAEXXZ) C:\mysql-connector-c++-1.1.3\driver\mysql_client_api.obj
Error 36 error LNK2019: unresolved external symbol _mysql_thread_end@0 referenced in function "public: virtual void __thiscall sql::mysql::NativeAPI::LibmysqlStaticProxy::thread _end(void)" (?thread_end@LibmysqlStaticProxy@NativeAPI@mysql@s ql@@UAEXXZ) C:\mysql-connector-c++-1.1.3\driver\mysql_client_api.obj
Error 37 error LNK2019: unresolved external symbol _mysql_num_rows@4 referenced in function "public: virtual unsigned __int64 __thiscall sql::mysql::NativeAPI::LibmysqlStaticProxy::num_ro ws(struct st_mysql_res *)" (?num_rows@LibmysqlStaticProxy@NativeAPI@mysql@sql @@UAE_KPAUst_mysql_res@@@Z) C:\mysql-connector-c++-1.1.3\driver\mysql_client_api.obj
Error 38 error LNK2019: unresolved external symbol _mysql_num_fields@4 referenced in function "public: virtual unsigned int __thiscall sql::mysql::NativeAPI::LibmysqlStaticProxy::num_fi elds(struct st_mysql_res *)" (?num_fields@LibmysqlStaticProxy@NativeAPI@mysql@s ql@@UAEIPAUst_mysql_res@@@Z) C:\mysql-connector-c++-1.1.3\driver\mysql_client_api.obj
Error 39 error LNK2019: unresolved external symbol _mysql_fetch_field_direct@8 referenced in function "public: virtual struct st_mysql_field * __thiscall sql::mysql::NativeAPI::LibmysqlStaticProxy::fetch_ field_direct(struct st_mysql_res *,unsigned int)" (?fetch_field_direct@LibmysqlStaticProxy@NativeAPI @mysql@sql@@UAEPAUst_mysql_field@@PAUst_mysql_res@ @I@Z) C:\mysql-connector-c++-1.1.3\driver\mysql_client_api.obj
Error 40 error LNK2019: unresolved external symbol _mysql_field_count@4 referenced in function "public: virtual unsigned int __thiscall sql::mysql::NativeAPI::LibmysqlStaticProxy::field_ count(struct st_mysql *)" (?field_count@LibmysqlStaticProxy@NativeAPI@mysql@ sql@@UAEIPAUst_mysql@@@Z) C:\mysql-connector-c++-1.1.3\driver\mysql_client_api.obj
 
Zurück