MySQL Forums
Forum List  »  Connector/C++

Re: Need help connecting my C++ program to my server.
Posted by: Ulf Wendel
Date: August 28, 2009 12:17PM

You need to have the MySQL Client Library on your system. It ships with the MySQL Server. When installing the MySQL Server on Windows using a GUI Installer make sure that you also install the Client Library.

Once it is installed to a standard location, CMake should find it. If not, check the output of cmake -L and cmake -LH. You will see that you can set some path and other flags. One is for the path to the MySQL Client Library. Use "cmake -D<option>:<type>=value ." to set the flag and try again. Make sure that the cmake cache - CMakeCache.txt - does not fool you.

Ulf

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Need help connecting my C++ program to my server.
2912
August 28, 2009 12:17PM


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.