15 messages in com.mysql.lists.plusplusRe: MySQL++ with MinGW| From | Sent On | Attachments |
|---|---|---|
| Daniel | 09 Sep 2004 16:41 | |
| Warren Young | 10 Sep 2004 10:15 | |
| Warren Young | 10 Sep 2004 12:11 | |
| Zahroof Mohamed | 10 Sep 2004 13:37 | |
| Warren Young | 10 Sep 2004 14:35 | |
| Daniel | 10 Sep 2004 17:31 | |
| Thomas Werth | 13 Sep 2004 00:28 | |
| Zahroof Mohamed | 13 Sep 2004 06:40 | |
| Warren Young | 13 Sep 2004 10:29 | |
| Warren Young | 13 Sep 2004 12:22 | |
| Daniel | 13 Sep 2004 14:01 | |
| Warren Young | 13 Sep 2004 14:20 | |
| Daniel | 13 Sep 2004 15:00 | |
| Warren Young | 13 Sep 2004 15:08 | |
| Warren Young | 14 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++.




