15 messages in com.mysql.lists.plusplusRe: MySQL++ with MinGW
FromSent OnAttachments
Daniel09 Sep 2004 16:41 
Warren Young10 Sep 2004 10:15 
Warren Young10 Sep 2004 12:11 
Zahroof Mohamed10 Sep 2004 13:37 
Warren Young10 Sep 2004 14:35 
Daniel10 Sep 2004 17:31 
Thomas Werth13 Sep 2004 00:28 
Zahroof Mohamed13 Sep 2004 06:40 
Warren Young13 Sep 2004 10:29 
Warren Young13 Sep 2004 12:22 
Daniel13 Sep 2004 14:01 
Warren Young13 Sep 2004 14:20 
Daniel13 Sep 2004 15:00 
Warren Young13 Sep 2004 15:08 
Warren Young14 Sep 2004 15:41 
Subject:Re: MySQL++ with MinGW
From:Warren Young (mysq@etr-usa.com)
Date:09/10/2004 12:11:46 PM
List:com.mysql.lists.plusplus

Zahroof Mohamed wrote:

I'm not sure how to post a new topic on the mail list

Send mail to the mailing list address. See the message you received on subscribing for instructions.

The problem appears during the linking process with the mysqlclient.lib or libmysql.lib.

I doubt MinGW supports Microsoft library format files. Are you sure it doesn't require .a or .so format files?

I created a static library using the header and source files from MySQL++ - libmysqlpp.a .

Did you use the package's Makefiles for this, or did you cook something up yourself?

warning: ignoring #pragma warning

This is harmless.

C:\ZApps\MinGWStudio\MinGW\include\c++\3.3.1\bits\stl_uninitialized.h: undefined reference to `mysql_num_fields@4'

This suggests that you're linking against the wrong mysqlclient library. That's not a MySQL++ issue. Have you searched on the C-related mailing lists?

I suggest getting a simple C API program building with MySQL before moving on to MySQL++.