Building FlightGear - Devuan: Difference between revisions

Jump to navigation Jump to search
Update for 2018.3.2 (OSG v3.4.1)
m (note about libplib-dev)
(Update for 2018.3.2 (OSG v3.4.1))
Line 26: Line 26:
: 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".


: [[File:Zeichen_144_icon.png|21px]] During installation development packages of libraries which are going to be compiled ''must not'' be installed. They can safely be re-installed after compilation. Namely these are "libplib-dev" and "simgear-dev".
: [[File:Zeichen_144_icon.png|21px]] During installation development packages of libraries which are going to be compiled ''must not'' be installed. They can safely be re-installed after compilation. Namely these are "libplib-dev", "libopenscenegraph-3.4-dev", "libopenscenegraph-dev" and "simgear-dev".




Line 54: Line 54:
  mkdir $FG_SRC_DIR/build-plib && cd $FG_SRC_DIR/build-plib
  mkdir $FG_SRC_DIR/build-plib && cd $FG_SRC_DIR/build-plib
  cmake -D CMAKE_INSTALL_PREFIX:PATH="$FG_INSTALL_DIR" $FG_SRC_DIR/libplib.git
  cmake -D CMAKE_INSTALL_PREFIX:PATH="$FG_INSTALL_DIR" $FG_SRC_DIR/libplib.git
make -j$(nproc) && make install
=== [[OpenSceneGraph]] ===
<u>Stable</u> and <u>Next</u>: <br />
Recommended version is 3.4.1 while the Devuan/Debian repo provides only 3.4.0. Plus, at this time, SimGear does not compile against 3.4.0 so we have to compile it ourselfes.
cd $FG_SRC_DIR
<nowiki>git clone --branch OpenSceneGraph-3.4.1 git://github.com/openscenegraph/OpenSceneGraph.git OpenSceneGraph.git</nowiki>
mkdir $FG_SRC_DIR/build-osg && cd $FG_SRC_DIR/build-osg
cmake -D LIB_POSTFIX="" -D CMAKE_INSTALL_PREFIX:PATH="$FG_INSTALL_DIR" $FG_SRC_DIR/OpenSceneGraph.git
  make -j$(nproc) && make install
  make -j$(nproc) && make install


392

edits

Navigation menu