392
edits
m (update on dependencies: libqt5svg5-dev) |
(update for 2018.3) |
||
Line 1: | Line 1: | ||
HowTo build [[FlightGear]] <u>Stable</u> ([[Changelog_2018. | HowTo build [[FlightGear]] <u>Stable</u> ([[Changelog_2018.3|2018.3]]) or bleeding edge development version, hereinafter simply called <u>[[FlightGear_Git#Repositories_and_branches | Next]]</u>, on [https://devuan.org/ Devuan] GNU/Linux Stable (ASCII). Users of Testing or Unstable at least have to change package names (version numbering) accordingly.<br /> | ||
Instructions probably apply on [https://debian.org/ Debian] GNU/Linux Stretch, too. | Instructions probably apply on [https://debian.org/ Debian] GNU/Linux Stretch, too. | ||
Line 18: | Line 18: | ||
; Dependencies | ; Dependencies | ||
su -c "apt-get install \ | su -c "apt-get install \ | ||
freeglut3-dev | freeglut3-dev libopenscenegraph-dev qml-module-qtquick-window2 \ | ||
libboost-dev libqt5opengl5-dev qt5-default \ | |||
libcurl4-openssl-dev libqt5svg5-dev qtbase5-private-dev \ | |||
libdbus-1-dev libxi-dev qtdeclarative5-private-dev \ | |||
libfreetype6-dev libxmu-dev qttools5-dev \ | |||
libglew-dev pkg-config \ | |||
libopenal-dev qml-module-qtquick2" | |||
: If you prefer you might replace "libcurl4-openssl-dev" by "libcurl4-gnutls-dev". | : If you prefer you might replace "libcurl4-openssl-dev" by "libcurl4-gnutls-dev". | ||
Line 64: | Line 66: | ||
<u>Stable</u> only: | <u>Stable</u> only: | ||
cd simgear.git | cd simgear.git | ||
git checkout release/2018. | git checkout release/2018.3 | ||
<u>Stable</u> and <u>Next</u>: | <u>Stable</u> and <u>Next</u>: | ||
mkdir $FG_SRC_DIR/build-sg && cd $FG_SRC_DIR/build-sg | mkdir $FG_SRC_DIR/build-sg && cd $FG_SRC_DIR/build-sg | ||
cmake CFLAGS="--std=c++11" -D CMAKE_INSTALL_PREFIX:PATH="$FG_INSTALL_DIR" | cmake CFLAGS="--std=c++11" -D CMAKE_BUILD_TYPE=Release \ | ||
-D CMAKE_INSTALL_PREFIX:PATH="$FG_INSTALL_DIR" $FG_SRC_DIR/simgear.git | |||
make -j$(nproc) && make install | make -j$(nproc) && make install | ||
Line 80: | Line 82: | ||
<u>Stable</u> only: | <u>Stable</u> only: | ||
cd flightgear.git | cd flightgear.git | ||
git checkout release/2018. | git checkout release/2018.3 | ||
<u>Stable</u> and <u>Next</u>: | <u>Stable</u> and <u>Next</u>: | ||
mkdir $FG_SRC_DIR/build-fg && cd $FG_SRC_DIR/build-fg | mkdir $FG_SRC_DIR/build-fg && cd $FG_SRC_DIR/build-fg | ||
cmake CFLAGS="--std=c++11" -D FG_DATA_DIR:PATH="$FG_INSTALL_DIR/share/fgdata" \ | cmake CFLAGS="--std=c++11" -D CMAKE_BUILD_TYPE=Release \ | ||
-D FG_DATA_DIR:PATH="$FG_INSTALL_DIR/share/fgdata" \ | |||
-D CMAKE_INSTALL_PREFIX:PATH="$FG_INSTALL_DIR" $FG_SRC_DIR/flightgear.git | -D CMAKE_INSTALL_PREFIX:PATH="$FG_INSTALL_DIR" $FG_SRC_DIR/flightgear.git | ||
make -j$(nproc) && make install | make -j$(nproc) && make install | ||
Line 96: | Line 99: | ||
<u>Stable</u> only: | <u>Stable</u> only: | ||
cd fgdata | cd fgdata | ||
git checkout release/2018. | git checkout release/2018.3 | ||
edits