6 messages in com.mysql.lists.plusplusRe: mysql++ and conflicts with other ...| From | Sent On | Attachments |
|---|---|---|
| Michael Preminger | 25 Jun 2002 05:41 | |
| Michael Preminger | 25 Jun 2002 06:24 | |
| Michael Preminger | 26 Jun 2002 00:31 | |
| Michael Preminger | 26 Jun 2002 02:43 | |
| Michael Preminger | 26 Jun 2002 02:47 | |
| Michael Preminger | 26 Jun 2002 03:54 |
| Subject: | Re: mysql++ and conflicts with other libraries![]() |
|---|---|
| From: | Michael Preminger (mich...@jbi.hio.no) |
| Date: | 06/26/2002 03:54:41 AM |
| List: | com.mysql.lists.plusplus |
On Wed, 26 Jun 2002 12:08:35 +0200 Poizot Emmanuel <poi...@cnam.fr> wrote:
Le Mercredi 26 Juin 2002 11:43, vous avez écrit :
I should be interest in how you compile MySQL++ code with g++ 2.96, because I still can't. If I only include sqlplus.hh (without made any call to a function), I got mountains of errors back from the compiler. Thanks
you mean code that uses the package. Then You can try: g++ -L/usr/lib/mysql -lsqlplus -lz -lmysqlclient which depends on where the /lib/mysql is on your system.
On Wed, 26 Jun 2002 10:59:24 +0200
Poizot Emmanuel <poi...@cnam.fr> wrote:
I'am also in the same case. I found in documentation that g++ 2.96 is not working with MySQL.
Well, it does. I managed (with a little help from Antonius, thanks) to create a table, but Im still not able to handle exceptions coming from the database. This Ill solve, I guess.
My problem was namespace conflicts with another libraries.
I also heard 2.96 has bugs, but I hope it will not affect this.
Michael
download a patch of MySQL++ that is able normally to use g++ 3.* compilers versions. I download after the last version of gcc-g++ compiler (3.1). But as I said in a previous message, I don't know, for instance, how to patch MySQL++.
-- Cordialement. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Emmanuel POIZOT CNAM/INTECHMER B.P. 324 50103 Cherbourg Cedex Tèl : 33 (0)2 33 88 73 42 Fax : 33 (0)2 33 88 73 39 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- Cordialement. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Emmanuel POIZOT CNAM/INTECHMER B.P. 324 50103 Cherbourg Cedex Tèl : 33 (0)2 33 88 73 42 Fax : 33 (0)2 33 88 73 39 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- Michael Preminger <mich...@jbi.hio.no>




