88
edits
m (→Flightgear) |
m (→Simgear) |
||
Line 104: | Line 104: | ||
FGFS_PREFIX_LIB=${FGFS_PREFIX}/lib64 | FGFS_PREFIX_LIB=${FGFS_PREFIX}/lib64 | ||
== | == SimGear == | ||
The source code of | The source code of SimGear can be provided: | ||
* as an official release that can be downloaded from [https://sourceforge.net/projects/flightgear/files/ here]. The environment variable <code>SIMGEAR_VERSION</code> must be set to the relevant version of | * as an official release that can be downloaded from [https://sourceforge.net/projects/flightgear/files/ here]. The environment variable <code>SIMGEAR_VERSION</code> must be set to the relevant version of SimGear, for example <code>SIMGEAR_VERSION=2019.1.1</code> and then using the following commands to extract the source code: | ||
cd -- "${FGFS_PREFIX}/src/" | cd -- "${FGFS_PREFIX}/src/" | ||
Line 113: | Line 113: | ||
tar axvf "${FGFS_PREFIX}/src/simgear-${SIMGEAR_VERSION}.tar.bz2" | tar axvf "${FGFS_PREFIX}/src/simgear-${SIMGEAR_VERSION}.tar.bz2" | ||
* as a clone of the | * as a clone of the SimGear Git repo by using the following commands: | ||
cd -- "${FGFS_PREFIX}/src/" | cd -- "${FGFS_PREFIX}/src/" | ||
Line 119: | Line 119: | ||
SIMGEAR_SRC=${FGFS_PREFIX}/src/flightgear-simgear | SIMGEAR_SRC=${FGFS_PREFIX}/src/flightgear-simgear | ||
* if you have already a clone of the | * if you have already a clone of the SimGear Git repo, the local copy can be updated using the following commands: | ||
cd -- "${FGFS_PREFIX}/src/" | cd -- "${FGFS_PREFIX}/src/" | ||
Line 127: | Line 127: | ||
popd | popd | ||
Now that the source code of | Now that the source code of SimGear is available under the directory <code>${SIMGEAR_SRC}</code>, the build can be started using the following commands: | ||
cd -- "${FGFS_PREFIX}/src/" | cd -- "${FGFS_PREFIX}/src/" |
edits