List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:July 5 2007 11:47pm
Subject:Re: Building the mysql++ Library Using MinGW
View as plain text  
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

Thread
Building the mysql++ Library Using MinGWMatthew Shea3 Jul
  • RE: Building the mysql++ Library Using MinGWJoel Fielder3 Jul
  • Re: Building the mysql++ Library Using MinGWWarren Young3 Jul
RE: Building the mysql++ Library Using MinGWJoel Fielder5 Jul
Re: Building the mysql++ Library Using MinGWWarren Young6 Jul