dbTalk Databases Forums  

Compiling error in 1.7.31

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Compiling error in 1.7.31 in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chris Gagnon
 
Posts: n/a

Default Compiling error in 1.7.31 - 03-09-2005 , 04:37 PM






------=_NextPart_000_0000_01C524CE.964F9CF0
Content-Type: text/plain;
charset="windows-1250"
Content-Transfer-Encoding: quoted-printable

To attempt to deal with library compatibility issues I=92m upgraded my =
version
of the mysql++ library to 1.7.31 and have made the namespace changes and
such that needd to be done, but I still get the somilation error listed
below.

=20

Im using FreeBSD and have used the port to install this library, with =
seem
to work without problems.

=20

chris@freebsd1:~/programs/EOSServer$ gmake

g++ -g -Dlinux -D_FIX_FOR_BSD_ -I/usr/home/chris/programs/raknet/Source
-I/usr/include -I/usr/local/include/mysql++ -I/usr/local/include/mysql =
-c
EOSServer.cpp

In file included from /usr/local/include/mysql++/row.h:6,

from /usr/local/include/mysql++/compare.h:4,

from /usr/local/include/mysql++/mysql++.h:6,

from EOSServer.h:22,

from EOSServer.cpp:7:

/usr/local/include/mysql++/resiter.h:55: no class template named =
`iterator'
in `std'

gmake: *** [EOSServer.o] Error 1

chris@freebsd1:~/programs/EOSServer$

=20

Any Help would be appreaciated,

Thanks Chris


--=20
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.1 - Release Date: 3/9/2005
=20

------=_NextPart_000_0000_01C524CE.964F9CF0--


Reply With Quote
  #2  
Old   
Chris Frey
 
Posts: n/a

Default Re: Compiling error in 1.7.31 - 03-09-2005 , 04:51 PM






On Wed, Mar 09, 2005 at 05:36:54PM -0500, Chris Gagnon wrote:
Quote:
/usr/local/include/mysql++/resiter.h:55: no class template named `iterator'
in `std'

gmake: *** [EOSServer.o] Error 1
You asked this question before and Warren responded. :-)
What version compiler and standard libraries are you using?

You may also want to grep the headers of your C++ installation and see where
'iterator' is. Mine is in:

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator_base_types.h

- Chris


--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #3  
Old   
Chris Gagnon
 
Posts: n/a

Default RE: Compiling error in 1.7.31 - 03-09-2005 , 10:21 PM



Thanks for the help,

This was completely my fault though, as I had upgraded to gcc 3.4 but forgot
to change the environment to use the gcc34 compiler and hence use the system
compiler causing the issues.

Chris

-----Original Message-----
From: Chris Frey [mailto:cdfrey (AT) netdirect (DOT) ca]
Sent: Wednesday, March 09, 2005 5:49 PM
To: plusplus (AT) lists (DOT) mysql.com
Subject: Re: Compiling error in 1.7.31

On Wed, Mar 09, 2005 at 05:36:54PM -0500, Chris Gagnon wrote:
Quote:
/usr/local/include/mysql++/resiter.h:55: no class template named
`iterator'
in `std'

gmake: *** [EOSServer.o] Error 1
You asked this question before and Warren responded. :-)
What version compiler and standard libraries are you using?

You may also want to grep the headers of your C++ installation and see where
'iterator' is. Mine is in:

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/bits/stl_iterator_ba
se_types.h

- Chris


--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsu...gers (DOT) com

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.1 - Release Date: 3/9/2005


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.1 - Release Date: 3/9/2005



--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.