I had not updated my copy of the code base for a few weeks, so I grabbed the CVS for 
plib, SimGear and FlightGear yesterday, and found that Flightgear would not build. 

This is on cygwin, which I updated to the latest version yesterday, but still on gcc 
version 2.95.3-10 (cygwin special).

I have done a complete rebuild and reinstall of plib, and SimGear, but compiling 
FlightGear fails:

make[3]: Entering directory `/home/Administrator/FGFS/CVS/FlightGear/build/src/Cockpit'
source='../../../src/Cockpit/cockpit.cxx' object='cockpit.o' libtool=no \
depfile='.deps/cockpit.Po' tmpdepfile='.deps/cockpit.TPo' \
depmode=gcc /bin/bash ../../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I../../../src/Cockpit -I../../src/Include -I../../.. 
-I../../../src  -I/usr/local/include  -O1 -fno-inline
-c -o cockpit.o `test -f '../../../src/Cockpit/cockpit.cxx' || echo 
'../../../src/Cockpit/'`../../../src/Cockpit/cockpit.cxx
In file included from ../../../src/Cockpit/cockpit.hxx:35,
                 from ../../../src/Cockpit/cockpit.cxx:54:
../../../src/Cockpit/hud.hxx: In method `void fgLineList::draw()':
../../../src/Cockpit/hud.hxx:380: implicit declaration of function `int for_each(...)'
make[3]: *** [cockpit.o] Error 1
make[3]: Leaving directory `/home/Administrator/FGFS/CVS/FlightGear/build/src/Cockpit'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Administrator/FGFS/CVS/FlightGear/build/src/Cockpit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Administrator/FGFS/CVS/FlightGear/build/src'
make: *** [all-recursive] Error 1

The only other reference to for_each() in the FlightGear code is in Main/fg_io.cxx, 
where is has a "SG_USING_STD(for_each);" before it. I have tried blindly putting this 
in hud.cxx, but to no avail.

Any ideas?

Richard Bytheway

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to