Whoops, sorry about the subject line...
> Date: Mon, 10 Feb 2003 15:48:57 -0500
> From: Joe Heafner <hea...@vn...>
> To: Vis...@li...
> Subject: [Visualpython-users] compile error under OS 10.2
>
> I'm relaying this from William Scott at UCSC:
>
> > Well, I got ghtlarea installed with fink, and I already had numeric
> > installed with fink, so next I went to the directory
> > called ../VPython/cvisual
> >
> > and, following what is being done in the install file, I manually
> > issued make:
> >
> > The next problem that arose is this: (% is my tcsh prompt).
> >
> > % cp Makefile.MacOSX Makefile
> >
> > % make
> > cc -g -I. -I./CXX/Include -I/sw//include/python2.2
> > -I/sw//include/python2.2/Numeric -I/sw/include/gtk-1.2
> > -I/sw/include/glib-1.2 -I/sw/lib/glib/include -D_REENTRANT
> > -I/usr/X11R6/include
> > -I/System/Library/Frameworks/OpenGL.framework/Headers
> > -I/sw//include/glib-1.2 -I/sw//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: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
> > %
> >
> Any ideas as to how to deal with this?
I read this thread, or a similar one, on the Apple website.
Try this:
================================================================
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.
================================================================
On line 5 of CXX_Config.h, switch to 0 vice 1.
Where does your STL come from on Mac? What compiler is the standard for OS
X.n? I am considering ways to fix the current method of determining system
dependencies with VPython, and your input will be appreciated.
-Jonathan
|