Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Changes

Jump to: navigation, search
Reduce redundancy (only one copy of the list of available components in the main text—sample output of download_and_compile.sh --help has a second copy)
$ git log -p -- download_and_compile.sh
== <span id="list-of-available-components"></span> List of compiled programs available components ==
The <tt>download_and_compile.sh</tt> script is able to download and , compile:* [[SimGear]] (”base libraries” that are part of the FlightGear project, when applicable) and required)* FlightGear* [[FGData]] (base data files that are part of install the FlightGear project, and required)* [httpsfollowing components://cmake.org/ CMake] (in case CMake is too old in your distribution)* [[PLIB]]* [[OpenSceneGraph]]* [[FGRun]]* [[FGo!]]* [[FGX]]* [[TerraGear]]* [[TerraGear_GUI]]* [[OpenRadar]]* [[ATC-pie]]* [[FlightGear HLA support (High Level Architecture) | OpenRTI]]
* ATCPIE (for the [[ATC-pie]] air traffic control simulation program)* CMAKE (for the [https://cmake.org/ CMake] build tool—this can be useful in case CMake is too old in your distribution)* DATA (for [[FGData]], the main set of data files used by FlightGear)* FGFS (for FlightGear itself)* FGO (for the [[FGo!]] FlightGear launcher)* FGRUN (for the [[Fgrun|FGRun]] FlightGear launcher)* FGX (for the [[FGX|FGx]] FlightGear launcher<ref name="note-on-the-status-of-FGx-support-in-download-and-compile-sh">Support for FGx in <tt>download_and_compile.sh</tt> would probably benefit from a code review.</ref>)* OPENRADAR (for the [[OpenRadar]] air traffic control simulation program)* OPENRTI (for [[FlightGear HLA support (High Level Architecture)#OpenRTI | OpenRTI]]<ref name="note-on-the-status-of-OpenRTI-support-in-FG">Note that OpenRTI is just an optional dependency for [[FlightGear high-level architecture support|HLA support]]. For the time being, you should be just fine building without it. Eventually, the idea is for HLA to replace the existing MP system and even increasingly distribute the FlightGear architecture such that more and more components can be more easily run in separate threads or even separate processes, possibly even on different machines. So this is going to be an important feature for professional users, using several computers and screens to create a comprehensive and immersive simulation environment.<p>At the moment, it is probably safe to say that HLA is only of interest to developers and people willing to play with experimental features.</ref>)* OSG (for the [[OpenSceneGraph]] library)* PLIB (for the [[PLIB]] library)* SIMGEAR (for the [[SimGear]] library—foundation for FlightGear and TerraGear)* TERRAGEAR (for the [[TerraGear]] terrain building toolchain)* TERRAGEARGUI (for [[TerraGear GUI]], a graphical interface for TerraGear)
At Each of the moment, it's probably safe to say that HLA items listed above is only of interest to developers and people willing to play with experimental featuresa ''component'' in <tt>download_and_compile.sh</tt> terminology. Components are written in uppercase by convention.)
Each of the items listed above corresponds to a ''component'' in <tt>download_and_compile.sh</tt> terminology. Components are written in uppercase. {{Note|The preceding list of supported ones is currently:* SIMGEAR* FGFS (this corresponds to FlightGear)* DATA (this corresponds to [[FGData]])* CMAKE* PLIB* OSG (this corresponds might not be up-to [[OpenSceneGraph]])* FGRUN* FGO* FGX* TERRAGEAR* TERRAGEARGUI* OPENRADAR* ATCPIE* OPENRTI-date. The up-to-date list of components supported by <tt>download_and_compile.sh</tt> can always be obtained by running: $ <code>download_and_compile.sh --help</code>.}}
What is the point of knowing this? Because you may pass component names to <tt>download_and_compile.sh</tt> in order to tell it what you want to download, build and install. By default, only the three essential components SIMGEAR, FGFS and DATA are taken care of, which means that the command:
$ download_and_compile.sh
is equivalent to:
$ download_and_compile.sh SIMGEAR FGFS DATA
$ download_and_compile.sh SIMGEAR FGFS DATA OSG
The available components are (in April 2019):<br />CMAKE, PLIB, OPENRTI, OSG, SIMGEAR, FGFS, DATA, FGRUN, FGO, FGX, OPENRADAR, ATCPIE, TERRAGEAR, TERRAGEARGUI. The full, upSee [[#list-toof-date available-components|above]] for the list of these available components can always be obtained by running: $ download_and_compile.sh --help
=== TerraGear ===
== Options ==
 
=== Selecting the components to build ===
By default, <tt>download_and_compile.sh</tt> downloads or updates, then compiles, [[SimGear]] and FlightGear, and downloads or updates [[FGData]] (by nature, FGData can't be compiled). This is what happens when running:
SIMGEAR, FGFS, DATA and OSG are the component names respectively corresponding to [[SimGear]], FlightGear, [[FGData]] and [[OpenSceneGraph]] in <tt>download_and_compile.sh</tt>'s terminology.
See the output A [[#list-of <code>download_and_compile.sh -available-help</code> for more details. === Compiling selected components === {{Note|The following list of available components]] is not necessarily provided on this page, but the fully up-to-date. See the output of list can always be obtained by running <code>download_and_compile.sh --help</code> for the up-to-date list of components.}} If you wish to download, build and install some of the available programs, you can launch <tt>download_and_compile.sh</tt> with one or more of the following component names:* CMAKE (for the [https://cmake.org/ CMake] build tool)* PLIB (for the [[PLIB]] library)* OSG (for the [[OpenSceneGraph]] library)* SIMGEAR (for the [[SimGear]] library)* FGFS (for FlightGear itself)* DATA (for [[FGData]], the main set of data files used by FlightGear)* FGRUN (for the [[Fgrun|FGRun]] launcher)* TERRAGEAR (for the [[TerraGear]] terrain building toolchain)* TERRAGEARGUI (for [[TerraGear GUI]], a graphical interface for TerraGear)* OPENRADAR (for [[OpenRadar]])* FGO (for the [[FGo!]] launcher)
=== Compiling the last known-stable versions ===
289
edits

Navigation menu