Building FlightGear - Debian: Difference between revisions

Undo revision 28343 by ThorstenB (talk) -- http://sourceforge.net/mailarchive/message.php?msg_id=27063330
(Undo revision 28344 by ThorstenB (talk) -- had to undo this in order to undo the previous step. Will add it again later.)
(Undo revision 28343 by ThorstenB (talk) -- http://sourceforge.net/mailarchive/message.php?msg_id=27063330)
Line 60: Line 60:


==== OpenSceneGraph ====
==== OpenSceneGraph ====
<u>2.0.0:</u>
<u>2.2.0 only:</u>
The official OSG version used with FG2.0.0 is '''OSG 2.8.3''' (OSG stable release).
 
<u>2.2.0:</u>
The official OSG version used with FG2.2.0 is '''OSG 2.9.9''' (OSG development release). However, you can also use OSG 2.8.3 (latest stable OSG release) - or any version in between. OSG versions including 2.9.11 and above are known to be '''incompatible''' with FG2.2.0.
 
  cd $srcdir
  cd $srcdir
  svn checkout http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.9.9 OpenSceneGraph
  svn co -r 12072 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk OpenSceneGraph
 
<u>GIT:</u>
The best OSG version to be used with FG GIT changes over time. Generally the latest official stable OSG release and/or developer release is recommended.
At the moment (February 2011), it's recommended to use '''OSG 2.9.9''' with FG GIT.
cd $srcdir
svn checkout http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.9.9 OpenSceneGraph
 
If you're interested in OSG-related development, you can also try the lastest OSG trunk.
However, sometimes this does not work since the OSG trunk changes (daily/hourly...) and it may take a while until the FlightGear sources have adapted.


At the moment (February 2011) the latest OSG SVN trunk does ''not'' compile with FlightGear.
<u>GIT only:</u>
The highest reported working revision of OSG SVN is '''rev 12072''', so you could
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.<BR>
At the moment (February 2011) this is the case. '''Highest reported working revision is 12072''', checkout the source as shown above at ''2.2.0 only''.
  cd $srcdir
  cd $srcdir
  svn co -r 12072 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk OpenSceneGraph
  svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk OpenSceneGraph


<u>2.2.0 and GIT:</u>
<u>2.2.0 and GIT:</u>
Line 87: Line 74:
  cmake -D CMAKE_BUILD_TYPE="Release" -D CMAKE_INSTALL_PREFIX:PATH="$prefix" $srcdir/OpenSceneGraph
  cmake -D CMAKE_BUILD_TYPE="Release" -D CMAKE_INSTALL_PREFIX:PATH="$prefix" $srcdir/OpenSceneGraph
  make install
  make install


=== FlightGear and Components ===
=== FlightGear and Components ===
392

edits