Building FlightGear - Debian: Difference between revisions

Added {{Out_of_date}} and modified OSG build process
mNo edit summary
(Added {{Out_of_date}} and modified OSG build process)
Line 1: Line 1:
{{Out_of_date}}
SimGear and FlightGear build commands for git-version are obsolete, see  [http://mapserver.flightgear.org/git/?p=flightgear;a=blob_plain;f=README.cmake README.cmake] for more details. Fetching git-data might be outdated as well. Please update this article while you're at it ;-).
----
HowTo build FlightGear 2.4.0 or bleeding edge development version, hereinafter simply called ''GIT'', on GNU/Linux Debian '''Stable''' 6.x (Squeeze) and '''Testing''' (Wheezy).
HowTo build FlightGear 2.4.0 or bleeding edge development version, hereinafter simply called ''GIT'', on GNU/Linux Debian '''Stable''' 6.x (Squeeze) and '''Testing''' (Wheezy).


Line 58: Line 64:
=== OpenSceneGraph ===
=== OpenSceneGraph ===
<u>GIT</u> users, especially developers, may want to use the latest release or even bleeding edge code here. Have in mind that, at the time of the FlightGear 2.4.0 release, there are some issues with newer versions than 2.9.10!
<u>GIT</u> users, especially developers, may want to use the latest release or even bleeding edge code here. Have in mind that, at the time of the FlightGear 2.4.0 release, there are some issues with newer versions than 2.9.10!
mkdir $prefix/lib        # 64bit OS' only, if it does not exist yet
ln -s lib $prefix/lib64  # 64bit OS' only, if lib64 does not exist
  cd $srcdir
  cd $srcdir
  svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.9.10 OpenSceneGraph  
  svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.9.10 OpenSceneGraph
sed 's|SET(LIB_POSTFIX "64" CACHE|SET(LIB_POSTFIX "" CACHE|' -i OpenSceneGraph/CMakeLists.txt
  mkdir osg-build && cd osg-build
  mkdir osg-build && cd osg-build
  cmake -D CMAKE_BUILD_TYPE="Release" \
  cmake -D CMAKE_BUILD_TYPE="Release" \
392

edits