5 messages in com.mysql.lists.plusplusRE: mysql++ for mingw| From | Sent On | Attachments |
|---|---|---|
| Andrade, Rodrigo | 27 Apr 2004 12:17 | |
| Tom Riggs | 28 Apr 2004 10:06 | |
| Andrew Zhu | 28 Apr 2004 11:18 | |
| Tom Riggs | 29 Apr 2004 06:15 | |
| Tom Riggs | 30 Apr 2004 14:31 |
| Subject: | RE: mysql++ for mingw![]() |
|---|---|
| From: | Tom Riggs (to...@bccks.com) |
| Date: | 04/28/2004 10:06:55 AM |
| List: | com.mysql.lists.plusplus |
I have been trying to get the examples up and running using the same IDE. So far I have downloaded the 1.7.9 for Borland c++ and after correcting the includes in the headers I can get it to compile but now I get linker errors with undefined reference etc etc...
I see that others have had the same problem and the lib files need to be included in the project. Well I found the lib file libsqlplus.a but since it was created with the Borland compiler the linker does not recognize it.
I think that if I could figure out how to create library file with this IDE It would complete linking and compile.
Any Ideas?
Tom Riggs.
-----Original Message----- From: Andrade, Rodrigo [mailto:Rodr...@Arvinmeritor.com] Sent: Tuesday, April 27, 2004 2:18 PM To: 'plus...@lists.mysql.com' Subject: Re: mysql++ for mingw
Hi people.
I've been watching this thread for some time because I'm having the same problem with libmysqlclient.a when I try to compile MySQL++ version 1.7.9 with MingW.
What I saw is that the information on this thread is a bit little confusing; maybe for this reason Mr. Sinisa didn't understand what is our real problem, and was unable go gave us a solution. So, I will try to be very clear.
First of all, I think that most people are using MingW because they want (like me) to use Dev-Cpp which is a very good IDE (IMHO), otherwise, why not
to use the cygwin distribution along with the MingW headers? But the real problem isn't with the compiler itself. The problem we're facing is with the configure script that we use to generate the make files. The compiling/linking process didn't even started yet.
The problem we're having with the configure script is that the script is looking for a file, - the 'libmysqlclient.a' - and since it can't find it, the script is being aborted. We can look at line 1585 of the script that is distributed with MySQL++ 1.7.9 and notice the it is looking for the file 'libmysqlclient.so' (for UNIX environments) *OR* 'libmysqlclient.a' (for windows envs.)
So, how do we get this file in order to full fill the needs of the configure script? Is it necessary to compile the entire MySQL Project by ourselves (even if we have to do it with cygwin) in order to get this file? Is there any other (easier) way?
I don't know, but is it possible for the MySQL team add this file along with the program binaries, since they already have it when they compile the binary distribution? Is it possible to execute the configure script and/or compile MySQL++ 1.7.9 without this file?
Thank you very much for all your time and attention.
Rodrigo. Brazil.
-----------------------------------
As I said, I can not help you much with MingW, as I never used it.
Regarding the above library, you should make sure that you use correct include files with it.
Also, latest MySQL++ is still 1.7.9
--
Sincerely,
-- For technical support contracts, go to https://order.mysql.com/?ref=msmi __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <sin...@mysql.com> / /|_/ / // /\ \/ /_/ / /__ MySQL AB /_/ /_/\_, /___/\___\_\___/ Full time Developer and Support Coordinator <___/ www.mysql.com Larnaca, Cyprus
Meet the MySQL at User Conference ! (April 14-16, 2004) <http://www.mysql.com/uc2004/>
-----------------------
Andrew Zhu wrote:
I noticed that the webpage of johnydog is gone for quite some time. I have a copy of libmysqlclient which I obtained from that webpage for free. I was not aware of what the license or permission was. so I don't know for sure I can post it here. Also I noticed that there are a lot of question and answer from johnydog in mysql archive list, you may get hint how he made this library. I would like to do it but apparently I am tied with my other works currently and I could take a hand on this build after this summer. I suggested here that if someone wants to build this library, I would suggestion to use the latest version of mysql and mingw. (the version I have is 1.7.1, 1.0.8).
Good luck.
-- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=to...@bccks.com




