I have not been able to compile the CVS version of FlightGear on Cygwin (W2K) since 
before 0.9

I have just tried wiping cygwin and starting again, still to no avail.

plib (cvs snapshot tarball from 2/1/03), metakit (2.4.3 from SimGear 0.3.1) and 
SimGear (0.3.1) all compile and install as expected.

However when compiling FlightGear (cvs snapshot tarball from 2/1/03), I think 
something is really messed up because I have to export CPPFLAGS="-I/usr/local/include" 
and LDFLAGS="-L/usr/local/lib" to get configure past the Metakit check, and then the 
compile dies on src/ATC/ground.cxx with the following:

        if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src  
-I/usr/local/include \
          -g -O2 -MT ground.o -MD -MP -MF ".deps/ground.Tpo" \
          -c -o ground.o `test -f 'ground.cxx' || echo './'`ground.cxx; \
        then mv ".deps/ground.Tpo" ".deps/ground.Po"; \
        else rm -f ".deps/ground.Tpo"; exit 1; \
        fi
        cc1plus: warning: changing search order for system directory 
"/usr/local/include"
        cc1plus: warning:   as it has already been specified as a non-system directory
        ground.cxx: In member function `bool FGGround::LoadNetwork()':
        ground.cxx:92: `cout' undeclared (first use this function)
        ground.cxx:92: (Each undeclared identifier is reported only once for each
           function it appears in.)
        make[2]: *** [ground.o] Error 1
        make[2]: Leaving directory `/home/FGFS/FlightGear/src/ATC'
        make[1]: *** [all-recursive] Error 1
        make[1]: Leaving directory `/home/FGFS/FlightGear/src'
        make: *** [all-recursive] Error 1

Even I know that cout should be found with relative ease by g++.

gcc -v gives:
$ gcc -v
        Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs
        Configured with: /netrel/src/gcc-3.2-3/configure 
--enable-languages=c,c++,f77,java 
        --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls 
--without-included-gettext 
        --enable-interpreter --disable-sjlj-exceptions 
--disable-version-specific-runtime-libs 
        --enable-shared --build=i686-pc-linux --host=i686-pc-cygwin 
--target=i686-pc-cygwin --enable-haifa 
        --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib 
        --includedir=/nonexistent/include --libexecdir=/usr/sbin
        Thread model: posix
        gcc version 3.2 20020927 (prerelease)

Any ideas?

Richard

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

Reply via email to