MySQL Forums
Forum List  »  Source, Builds, Binaries

Compilation of sql connector c++ fail:
Posted by: Cédric BELARDE
Date: November 02, 2013 11:31PM

Hi,

I encounter a problem to compile there sources of sql connector c++.
I downloaded there sources ofmysql-connector-c++-1.1.3, i used cmake to configure the project to visual studio 2012.
When i compile the project in visual studio 2012 (generate solution), all the projects compile without problem except:
__ mysqlcppconn
__ test_art_resultset
__ static_test

I think that test_art_resulset and static_test fail because mysqlcppconn fails.
I don't know why mysqlcppconn fails. There have a problem in mysql_client_api.obj file.
For example, here it a copy paste of the first fail (on 58):
Number of error: Erreur 1
Error: error LNK2019: unresolved external symbol _mysql_server_init@12 referenced in function "public: virtual int __thiscall sql::mysql::NativeAPI::LibmysqlStaticProxy::library_init(int,char * *,char * *)" (?library_init@LibmysqlStaticProxy@NativeAPI@mysql@sql@@UAEHHPAPAD0@Z)
File: D:\Download (D)\mysql-connector-c++-1.1.3\build\driver\mysql_client_api.obj
Project: mysqlcppconn

Can you help me plz,

Evorlde.



Edited 2 time(s). Last edit at 11/02/2013 11:33PM by Cédric BELARDE.

Options: ReplyQuote


Subject
Views
Written By
Posted
Compilation of sql connector c++ fail:
3408
November 02, 2013 11:31PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.