On Sun, 2004-04-04 at 18:14, Andy Ross wrote: > Tony Peden wrote: > > I'm running RH9 and have found the need to add > > #include FG_GLUT_H > > > > to > > src/ATC/ATCdisplay.cxx > > src/Cockpit/cockpit.cxx > > src/Cockpit/panel.cxx > > It sounds like you're missing something from the recent glut changes. > The glut.h header should not be included from *anywhere* in the > general source code anymore. Can you be sure to do a complete cvs > update and post the errors you get?
OK, I did the cvs up -dPA and made sure my patched files were out of the way. I still get: source='ATCdisplay.cxx' object='ATCdisplay.o' libtool=no \ depfile='.deps/ATCdisplay.Po' tmpdepfile='.deps/ATCdisplay.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/usr/X11R6/include -g -O2 -D_REENTRANT -c -o ATCdisplay.o `test -f 'ATCdisplay.cxx' || echo './'`ATCdisplay.cxx ATCdisplay.cxx: In member function `virtual void FGATCDisplay::update(double)': ATCdisplay.cxx:75: `gluOrtho2D' undeclared (first use this function) ATCdisplay.cxx:75: (Each undeclared identifier is reported only once for each function it appears in.) make[2]: *** [ATCdisplay.o] Error 1 I presume the files in src/Cockpit will do the same thing. > > Andy > > _______________________________________________ > Flightgear-devel mailing list > [EMAIL PROTECTED] > http://mail.flightgear.org/mailman/listinfo/flightgear-devel -- Tony Peden <[EMAIL PROTECTED]> _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
