Building FlightGear - Windows: Difference between revisions

Jump to navigation Jump to search
Line 116: Line 116:
You may download a prebuilt version of plib from http://www.oflebbe.de/FlightGear/plib-2007-04-16.zip (direct link) or visit Olafe's Compiling FlightGear page at http://www.oflebbe.de/FlightGear/index.html  If you use this prebuilt, just extract the archive file's contents in your FlightGear project root directory. This will create the subdirectory '''plib'''.
You may download a prebuilt version of plib from http://www.oflebbe.de/FlightGear/plib-2007-04-16.zip (direct link) or visit Olafe's Compiling FlightGear page at http://www.oflebbe.de/FlightGear/index.html  If you use this prebuilt, just extract the archive file's contents in your FlightGear project root directory. This will create the subdirectory '''plib'''.


The above plib package does not include debug libaries, only release.  There have also been some bug fixes and changes to since that package was created, so you may wish to use the latest development version, 1.8.5-rc1 which you may download here http://sourceforge.net/projects/plib/ One annoying bug that was fixed caused joystick models to not be recognized automatically on Windows Vista (and maybe XP).
The above plib package does not include debug libaries, only release.  There have also been some bug fixes and changes to since that package was created, so you may wish to use the latest development version from SVN which you may download here http://plib.svn.sourceforge.net/viewvc/plib/trunk.tar.gz  One annoying bug that was fixed caused joystick models to not be recognized automatically on Windows Vista (and maybe XP).


Going this route means that you must compile plib yourself by following the instructions below:
Going this route means that you must compile plib yourself by following the instructions below:


* '''Step 1''' - Download the latest plib source tarball from http://sourceforge.net/projects/plib/ and extract it in some location that is NOT in your FlightGear project root directory.  This will create a subdirectory named '''plib-1.8.5-rc1'''
* '''Step 1''' - Download the latest plib source tarball from http://plib.svn.sourceforge.net/viewvc/plib/trunk.tar.gz and extract it in some location that is NOT in your FlightGear project root directory.  This will create a subdirectory named '''trunk''' which you may wish to rename to '''plib-svn''' or similar.


* '''Step 2''' - Double-click the file plib-1.8.5-rc1\plib.dsw. This should launch Visual C++ which will ask if you want to convert the project file; answer "Yes to all" at the convert prompt.
* '''Step 2''' - Double-click the file plib-svn\plib.dsw. This should launch Visual C++ which will ask if you want to convert the project file; answer "Yes to all" at the convert prompt.


* '''Step 3''' - Build the debug version of the plib libraries first by setting the VC++ Solution Configuration for Debug and hitting the F7 key.
* '''Step 3''' - Build the debug version of the plib libraries first by setting the VC++ Solution Configuration for Debug and hitting the F7 key.
Line 135: Line 135:
   C:\FlightGear\plib
   C:\FlightGear\plib


* '''Step 5''' - Copy all of the files in your plib-1.8.5-rc1 directory that have the extensions "h", "lib" and "pdb" to the new plib directory under your FlightGear project root directory.
* '''Step 5''' - Copy all of the files in your plib-svn directory that have the extensions "h", "lib" and "pdb" to the new plib directory under your FlightGear project root directory.


== Getting OpenSceneGraph (OSG)==
== Getting OpenSceneGraph (OSG)==
186

edits

Navigation menu