Building FlightGear - Debian: Difference between revisions

added WED and updated fgrun
m (update to fgrun 1.6.2)
(added WED and updated fgrun)
Line 137: Line 137:


Feel free to add the commands to install other FlightGear related projects.
Feel free to add the commands to install other FlightGear related projects.


=== [[Atlas]] ===
=== [[Atlas]] ===
Line 173: Line 174:
To build [[fgrun]] one more package is required:
To build [[fgrun]] one more package is required:
* libfltk1.1-dev
* libfltk1.1-dev
<u>2.8.0 only:</u>
  cd $srcdir
  cd $srcdir
  wget --trust-server-names http://sourceforge.net/projects/fgrun/files/fgrun/1.6.2/fgrun-1.6.2.tar.bz2/download
  wget --trust-server-names http://sourceforge.net/projects/fgrun/files/fgrun/1.6.2/fgrun-1.6.2.tar.bz2/download
Line 180: Line 182:
  make install
  make install


<u>GIT only:</u>
cd $srcdir
git clone http://mapserver.flightgear.org/git/fgrun
mkdir $srcdir/fgrun-build && cd $srcdir/fgrun-build
LANG=; cmake -D CMAKE_INSTALL_PREFIX:PATH="$prefix" $srcdir/fgrun
make install
<u>2.8.0 and GIT:</u>
  export LD_LIBRARY_PATH=$prefix/lib/:$LD_LIBRARY_PATH
  export LD_LIBRARY_PATH=$prefix/lib/:$LD_LIBRARY_PATH
  $prefix/bin/fgrun
  $prefix/bin/fgrun
Line 185: Line 195:


=== TaxiDraw ===
=== TaxiDraw ===
[[File:Zeichen_101_icon.png|21px]] Obsolete! Use [[#WorldEditor|WorldEditor]] instead.<br />
To compile [[Taxidraw|TaxiDraw]] we need to install some more packages:
To compile [[Taxidraw|TaxiDraw]] we need to install some more packages:
* either libcurl4-gnutls-dev or libcurl4-openssl-dev for curl.h
* either libcurl4-gnutls-dev or libcurl4-openssl-dev for curl.h
Line 211: Line 222:
''Need some help?''
''Need some help?''
Look at forum topics : http://www.flightgear.org/forums/viewtopic.php?f=20&t=14849
Look at forum topics : http://www.flightgear.org/forums/viewtopic.php?f=20&t=14849


==== Basic Installation ====
==== Basic Installation ====
To resolve some of the dependencies of [[TerraGear]] the GIT sections of steps [[#plib|plib]], [[#OpenSceneGraph|OpenSceneGraph]] and [[#SimGear|SimGear]] have to be done first. Additionally some packages and their dependencies have to be installed:
To resolve some of the dependencies of [[TerraGear]] the GIT sections of steps [[#plib|plib]], [[#OpenSceneGraph|OpenSceneGraph]] and [[#SimGear|SimGear]] have to be done first. Additionally some packages and their dependencies have to be installed:
* libgdal1-dev, gdal-bin
* libgdal1-dev, gdal-bin
Line 250: Line 260:
  sed s/-O2// -i src/Lib/TriangleJRS/Makefile
  sed s/-O2// -i src/Lib/TriangleJRS/Makefile
  make install
  make install
=== WorldEditor (WED) ===
Because this is the same for all Linux distributions the instructions are not listed here separately. Please refer to our [[WorldEditor#Linux|lead WED article]].




392

edits