I'm trying to install flightgear from CVS on my latest edgy ubuntu system.
I'm getting an error with Simgear - I've run ./autogen.sh
The errors seem to come up about here:
make[3]: Entering directory
`/home/adam/download/flightgear/src/simgear/source/simgear/misc'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../.. -g -O2
-D_REENTRANT -MT sg_path.o -MD -MP -MF ".deps/sg_path.Tpo" -c -o
sg_path.o sg_path.cxx; \
then mv -f ".deps/sg_path.Tpo" ".deps/sg_path.Po"; else rm -f
".deps/sg_path.Tpo"; exit 1; fi
In file included from ../../simgear/math/point3d.hxx:54,
from ../../simgear/math/sg_types.hxx:41,
from sg_path.hxx:36,
from sg_path.cxx:35:
../../simgear/math/SGMath.hxx:25:18: error: osg/GL: No such file or directory
In file included from ../../simgear/math/SGMath.hxx:36,
from ../../simgear/math/point3d.hxx:54,
from ../../simgear/math/sg_types.hxx:41,
from sg_path.hxx:36,
from sg_path.cxx:35:
../../simgear/math/SGVec2.hxx:21:21: error: osg/Vec2f: No such file or directory
../../simgear/math/SGVec2.hxx:22:21: error: osg/Vec2d: No such file or directory
In file included from ../../simgear/math/SGMath.hxx:37,
from ../../simgear/math/point3d.hxx:54,
from ../../simgear/math/sg_types.hxx:41,
from sg_path.hxx:36,
from sg_path.cxx:35:
../../simgear/math/SGVec3.hxx:21:21: error: osg/Vec3f: No such file or directory
../../simgear/math/SGVec3.hxx:22:21: error: osg/Vec3d: No such file or directory
In file included from ../../simgear/math/SGMath.hxx:38,
from ../../simgear/math/point3d.hxx:54,
from ../../simgear/math/sg_types.hxx:41,
from sg_path.hxx:36,
from sg_path.cxx:35:
../../simgear/math/SGVec4.hxx:21:21: error: osg/Vec4f: No such file or directory
../../simgear/math/SGVec4.hxx:22:21: error: osg/Vec4d: No such file or directory
In file included from ../../simgear/math/SGMath.hxx:41,
from ../../simgear/math/point3d.hxx:54,
from ../../simgear/math/sg_types.hxx:41,
from sg_path.hxx:36,
from sg_path.cxx:35:
../../simgear/math/SGQuat.hxx:29:20: error: osg/Quat: No such file or directory
../../simgear/math/SGVec2.hxx:41: error: 'osg' has not been declared
../../simgear/math/SGVec2.hxx:41: error: expected `{' before 'Vec2f'
../../simgear/math/SGVec2.hxx:41: error: invalid function declaration
../../simgear/math/SGVec2.hxx:56: error: 'osg' has not been declared
../../simgear/math/SGVec2.hxx:56: error: expected `{' before 'Vec2d'
../../simgear/math/SGVec2.hxx:56: error: invalid function declaration
../../simgear/math/SGVec2.hxx:95: error: expected ',' or '...' before '::' token
../../simgear/math/SGVec2.hxx:95: error: ISO C++ forbids declaration
of 'osg' with no type
../../simgear/math/SGVec2.hxx:97: error: expected ',' or '...' before '::' token
../../simgear/math/SGVec2.hxx:97: error: ISO C++ forbids declaration
of 'osg' with no type
../../simgear/math/SGVec2.hxx: In constructor 'SGVec2<T>::SGVec2(int)':
../../simgear/math/SGVec2.hxx:96: error: 'd' was not declared in this scope
../../simgear/math/SGVec2.hxx: In constructor 'SGVec2<T>::SGVec2(int)':
../../simgear/math/SGVec2.hxx:98: error: 'd' was not declared in this scope
../../simgear/math/SGMathFwd.hxx: At global scope:
../../simgear/math/SGMathFwd.hxx: In instantiation of 'SGVec2<float>':
../../simgear/math/SGVec2.hxx:355: instantiated from here
../../simgear/math/SGMathFwd.hxx:35: error: invalid use of undefined
type 'struct SGVec2Storage<float>'
../../simgear/math/SGVec2.hxx:25: error: declaration of 'struct
SGVec2Storage<float>'
../../simgear/math/SGVec2.hxx:97: error: 'SGVec2<T>::SGVec2(int) [with
T = float]' cannot be overloaded
../../simgear/math/SGVec2.hxx:95: error: with 'SGVec2<T>::SGVec2(int)
[with T = float]'
../../simgear/math/SGVec2.hxx:128: error: type 'SGVec2Storage<float>'
is not a base type for type 'SGVec2<float>'
../../simgear/math/SGVec2.hxx:138: error: type 'SGVec2Storage<float>'
is not a base type for type 'SGVec2<float>'
../../simgear/math/SGMathFwd.hxx: In instantiation of 'SGVec2<double>':
../../simgear/math/SGVec2.hxx:356: instantiated from here
../../simgear/math/SGMathFwd.hxx:35: error: invalid use of undefined
type 'struct SGVec2Storage<double>'
../../simgear/math/SGVec2.hxx:25: error: declaration of 'struct
SGVec2Storage<double>'
../../simgear/math/SGVec2.hxx:97: error: 'SGVec2<T>::SGVec2(int) [with
T = double]' cannot be overloaded
../../simgear/math/SGVec2.hxx:95: error: with 'SGVec2<T>::SGVec2(int)
[with T = double]'
../../simgear/math/SGVec2.hxx:128: error: type 'SGVec2Storage<double>'
is not a base type for type 'SGVec2<double>'
../../simgear/math/SGVec2.hxx:138: error: type 'SGVec2Storage<double>'
is not a base type for type 'SGVec2<double>'
../../simgear/math/SGVec3.hxx:41: error: 'osg' has not been declared
../../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: expected ',' or '...' before '::' token
../../simgear/math/SGVec3.hxx:95: error: ISO C++ forbids declaration
of 'osg' with no type
../../simgear/math/SGVec3.hxx:97: error: expected ',' or '...' before '::' token
../../simgear/math/SGVec3.hxx:97: error: ISO C++ forbids declaration
of 'osg' with no type
../../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
../../simgear/math/SGVec3.hxx:95: error: with 'SGVec3<T>::SGVec3(int)
[with T = double]'
../../simgear/math/SGVec3.hxx:134: error: type 'SGVec3Storage<double>'
is not a base type for type 'SGVec3<double>'
../../simgear/math/SGVec3.hxx:144: error: type 'SGVec3Storage<double>'
is not a base type for type 'SGVec3<double>'
../../simgear/math/SGMathFwd.hxx: In instantiation of 'SGVec3<float>':
../../simgear/math/SGVec3.hxx:193: instantiated from here
../../simgear/math/SGMathFwd.hxx:37: error: invalid use of undefined
type 'struct SGVec3Storage<float>'
../../simgear/math/SGVec3.hxx:25: error: declaration of 'struct
SGVec3Storage<float>'
../../simgear/math/SGVec3.hxx:97: error: 'SGVec3<T>::SGVec3(int) [with
T = float]' cannot be overloaded
../../simgear/math/SGVec3.hxx:95: error: with 'SGVec3<T>::SGVec3(int)
[with T = float]'
../../simgear/math/SGVec3.hxx:134: error: type 'SGVec3Storage<float>'
is not a base type for type 'SGVec3<float>'
../../simgear/math/SGVec3.hxx:144: error: type 'SGVec3Storage<float>'
is not a base type for type 'SGVec3<float>'
../../simgear/math/SGVec4.hxx:41: error: 'osg' has not been declared
../../simgear/math/SGVec4.hxx:41: error: expected `{' before 'Vec4f'
../../simgear/math/SGVec4.hxx:41: error: invalid function declaration
../../simgear/math/SGVec4.hxx:56: error: 'osg' has not been declared
../../simgear/math/SGVec4.hxx:56: error: expected `{' before 'Vec4d'
../../simgear/math/SGVec4.hxx:56: error: invalid function declaration
../../simgear/math/SGVec4.hxx:95: error: expected ',' or '...' before '::' token
../../simgear/math/SGVec4.hxx:95: error: ISO C++ forbids declaration
of 'osg' with no type
../../simgear/math/SGVec4.hxx:97: error: expected ',' or '...' before '::' token
../../simgear/math/SGVec4.hxx:97: error: ISO C++ forbids declaration
of 'osg' with no type
../../simgear/math/SGVec4.hxx: In constructor 'SGVec4<T>::SGVec4(int)':
../../simgear/math/SGVec4.hxx:96: error: 'd' was not declared in this scope
../../simgear/math/SGVec4.hxx: In constructor 'SGVec4<T>::SGVec4(int)':
../../simgear/math/SGVec4.hxx:98: error: 'd' was not declared in this scope
../../simgear/math/SGMathFwd.hxx: At global scope:
../../simgear/math/SGMathFwd.hxx: In instantiation of 'SGVec4<float>':
../../simgear/math/SGVec4.hxx:403: instantiated from here
../../simgear/math/SGMathFwd.hxx:39: error: invalid use of undefined
type 'struct SGVec4Storage<float>'
../../simgear/math/SGVec4.hxx:25: error: declaration of 'struct
SGVec4Storage<float>'
../../simgear/math/SGVec4.hxx:97: error: 'SGVec4<T>::SGVec4(int) [with
T = float]' cannot be overloaded
../../simgear/math/SGVec4.hxx:95: error: with 'SGVec4<T>::SGVec4(int)
[with T = float]'
../../simgear/math/SGVec4.hxx:141: error: type 'SGVec4Storage<float>'
is not a base type for type 'SGVec4<float>'
../../simgear/math/SGVec4.hxx:151: error: type 'SGVec4Storage<float>'
is not a base type for type 'SGVec4<float>'
../../simgear/math/SGMathFwd.hxx: In instantiation of 'SGVec4<double>':
../../simgear/math/SGVec4.hxx:404: instantiated from here
../../simgear/math/SGMathFwd.hxx:39: error: invalid use of undefined
type 'struct SGVec4Storage<double>'
../../simgear/math/SGVec4.hxx:25: error: declaration of 'struct
SGVec4Storage<double>'
../../simgear/math/SGVec4.hxx:97: error: 'SGVec4<T>::SGVec4(int) [with
T = double]' cannot be overloaded
../../simgear/math/SGVec4.hxx:95: error: with 'SGVec4<T>::SGVec4(int)
[with T = double]'
../../simgear/math/SGVec4.hxx:141: error: type 'SGVec4Storage<double>'
is not a base type for type 'SGVec4<double>'
../../simgear/math/SGVec4.hxx:151: error: type 'SGVec4Storage<double>'
is not a base type for type 'SGVec4<double>'
../../simgear/math/SGQuat.hxx:48: error: 'osg' has not been declared
../../simgear/math/SGQuat.hxx:48: error: expected `{' before 'Quat'
../../simgear/math/SGQuat.hxx:48: error: invalid function declaration
../../simgear/math/SGQuat.hxx:87: error: expected ',' or '...' before '::' token
../../simgear/math/SGQuat.hxx:87: error: ISO C++ forbids declaration
of 'osg' with no type
../../simgear/math/SGQuat.hxx: In constructor 'SGQuat<T>::SGQuat(int)':
../../simgear/math/SGQuat.hxx:88: error: 'd' was not declared in this scope
../../simgear/math/SGMathFwd.hxx: At global scope:
../../simgear/math/SGMathFwd.hxx: In instantiation of 'SGQuat<double>':
../../simgear/math/SGQuat.hxx:748: instantiated from here
../../simgear/math/SGMathFwd.hxx:33: error: invalid use of undefined
type 'struct SGQuatStorage<double>'
../../simgear/math/SGQuat.hxx:32: error: declaration of 'struct
SGQuatStorage<double>'
../../simgear/math/SGQuat.hxx:397: error: type 'SGQuatStorage<double>'
is not a base type for type 'SGQuat<double>'
../../simgear/math/SGQuat.hxx:407: error: type 'SGQuatStorage<double>'
is not a base type for type 'SGQuat<double>'
../../simgear/math/SGVec2.hxx: In member function 'const T&
SGVec2<T>::operator()(unsigned int) const [with T = double]':
../../simgear/math/SGVec2.hxx:356: instantiated from here
../../simgear/math/SGVec2.hxx:102: error: 'data' was not declared in this scope
../../simgear/math/SGVec2.hxx: In constructor 'SGVec2<T>::SGVec2(T, T)
[with T = float]':
../../simgear/math/SGVec2.hxx:356: instantiated from here
../../simgear/math/SGVec2.hxx:90: error: 'data' was not declared in this scope
../../simgear/math/SGVec2.hxx: In member function 'const T&
SGVec2<T>::operator()(unsigned int) const [with T = float]':
../../simgear/math/SGVec2.hxx:361: instantiated from here
../../simgear/math/SGVec2.hxx:102: error: 'data' was not declared in this scope
../../simgear/math/SGVec2.hxx: In constructor 'SGVec2<T>::SGVec2(T, T)
[with T = double]':
../../simgear/math/SGVec2.hxx:361: instantiated from here
../../simgear/math/SGVec2.hxx:90: error: 'data' was not declared in this scope
../../simgear/math/SGVec3.hxx: In constructor 'SGVec3<T>::SGVec3()
[with T = double]':
../../simgear/math/SGVec3.hxx:185: instantiated from here
../../simgear/math/SGVec3.hxx:85: error: 'data' was not declared in this scope
../../simgear/math/SGVec3.hxx: In member function 'T&
SGVec3<T>::operator()(unsigned int) [with T = double]':
../../simgear/math/SGVec3.hxx:197: instantiated from here
../../simgear/math/SGVec3.hxx:105: error: 'data' was not declared in this scope
../../simgear/math/SGVec3.hxx: In constructor 'SGVec3<T>::SGVec3(T, T,
T) [with T = float]':
../../simgear/math/SGVec3.hxx:197: instantiated from here
../../simgear/math/SGVec3.hxx:90: error: 'data' was not declared in this scope
../../simgear/math/SGVec3.hxx: In member function 'const T&
SGVec3<T>::operator()(unsigned int) const [with T = double]':
../../simgear/math/SGVec3.hxx:461: instantiated from here
../../simgear/math/SGVec3.hxx:102: error: 'data' was not declared in this scope
../../simgear/math/SGVec3.hxx: In member function 'const T&
SGVec3<T>::operator()(unsigned int) const [with T = float]':
../../simgear/math/SGVec3.hxx:466: instantiated from here
../../simgear/math/SGVec3.hxx:102: error: 'data' was not declared in this scope
../../simgear/math/SGVec3.hxx: In constructor 'SGVec3<T>::SGVec3(T, T,
T) [with T = double]':
../../simgear/math/SGVec3.hxx:466: instantiated from here
../../simgear/math/SGVec3.hxx:90: error: 'data' was not declared in this scope
../../simgear/math/SGVec4.hxx: In member function 'const T&
SGVec4<T>::operator()(unsigned int) const [with T = double]':
../../simgear/math/SGVec4.hxx:404: instantiated from here
../../simgear/math/SGVec4.hxx:103: error: 'data' was not declared in this scope
../../simgear/math/SGVec4.hxx: In constructor 'SGVec4<T>::SGVec4(T, T,
T, T) [with T = float]':
../../simgear/math/SGVec4.hxx:404: instantiated from here
../../simgear/math/SGVec4.hxx:90: error: 'data' was not declared in this scope
../../simgear/math/SGVec4.hxx: In member function 'const T&
SGVec4<T>::operator()(unsigned int) const [with T = float]':
../../simgear/math/SGVec4.hxx:409: instantiated from here
../../simgear/math/SGVec4.hxx:103: error: 'data' was not declared in this scope
../../simgear/math/SGVec4.hxx: In constructor 'SGVec4<T>::SGVec4(T, T,
T, T) [with T = double]':
../../simgear/math/SGVec4.hxx:409: instantiated from here
../../simgear/math/SGVec4.hxx:90: error: 'data' was not declared in this scope
../../simgear/math/SGQuat.hxx: In member function 'const T&
SGQuat<T>::operator()(unsigned int) const [with T = double]':
../../simgear/math/SGQuat.hxx:748: instantiated from here
../../simgear/math/SGQuat.hxx:359: error: 'data' was not declared in this scope
../../simgear/math/SGVec3.hxx: In member function 'const T&
SGVec3<T>::x() const [with T = double]':
../../simgear/math/point3d.hxx:239: instantiated from here
../../simgear/math/SGVec3.hxx:116: error: 'data' was not declared in this scope
../../simgear/math/SGVec3.hxx: In member function 'const T&
SGVec3<T>::y() const [with T = double]':
../../simgear/math/point3d.hxx:240: instantiated from here
../../simgear/math/SGVec3.hxx:122: error: 'data' was not declared in this scope
../../simgear/math/SGVec3.hxx: In member function 'const T&
SGVec3<T>::z() const [with T = double]':
../../simgear/math/point3d.hxx:241: instantiated from here
../../simgear/math/SGVec3.hxx:128: error: 'data' was not declared in this scope
../../simgear/math/SGQuat.hxx: In member function 'T& SGQuat<T>::x()
[with T = double]':
../../simgear/math/SGQuat.hxx:82: instantiated from
'SGQuat<T>::SGQuat(T, T, T, T) [with T = double]'
../../simgear/math/SGQuat.hxx:753: instantiated from here
../../simgear/math/SGQuat.hxx:376: error: 'data' was not declared in this scope
../../simgear/math/SGQuat.hxx: In member function 'T& SGQuat<T>::y()
[with T = double]':
../../simgear/math/SGQuat.hxx:82: instantiated from
'SGQuat<T>::SGQuat(T, T, T, T) [with T = double]'
../../simgear/math/SGQuat.hxx:753: instantiated from here
../../simgear/math/SGQuat.hxx:382: error: 'data' was not declared in this scope
../../simgear/math/SGQuat.hxx: In member function 'T& SGQuat<T>::z()
[with T = double]':
../../simgear/math/SGQuat.hxx:82: instantiated from
'SGQuat<T>::SGQuat(T, T, T, T) [with T = double]'
../../simgear/math/SGQuat.hxx:753: instantiated from here
../../simgear/math/SGQuat.hxx:388: error: 'data' was not declared in this scope
../../simgear/math/SGQuat.hxx: In member function 'T& SGQuat<T>::w()
[with T = double]':
../../simgear/math/SGQuat.hxx:82: instantiated from
'SGQuat<T>::SGQuat(T, T, T, T) [with T = double]'
../../simgear/math/SGQuat.hxx:753: instantiated from here
../../simgear/math/SGQuat.hxx:394: error: 'data' was not declared in this scope
make[3]: *** [sg_path.o] Error 1
make[3]: Leaving directory
`/home/adam/download/flightgear/src/simgear/source/simgear/misc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/adam/download/flightgear/src/simgear/source/simgear'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/adam/download/flightgear/src/simgear/source/simgear'
make: *** [all-recursive] Error 1
I've installed the dependencies listed on the simgear site, but am not
sure about the opengl and glut stuff (I have libglut3-dev installed).
Can anyone confirm a list of packages that should be installed?
TIA
Adam
--
http://www.monkeez.org
PGP key: 0x7111B833
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users