Board index FlightGear Support Compiling

Can TerraGear be compiled with ./configure script ?

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

Can TerraGear be compiled with ./configure script ?

Postby TheEagle » Mon Jul 19, 2021 8:30 pm

I just stumbled upon this line in TerraGear's README:
2. Run the "configure" script, with optional arguments for setting

But I don't find any configure script in the root directory of a fresh git clone https://github.com/FlightGear/terragear.git ? Why ?
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3411
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Can TerraGear be compiled with ./configure script ?

Postby frtps » Tue Jul 20, 2021 9:18 am

Hmm, looks like the terragear instructions and NEWS are about a decade out of date. The wiki is a bit more up-to-date, and you might be interested in the terragear docker image.

If you still want to compile it, the way I compile it is as follows (you will need cmake):
  1. Compile and install simgear (hopefully simgear instructions are up to date) and install all other prerequisites. Step 3 will let you know what is missing.
  2. Create a build directory outside the terragear source directory
  3. From inside that build directory type "cmake <path/to/terragear/source>". This will set up the build
  4. Type "make install". This will make everything and install it to default location.
  5. For a list of settings for the make, type "cmake -L". I find "CMAKE_INSTALL_PREFIX" useful to define, so "cmake -DCMAKE_INSTALL_PREFIX=/my/install/place <path/to/terragear/source>" at step 3

I find that the really challenging work is preparing the data files for terragear.
frtps
 
Posts: 145
Joined: Sun Aug 05, 2018 10:58 am


Return to Compiling

Who is online

Users browsing this forum: No registered users and 4 guests