Building FlightGear - Debian: Difference between revisions

Jump to navigation Jump to search
m
update on OSG
m (Robot: Cosmetic changes)
m (update on OSG)
Line 3: Line 3:


Even on Debian '''Oldstable''' 5.x (Lenny) this guide will work for both, 2.2.0 and GIT. At least until one or more dependencies of the GIT version are changing or beeing added.
Even on Debian '''Oldstable''' 5.x (Lenny) this guide will work for both, 2.2.0 and GIT. At least until one or more dependencies of the GIT version are changing or beeing added.
The meaning of this article is to be a short, checklist like, overview of the specific steps to compile FlightGear and components on Debian. For more detailed information please refer to the main article [[Building_FlightGear_-_Linux | Building FlightGear on Linux]].


If you don't want to make your hands dirty, have a look at [[Scripted Compilation on Linux Debian/Ubuntu]].
If you don't want to make your hands dirty, have a look at [[Scripted Compilation on Linux Debian/Ubuntu]].
Line 21: Line 23:
* libboost1.37-dev (min 1.37, 1.40 available for Lenny on backports.debian.org)
* libboost1.37-dev (min 1.37, 1.40 available for Lenny on backports.debian.org)


During installation package ''simgear-dev'' '''must not''' be installed. It can safely be re-installed after compilation. Same for ''openscenegraph-dev'', if you're using a version differnt to that in the Debian repository.
During installation packages ''simgear-dev'' and ''openscenegraph-dev'' '''must not''' be installed. They can safely be re-installed after compilation.




Line 55: Line 57:


=== OpenSceneGraph ===
=== OpenSceneGraph ===
<u>2.2.0 only:</u>
su -c "apt-get install libopenscenegraph-dev"
<!-- cd $srcdir
svn co -r 12170 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk OpenSceneGraph -->
<u>GIT only:</u>
Mostly the latest revision from OpenSceneGraph svn does suit. However, sometimes this does not work and as a fallback one can go backwards through the revisions. Revision must be at least 12170 (February 2011).<br />
  cd $srcdir
  cd $srcdir
  svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk OpenSceneGraph
  svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.9.10 OpenSceneGraph  
  ln -s lib $prefix/lib64  # 64bit OS' only, if lib64 does not exist
  ln -s lib $prefix/lib64  # 64bit OS' only, if lib64 does not exist
  mkdir osg-build && cd osg-build
  mkdir osg-build && cd osg-build
392

edits

Navigation menu