Hi Gerald Thanks that solved the problem.
Tristan On Wed, 2006-06-14 at 08:28 -0400, Gerald McMillen wrote: > Tristan, > > Comment out that line... to me, it makes no sense as it is actually > calling itself. Well, that's what it appears to be doing! > > Also, on SuSE 10.0, the FLTK package that comes with SuSE 10.0 is > installed into the Xorg/X11 directories and I had to add some include > directories and library search directories. > > This is my previous post: > > I compiled the latest HEAD checked out on 2006-06-09 08:30, and had to > make the following changes to compile on SuSE 10.0: > > src/Gui/GNUmakefile - Added "-I/usr/X11R6/include" and > "-L/usr/X11R6/lib" for the X11 directories for the FLTK that can be > installed via YAST. > > src/osgEphemerisLib/Shmem.cpp - Line ~106, commented out > "::Shmem::delete( data ); //correct?". It looks like a delete is > trying to be done on a void, which my compiler says isn't right! :) > Also, that code looks like it would call itself. I didn't take any time > to figure out what was actually trying to be done. > > Gerald > > > Gerald McMillen > > > > > Tristan McMillan wrote: > > >Hi > > > >I'm having a problem building OSGEphemeris. I am using Linux, Fedora > >Core 4 and it keeps bombing out during the 'make' phase. The error seems > >to suggest a syntax error but it seems correct to me. > > > > The error it gives is shown below: > > > >g++ -I../../..//include -Wall -O2 -c ../Shmem.cpp > >../Shmem.cpp: In static member function ‘static void Shmem::operator > >delete(void*, const std::string&)’: > >../Shmem.cpp:106: error: expected unqualified-id before ‘delete’ > >../Shmem.cpp:106: error: expected `;' before ‘delete’ > >make[3]: *** [Shmem.o] Error 1 > >make[3]: Leaving directory > >`/home/tmcmillan/osgEphemeris/src/osgEphemerisLib/Linux32.Opt' > >make[2]: *** [libosgEphemeris.so.opt] Error 2 > >make[2]: Leaving directory > >`/home/tmcmillan/osgEphemeris/src/osgEphemerisLib' > >make[1]: *** [default] Error 1 > >make[1]: Leaving directory `/home/tmcmillan/osgEphemeris/src' > >make: *** [default] Error 1 > > > >If anyone has any suggestions, it would be most appreciated. > > > >Thanks > >Tristan > > > >_______________________________________________ > >osg-users mailing list > >[email protected] > >http://openscenegraph.net/mailman/listinfo/osg-users > >http://www.openscenegraph.org/ > > > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > > _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
