On Sat, 2002-01-05 at 14:29, Ross Golder wrote: > Guys, > > Flightgear does NOT build cleanly from CVS! (setup: RedHat Linux 7.2, > with MesaLib 4.0.1) > ... > > $ make > ... > g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src > -I/usr/local/include -I/usr/X11R6/include -g -O2 -c gui.cxx > gui.cxx: In function `void helpCb (puObject *)': > gui.cxx:452: `global_fullscreen' undeclared (first use this function) > gui.cxx:452: (Each undeclared identifier is reported only once for each > function it appears in.) > make[2]: *** [gui.o] Error 1 > > Doesn't anyone else get this?
Yes, I got it with the latest update, although it's the first time I've seen it. There's a comment int he CVS log (cvs log gui.cxx) about removing the include of option.cxx; I put it back in and gui.cxx builds. > OK, so I add '#include <Main/options.hxx>' to src/GUI/gui.cxx, and carry > on... Yup. > > $ make > ... > g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src > -I/usr/local/include -I/usr/X11R6/include > -DPKGLIBDIR=\"/usr/local/lib/FlightGear\" -g -O2 -c fg_io.cxx > fg_io.cxx: In function `void fgIOProcess ()': > fg_io.cxx:285: warning: passing `double' for argument 1 of > `FGProtocol::dec_count_down (int)' > g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src > -I/usr/local/include -I/usr/X11R6/include > -DPKGLIBDIR=\"/usr/local/lib/FlightGear\" -g -O2 -c fg_props.cxx > fg_props.cxx: In function `bool getFullScreen ()': > fg_props.cxx:1060: `global_fullscreen' undeclared (first use this > function) > fg_props.cxx:1060: (Each undeclared identifier is reported only once > for each function it appears in.) > make[2]: *** [fg_props.o] Error 1 > > Same again! So I add '#include "options.hxx"' to src/Main/fg_props.cxx, > and carry on... Yup. I'm running Red Hat 7.1, Mesa 4. I've got simgear from CVS and plib 1.4.2. I'm building with gcc 2.95.3 on a P4. FWIW, the edits are small an once made CVS does not remove them with updates. There was a patch about 3 weeks ago that concerned global_fullscreen, but I forget the details. Is there any reason not to commit these changes to Gui/gui.cxx and Main/fg_props.cxx? James -- __________________________________________________________________________ James Gallagher The Distributed Oceanographic Data System [EMAIL PROTECTED] http://unidata.ucar.edu/packages/dods Voice: 775.337.8612 Fax: 775.337.2105 _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel