From: Bruce S. <bas...@un...> - 2003-02-13 19:07:50
|
Kevin Cole reported this: In my case, I had to change cvisual/CXX/CXX_Config.h, as suggested by the README.htm in that directory -- though I was a bit surprised, considering the date mentioned: ================================================================ Version 3 (June 18, 1999) 1. CXX compiles with EGCS snapshot 19990616. EGCS requires a standard library class random_access_iterator that is not yet available in some other compilers (such as Windows VC6). Therefore a new switch: STANDARD_LIBRARY_HAS_ITERATOR_TRAITS has been added to CXX_Config.h that you may need to toggle if you get an error on the two lines that mention random_access_iterator. The current definition is correct for VC6 and EGCS-19990616. ================================================================ Andy Dougherty added this: The following comments about random_access_iterator from the stl_iterator documentatino on my Debian system (libstdc++2.10-dev) might help clear up the confusion: Defined in the standard header iterator, and in the nonstandard backward-compatibility header iterator.h. This class is no longer part of the C++ standard, although it was present in early drafts of the standard. It is retained in this implementation for backward compatibility. ----- Original Message ----- From: "Hans Fangohr" <H.F...@so...> To: <vis...@li...> Sent: Thursday, February 13, 2003 1:16 PM Subject: [Visualpython-users] compiling vpython with gcc 3.2 (linux) > Greetings, > > I tried to compile vpython on a SuSE 8.1 system with gcc3.2. > > Here is the error I encounter - is this a gcc3-issue, or some other > known problem? > > :~/build/VPython/cvisual # make > g++ -I. -I./CXX/Include -I/usr/include/python2.2 -I/usr/include/gtk-1.2 -I/ usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/inclu de -w -c -o arrow.o arrow.cpp > In file included from pvector.h:6, > from cvisual.h:6, > from display.h:5, > from prim.h:5, > from axial.h:5, > from arrow.cpp:1: > CXX/Include/CXX_Objects.h:967: no class template named `random_access_iterator' > in `std' > CXX/Include/CXX_Objects.h:1077: no class template named `random_access_iterator > ' in `std' > make: *** [arrow.o] Error 1 > > Thanks, > > Hans > > > > For completeness, the output of "gcc -v": > > :~/build/VPython/cvisual # gcc -v > Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.2/specs > Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/l ocal --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --e nable-languages=c,c++,f77,objc,java,ada --enable-libgcj --with-gxx-include-d ir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared - -enable-__cxa_atexit i486-suse-linux > Thread model: posix > gcc version 3.2 > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: FREE SSL Guide from Thawte > are you planning your Web Server Security? Click here to get a FREE > Thawte SSL guide and find the answers to all your SSL security issues. > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |