Building FlightGear - Devuan: Difference between revisions

Jump to navigation Jump to search
Add new dependency libc-ares.
m (OSG update and some dependencies)
(Add new dependency libc-ares.)
Line 17: Line 17:
: If you prefer you might replace <code>libcurl4-openssl-dev</code> by <code>libcurl4-gnutls-dev</code>.
: If you prefer you might replace <code>libcurl4-openssl-dev</code> by <code>libcurl4-gnutls-dev</code>.
: For VR support add package <code>libopenxr-dev</code> to the list below.
: For VR support add package <code>libopenxr-dev</code> to the list below.
: [[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 <code>libplib-dev</code>, <code>libpopenscenegraph-dev</code> and <code>libsimgear-dev</code>.
: [[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 <code>libc-ares-dev</code>, <code>libplib-dev</code>, <code>libpopenscenegraph-dev</code> and <code>libsimgear-dev</code>.
  su - -c "apt-get remove libopenscenegraph-dev, libplib-dev libsimgear-dev"
  su - -c "apt-get remove libc-ares-dev libopenscenegraph-dev libplib-dev libsimgear-dev"


  su - -c "apt-get install freeglut3-dev libavcodec-dev libavformat-dev libboost-dev libc-ares-dev libcurl4-openssl-dev libdbus-1-dev libeudev-dev libevent-dev libfreetype6-dev libglew-dev libjpeg62-turbo-dev liblzma-dev libopenal-dev libqt5quick5 libqt5svg5-dev librsvg2-dev libswscale-dev libxi-dev libxmu-dev pkg-config qtbase5-dev qtbase5-private-dev qtdeclarative5-dev qttools5-dev zlib1g-dev"
  su - -c "apt-get install freeglut3-dev libavcodec-dev libavformat-dev libboost-dev libc-ares-dev libcurl4-openssl-dev libdbus-1-dev libeudev-dev libevent-dev libfreetype6-dev libglew-dev libjpeg62-turbo-dev liblzma-dev libopenal-dev libqt5quick5 libqt5svg5-dev librsvg2-dev libswscale-dev libxi-dev libxmu-dev pkg-config qtbase5-dev qtbase5-private-dev qtdeclarative5-dev qttools5-dev zlib1g-dev"
Line 44: Line 44:




=== [[plib]] ===
=== libc-ares ===
This step is only required to compile FlightGear 'next':
cd $FG_SRC_DIR
<nowiki>git clone https://github.com/c-ares/c-ares.git libc-ares.git</nowiki>
cd libc-ares.git
git checkout v1.34
mkdir -p $FG_SRC_DIR/build-c-ares && cd $FG_SRC_DIR/build-c-ares
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX="$FG_INSTALL_DIR" $FG_SRC_DIR/libc-ares.git
make -j$(nproc)
make install
 
 
=== [[plib|libplib]] ===
While just installing package libplib-dev should work, it's  [http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg20793.html recommended] to build it from source. In this case libplib-dev ''must not'' be installed during the installation process of Simgear and Flightgear!
While just installing package libplib-dev should work, it's  [http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg20793.html recommended] to build it from source. In this case libplib-dev ''must not'' be installed during the installation process of Simgear and Flightgear!
  cd $FG_SRC_DIR
  cd $FG_SRC_DIR
406

edits

Navigation menu