Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Building the mysql++ Library Using MinGW

From: Warren Young <mysqlpp(at)etr-usa.com>
Date: Thu Jul 05 2007 - 19:47:14 EDT


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

-- 
MySQL++ Mailing List
For list archives: 
http://lists.mysql.com/plusplus
To unsubscribe:    
http://lists.mysql.com/plusplus?unsub=lists@pantek.com
Received on Thu Jul 5 19:49:46 2007

This archive was generated by hypermail 2.1.8 : Fri Jul 06 2007 - 21:25:57 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library