Hi all just recently tried to update my local cvs copy of Simgear and FG etc and when building Simgear fails with errors like osg not declared and more.
Here is a copy of my build script see if anyone can shed any light please .. #!/bin/sh # update Flightgear from cvs then build and install packages # update simgear echo echo "updating Simgear" echo cd /files/flightgear/simgear-cvs/source cvs update -d -P make make install # Update Flightgear echo echo "Updating Flightgear" echo cd /files/flightgear/flightgear-cvs/source cvs update -d -P cd /files/flightgear/flightgear-cvs/data cvs update -d -P cp -R * /opt/flightgear/share/FlightGear/ cd /files/flightgear/flightgear-cvs/source ./configure --prefix=/opt/flightgear # --enable-sdl make make install cd /opt/flightgear/share/FlightGear cp -f joysticks-jms.xml joysticks.xml echo "Finished...." And below is some of the errors : ../../simgear/math/SGVec3.hxx:41: error: expected `{' before 'Vec3f' ../../simgear/math/SGVec3.hxx:41: error: invalid function declaration ../../simgear/math/SGVec3.hxx:56: error: 'osg' has not been declared ../../simgear/math/SGVec3.hxx:56: error: expected `{' before 'Vec3d' ../../simgear/math/SGVec3.hxx:56: error: invalid function declaration ../../simgear/math/SGVec3.hxx:95: error: 'osg' has not been declared ../../simgear/math/SGVec3.hxx:95: error: expected ',' or '...' before '&' token ../../simgear/math/SGVec3.hxx:97: error: 'osg' has not been declared ../../simgear/math/SGVec3.hxx:97: error: expected ',' or '...' before '&' token ../../simgear/math/SGVec3.hxx: In constructor 'SGVec3<T>::SGVec3(int)': ../../simgear/math/SGVec3.hxx:96: error: 'd' was not declared in this scope ../../simgear/math/SGVec3.hxx: In constructor 'SGVec3<T>::SGVec3(int)': ../../simgear/math/SGVec3.hxx:98: error: 'd' was not declared in this scope ../../simgear/math/SGMathFwd.hxx: At global scope: ../../simgear/math/SGMathFwd.hxx: In instantiation of 'SGVec3<double>': ../../simgear/math/SGVec3.hxx:183: instantiated from here ../../simgear/math/SGMathFwd.hxx:37: error: invalid use of undefined type 'struct SGVec3Storage<double>' ../../simgear/math/SGVec3.hxx:25: error: declaration of 'struct SGVec3Storage<double>' ../../simgear/math/SGVec3.hxx:97: error: 'SGVec3<T>::SGVec3(int) [with T = double]' cannot be overloaded Cheers Justin Smithies ------------------------------------------------------------------------- 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