I think it's the problem of GCC31 because I used to be able to compile it=20
under GCC3.0.4. It looks like `random_access_iterator' is an extension unde=
r=20
GCC31, not in a standard header. That's why it is declared in=20
"/usr/include/g++-v31/ext/iterator" and=20
"/usr/include/g++-v31/backward/iterator.h", but is not declared
in "/usr/include/g++-v31/iterator".
The problem is that I don't know how to tell GCC31 to use extended header=20
files instead of standard header files when compiling.
Toan
On Thursday 08 August 2002 02:10 pm, you wrote:
> Hi again -
> thinking about it another question:
>
> The compiler failure could be a specialty of the Linux distribution I
> use - or an "interference" with the AMD Athlon processor.
> I've got an Athlon 650MHz, you seem to have an Athlon XP - according the
> compiler options in your screendump?!
>
> Am Mon, 2002-08-05 um 06.40 schrieb Nguyen The Toan:
> > Hi all, I get the following error compiling VPython:
> >
> > g++ -O3 -march=3Dathlon-xp -falign-functions=3D4 -funroll-loops
> > -fomit-frame-pointer -I. -I./CXX/Include -I/usr/local/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/include -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:968: no class template named
> > `random_access_iterator' in `std'
> > CXX/Include/CXX_Objects.h:1078: no class template named
> > `random_access_iterator' in `std'
> >
> >
> > I search /usr/include and found out that 'random_access_iterator' is
> > define in /usr/include/g++-v31/ext/iterator,
> > /usr/include/g++-v31/backward/iterator.h However, #include them directly
> > in cvisual/CXX/Include/CXX_Objects.h doesn't help. Any idea what should=
I
> > do?
> >
> > Thanks.
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Visualpython-users mailing list
> > Vis...@li...
> > https://lists.sourceforge.net/lists/listinfo/visualpython-users
|