Building FlightGear - Linux: Difference between revisions

Jump to navigation Jump to search
Cleanup of old information.
m (People don't get lost on wikis...)
(Cleanup of old information.)
Line 4: Line 4:


Compiling FlightGear is not a task for novice users. Thus, if you're a beginner (we all were once) on a platform which binaries are available for, we recommend postponing this task and just starting with the binary distribution to get you flying.
Compiling FlightGear is not a task for novice users. Thus, if you're a beginner (we all were once) on a platform which binaries are available for, we recommend postponing this task and just starting with the binary distribution to get you flying.
'''October 29th 2006, Flightgear CVS MAIN Branch switched to OSG support.'''
Plib support remains available in CVS using PRE_OSG_PLIB_20061029 Branch.
(cvs up -rPRE_OSG_PLIB_20061029)


== Requirements ==
== Requirements ==
Line 38: Line 34:
  direct rendering: No
  direct rendering: No


Don't panic yet.  This may just mean some required libraries for hardware accelerated graphic are missing.  Go ahead and try installing plib1.8.4 and its dependencies first.  If you still get the above message, then you will need to do some googling and troubleshoot yourself.
Don't panic yet.  This may just mean some required libraries for hardware accelerated graphic are missing.  Go ahead and try installing plib 1.8.5 and its dependencies first.  If you still get the above message, then you will need to do some googling and troubleshoot yourself.


== Dependencies ==
== Dependencies ==
Line 48: Line 44:
** [http://openal.org OpenAL and ALUT]
** [http://openal.org OpenAL and ALUT]
** SimGear
** SimGear
*** [http://plib.sourceforge.net/ PLIB] (until version 0.9.10 release sources, PRE_OSG_PLIB_20061029 CVS branch). Since march 2008, you will need version 1.8.5 - your distro probably supplies 1.8.4 still.
*** [http://plib.sourceforge.net/ PLIB]. Since march 2008, you will need version 1.8.5 - your distro probably supplies 1.8.4 still.
**** For versions pre march/2008: (Free)GLUT or SDL (We recommend the use of SDL over Free/GLUT, [http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg16153.html however since march 2008, FreeGLUT as well as SDL are both considered depreciated in CVS/HEAD, please only use --enable-osgviewer during configuration instead])  
**** For versions pre march/2008: (Free)GLUT or SDL (We recommend the use of SDL over Free/GLUT, [http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg16153.html however since march 2008, FreeGLUT as well as SDL are both considered depreciated, please only use --enable-osgviewer during configuration instead])  
*** [[ OpenSceneGraph ]] (svn trunk)
*** [[ OpenSceneGraph ]] (svn trunk for FlightGear/CVS and the latest preceding OSG release for a FlightGear release)
*** You also need the development files for several basic libraries to build the software, among them the following (the package names are for Debian and derivatives(?)):
**** libfreetype6-dev
**** libfreetype6-dev
**** libjpeg62-dev
**** libjpeg62-dev
Line 58: Line 55:
**** libxmu-dev
**** libxmu-dev
**** libxi-dev
**** libxi-dev
**** zlib1g-dev
**** libglut3-dev


If you attack the above dependencies in the order listed below, you should be good:
If you attack the above dependencies in the order listed below, you should be good:
789

edits

Navigation menu