From: Warren Young Date: July 5 2007 11:47pm Subject: Re: Building the mysql++ Library Using MinGW List-Archive: http://lists.mysql.com/plusplus/6738 Message-Id: <468D8302.7020200@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Matthew Shea wrote: > it's still not working. ... > ld.exe: cannot find -lmysqlclient libmysqlclient is the MySQL C API library. Quoting from README.mingw: > Prerequisite: Create Import Library > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Before you can build MySQL++ with MinGW, you will need to > create a MinGW-compatible import library for MySQL's C API > library. Using the current default install path for MySQL and > assuming MySQL++ is in c:\mysql++, the commands to do this are: > > cd C:\Program Files\MySQL\MySQL Server 5.0\lib\opt > dlltool -k -d c:\mysql++\libmysqlclient.def -l libmysqlclient.a