[Visual Studio 2010] Problems linking the static library "mysqlclient.lib"
Posted by: Villefranque Clément
Date: August 30, 2012 09:26AM

Hello everyone,

I am developping an application with Visual Studio C++ 2010 Express, and I need to link the MySQL library as static if possible (I don't know anything on the future user's server).

So, I've linked mysqlclient.lib to my project, and SQLAPI++ if some you guys knows this API.

I have no compiler errors, everything's nice, but when I launch my application on the server (Virtual Machine atm), I get a message telling me that libmySQL.dll can't be found on the server.

But if I'm right, mysqlclient.lib is the static library and then doesn't need the libmysql.dll file on the server?

Options: ReplyQuote

Written By
[Visual Studio 2010] Problems linking the static library "mysqlclient.lib"
August 30, 2012 09:26AM

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.