Board index FlightGear Support Compiling

Compiling Terragear on Ubuntu  Topic is solved

Building FlightGear from source, and in the need for help?

Compiling Terragear on Ubuntu

Postby statto » Sat Apr 16, 2016 3:43 pm

I ran ./download_and_compile.sh TERRAGEAR after running the script here: viewtopic.php?f=45&t=27399#p257305

Might I be missing a dependency?

Code (): Select all
from /home/statto/FGScenery/terragear/src/Prep/OGRDecode/ogr-decode.cxx:36:
/home/statto/FGScenery/install/simgear/include/simgear/constants.h: At global scope:
/home/statto/FGScenery/install/simgear/include/simgear/constants.h:70:13: warning: ‘SG_DEGREES_TO_RADIANS’ defined but not used [-Wunused-variable]
const float SG_DEGREES_TO_RADIANS = SG_PI / 180.0f;
^
/home/statto/FGScenery/install/simgear/include/simgear/constants.h:71:13: warning: ‘SG_RADIANS_TO_DEGREES’ defined but not used [-Wunused-variable]
const float SG_RADIANS_TO_DEGREES = 180.0f / SG_PI;
^
make[2]: *** [src/Prep/OGRDecode/CMakeFiles/ogr-decode.dir/ogr-decode.cxx.o] Error 1
make[1]: *** [src/Prep/OGRDecode/CMakeFiles/ogr-decode.dir/all] Error 2
make: *** [all] Error 2
Custom Scenery available from http://www.stattosoftware.com/flightgear
statto
 
Posts: 2106
Joined: Fri Jan 25, 2008 9:57 pm

Re: Compiling Terragear on Ubuntu  

Postby sanhozay » Sat Apr 16, 2016 4:50 pm

No errors there, just warnings. Was there more compiler output higher up?
sanhozay
 
Posts: 1207
Joined: Thu Dec 26, 2013 11:57 am
Location: EGNM
Callsign: G-SHOZ
Version: Git
OS: Ubuntu 16.04

Re: Compiling Terragear on Ubuntu

Postby statto » Sat Apr 16, 2016 6:47 pm

Yes, same GDAL issue as before. I've fixed it, thanks!
Custom Scenery available from http://www.stattosoftware.com/flightgear
statto
 
Posts: 2106
Joined: Fri Jan 25, 2008 9:57 pm


Return to Compiling

Who is online

Users browsing this forum: No registered users and 1 guest