Building FlightGear - Debian: Difference between revisions

→‎OpenSceneGraph: change OSG revisions. Use of OSG SVN is not recommended for the normally advanced GIT user...
m (Reworked the topology of the topics and did some minor corrections.)
(→‎OpenSceneGraph: change OSG revisions. Use of OSG SVN is not recommended for the normally advanced GIT user...)
Line 60: Line 60:


==== OpenSceneGraph ====
==== OpenSceneGraph ====
<u>2.2.0 only:</u>
<u>2.0.0:</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
svn checkout http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.9.9 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
  cd $srcdir
  svn co -r 12072 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk OpenSceneGraph
  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.


<u>GIT only:</u>
At the moment (February 2011) the latest OSG SVN trunk does ''not'' compile with FlightGear.
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>
The highest reported working revision of OSG SVN is '''rev 12072''', so you could
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 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk OpenSceneGraph
  svn co -r 12072 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk OpenSceneGraph


<u>2.2.0 and GIT:</u>
<u>2.2.0 and GIT:</u>
Line 74: Line 87:
  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 ===
159

edits