[Flightgear-devel] FG compile problem: error: 'osg' has not been declared
George Patterson posted this same error Nov. 1, but I did not see any response or suggestion as to what was wrong. I updated plib, simgear and fgfs source from cvs last Monday and downloaded the osg flightgear tar and followed the README.txt directions. Compiled plib, then the three packages in the tar and then simgear all OK.. But the fgfs compile produced the following error: Making all in Airports make[2]: Entering directory `/usr/local/FlightGear-0.9/source/src/Airports' if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/usr/local/include -I/opt/OSG/include -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: expected ‘;’ before ‘’ token ../../src/AIModel/AIBase.hxx:176: error: ‘osg’ has not been declared ../../src/AIModel/AIBase.hxx:176: error: expected ‘;’ before ‘*’ token make[2]: *** [groundnetwork.o] Error 1 make[2]: Leaving directory `/usr/local/FlightGear-0.9/source/src/Airports' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/FlightGear-0.9/source/src' make: *** [all-recursive] Error 1 Did I miss a fix? -- Dave Perry [EMAIL PROTECTED] - 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=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] FG compile problem: error: 'osg' has not been declared (??)
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=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel