Hi Guys, I have hit a porblem whcih I believe is connected with the new
OSG library.

OSG and Simgear seemed to have compiled and installed correctly.

While attempting to compile FlightGear i got the error shown below but
not sure how to solve it.

This is from an AMD64 system otherwise nothing special.

Thanks


George

Compiling Flightgear


make[2]: Entering directory
`/home/gpatterson/projects/flightgear/compiles/FlightGear/src/Airports'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src
-I/usr/local/include  -g -O2 -D_REENTRANT -MT apt_loader.o -MD -MP -MF
".deps/apt_loader.Tpo" -c -o apt_loader.o apt_loader.cxx; \
        then mv -f ".deps/apt_loader.Tpo" ".deps/apt_loader.Po"; else rm
-f ".deps/apt_loader.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src
-I/usr/local/include  -g -O2 -D_REENTRANT -MT runways.o -MD -MP -MF
".deps/runways.Tpo" -c -o runways.o runways.cxx; \
        then mv -f ".deps/runways.Tpo" ".deps/runways.Po"; else rm -f
".deps/runways.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src
-I/usr/local/include  -g -O2 -D_REENTRANT -MT simple.o -MD -MP -MF
".deps/simple.Tpo" -c -o simple.o simple.cxx; \
        then mv -f ".deps/simple.Tpo" ".deps/simple.Po"; else rm -f
".deps/simple.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src
-I/usr/local/include  -g -O2 -D_REENTRANT -MT runwayprefs.o -MD -MP -MF
".deps/runwayprefs.Tpo" -c -o runwayprefs.o runwayprefs.cxx; \
        then mv -f ".deps/runwayprefs.Tpo" ".deps/runwayprefs.Po"; else
rm -f ".deps/runwayprefs.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src
-I/usr/local/include  -g -O2 -D_REENTRANT -MT parking.o -MD -MP -MF
".deps/parking.Tpo" -c -o parking.o parking.cxx; \
        then mv -f ".deps/parking.Tpo" ".deps/parking.Po"; else rm -f
".deps/parking.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src
-I/usr/local/include  -g -O2 -D_REENTRANT -MT groundnetwork.o -MD -MP
-MF ".deps/groundnetwork.Tpo" -c -o groundnetwork.o groundnetwork.cxx; \
        then mv -f ".deps/groundnetwork.Tpo" ".deps/groundnetwork.Po";
else rm -f ".deps/groundnetwork.Tpo"; exit 1; fi
../../src/AIModel/AIBase.hxx:121: error: 'osg' has not been declared
../../src/AIModel/AIBase.hxx:121: error: ISO C++ forbids declaration of
'ref_ptr' with no type
../../src/AIModel/AIBase.hxx:121: error: expected ';' before '<' token
../../src/AIModel/AIBase.hxx:176: error: 'osg' has not been declared
../../src/AIModel/AIBase.hxx:176: error: ISO C++ forbids declaration of
'Node' with no type
../../src/AIModel/AIBase.hxx:176: error: expected ';' before '*' token
make[2]: *** [groundnetwork.o] Error 1



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to