Hello
I'm getting some errors while trying to build terragear.
./configure works fine for me, it says all dependencies are OK (except nurbs
library but it says it won't affect whole installation)
But make does not work fine for me, it gives some compilation errors. Below
is the error messages :
r...@ubuntu:/home/modsimmer/Masaüstü/kurduklarım/TerraGear-0.9.8# make
Making all in src
make[1]: Entering directory
`/home/modsimmer/Masaüstü/kurduklarım/TerraGear-0.9.8/src'
Making all in Include
make[2]: Entering directory
`/home/modsimmer/Masaüstü/kurduklarım/TerraGear-0.9.8/src/Include'
make all-am
make[3]: Entering directory
`/home/modsimmer/Masaüstü/kurduklarım/TerraGear-0.9.8/src/Include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory
`/home/modsimmer/Masaüstü/kurduklarım/TerraGear-0.9.8/src/Include'
make[2]: Leaving directory
`/home/modsimmer/Masaüstü/kurduklarım/TerraGear-0.9.8/src/Include'
Making all in Lib
make[2]: Entering directory
`/home/modsimmer/Masaüstü/kurduklarım/TerraGear-0.9.8/src/Lib'
Making all in Array
make[3]: Entering directory
`/home/modsimmer/Masaüstü/kurduklarım/TerraGear-0.9.8/src/Lib/Array'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Include -I../../../src
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -O2 -MT array.o -MD -MP
-MF ".deps/array.Tpo" -c -o array.o array.cxx; \
then mv -f ".deps/array.Tpo" ".deps/array.Po"; else rm -f
".deps/array.Tpo"; exit 1; fi
array.cxx:30:10: error: #include expects "FILENAME" or <FILENAME>
In file included from array.cxx:32:
/usr/local/include/simgear/constants.h:37:21: error: plib/sg.h: No such file
or directory
In file included from /usr/local/include/simgear/math/SGMath.hxx:40,
from /usr/local/include/simgear/bucket/newbucket.hxx:34,
from array.hxx:40,
from array.cxx:41:
/usr/local/include/simgear/math/SGGeoc.hxx: In static member function
'static SGGeoc SGGeoc::fromDegFt(double, double, double)':
/usr/local/include/simgear/math/SGGeoc.hxx:131: error:
'SGD_DEGREES_TO_RADIANS' was not declared in this scope
/usr/local/include/simgear/math/SGGeoc.hxx: In static member function
'static SGGeoc SGGeoc::fromDegM(double, double, double)':
/usr/local/include/simgear/math/SGGeoc.hxx:155: error:
'SGD_DEGREES_TO_RADIANS' was not declared in this scope
/usr/local/include/simgear/math/SGGeoc.hxx: In member function 'double
SGGeoc::getLongitudeDeg() const':
/usr/local/include/simgear/math/SGGeoc.hxx:209: error:
'SGD_RADIANS_TO_DEGREES' was not declared in this scope
/usr/local/include/simgear/math/SGGeoc.hxx: In member function 'void
SGGeoc::setLongitudeDeg(double)':
/usr/local/include/simgear/math/SGGeoc.hxx:220: error:
'SGD_DEGREES_TO_RADIANS' was not declared in this scope
/usr/local/include/simgear/math/SGGeoc.hxx: In member function 'double
SGGeoc::getLatitudeDeg() const':
/usr/local/include/simgear/math/SGGeoc.hxx:253: error:
'SGD_RADIANS_TO_DEGREES' was not declared in this scope
/usr/local/include/simgear/math/SGGeoc.hxx: In member function 'void
SGGeoc::setLatitudeDeg(double)':
/usr/local/include/simgear/math/SGGeoc.hxx:264: error:
'SGD_DEGREES_TO_RADIANS' was not declared in this scope
In file included from /usr/local/include/simgear/math/SGMath.hxx:41,
from /usr/local/include/simgear/bucket/newbucket.hxx:34,
from array.hxx:40,
from array.cxx:41:
/usr/local/include/simgear/math/SGGeod.hxx: In static member function
'static SGGeod SGGeod::fromDeg(double, double)':
/usr/local/include/simgear/math/SGGeod.hxx:143: error:
'SGD_DEGREES_TO_RADIANS' was not declared in this scope
/usr/local/include/simgear/math/SGGeod.hxx: In static member function
'static SGGeod SGGeod::fromDegFt(double, double, double)':
/usr/local/include/simgear/math/SGGeod.hxx:166: error:
'SGD_DEGREES_TO_RADIANS' was not declared in this scope
/usr/local/include/simgear/math/SGGeod.hxx: In static member function
'static SGGeod SGGeod::fromDegM(double, double, double)':
/usr/local/include/simgear/math/SGGeod.hxx:190: error:
'SGD_DEGREES_TO_RADIANS' was not declared in this scope
/usr/local/include/simgear/math/SGGeod.hxx: In member function 'double
SGGeod::getLongitudeDeg() const':
/usr/local/include/simgear/math/SGGeod.hxx:244: error:
'SGD_RADIANS_TO_DEGREES' was not declared in this scope
/usr/local/include/simgear/math/SGGeod.hxx: In member function 'void
SGGeod::setLongitudeDeg(double)':
/usr/local/include/simgear/math/SGGeod.hxx:255: error:
'SGD_DEGREES_TO_RADIANS' was not declared in this scope
/usr/local/include/simgear/math/SGGeod.hxx: In member function 'double
SGGeod::getLatitudeDeg() const':
/usr/local/include/simgear/math/SGGeod.hxx:288: error:
'SGD_RADIANS_TO_DEGREES' was not declared in this scope
/usr/local/include/simgear/math/SGGeod.hxx: In member function 'void
SGGeod::setLatitudeDeg(double)':
/usr/local/include/simgear/math/SGGeod.hxx:299: error:
'SGD_DEGREES_TO_RADIANS' was not declared in this scope
In file included from array.cxx:41:
array.hxx: At global scope:
array.hxx:46: error: expected constructor, destructor, or type conversion
before '(' token
array.cxx:43: error: expected constructor, destructor, or type conversion
before ';' token
array.cxx:44: error: expected constructor, destructor, or type conversion
before '(' token
array.cxx:45: error: expected constructor, destructor, or type conversion
before '(' token
array.cxx: In member function 'bool TGArray::open(const std::string&)':
array.cxx:72: error: 'cout' was not declared in this scope
array.cxx:72: error: 'endl' was not declared in this scope
array.cxx:75: error: 'cout' was not declared in this scope
array.cxx:75: error: 'endl' was not declared in this scope
array.cxx:86: error: 'cout' was not declared in this scope
array.cxx:86: error: 'endl' was not declared in this scope
array.cxx:88: error: 'cout' was not declared in this scope
array.cxx:88: error: 'endl' was not declared in this scope
array.cxx: In member function 'bool TGArray::parse(SGBucket&)':
array.cxx:118: error: 'cout' was not declared in this scope
array.cxx:118: error: 'endl' was not declared in this scope
array.cxx:144: error: 'cout' was not declared in this scope
array.cxx:144: error: 'endl' was not declared in this scope
array.cxx: In member function 'void TGArray::add_corner_node(int, int,
double)':
array.cxx:266: error: 'cout' was not declared in this scope
array.cxx:266: error: 'endl' was not declared in this scope
make[3]: *** [array.o] Error 1
make[3]: Leaving directory
`/home/modsimmer/Masaüstü/kurduklarım/TerraGear-0.9.8/src/Lib/Array'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/modsimmer/Masaüstü/kurduklarım/TerraGear-0.9.8/src/Lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/modsimmer/Masaüstü/kurduklarım/TerraGear-0.9.8/src'
make: *** [all-recursive] Error 1
What can be the cause for this situation and how can I solve it?
Thanks
Greetings
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel