Building FlightGear - Windows: Difference between revisions

Jump to navigation Jump to search
Line 73: Line 73:


Extract the archive in your FlightGear project root directory, '''C:\FlightGear\''' in these instructions.  This will create the directory '''3rdParty''' under your project root directory.
Extract the archive in your FlightGear project root directory, '''C:\FlightGear\''' in these instructions.  This will create the directory '''3rdParty''' under your project root directory.
=== Getting plib ===
(TODO: explain what plib is/does/provides for FlightGear)
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'''.
There have been some bug fixes and changes to plib since the above 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/
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 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 3====
Build the debug version of the plib libraries first by setting the VC++ Solution Configuration for Debug and hitting the F7 key.
Build the release version of the plib libraries next by setting the VC++ Solution Configuration for Release and hitting the F7 key.
NOTE: as of this writing, 5 compile errors in 4 files will occur. In each case, a typecast of '''(char*)''' must be added in order to compile without error using VC++ 2008 (VC90).
====Step 4====
Create  subdirectory '''plib''' in your FlightGear project root directory.
Example:
  C:\FlightGear\plib
====Step 5====
Copy the files listed in this text file to your new plib directory.


=== Getting and compiling SimGear ===
=== Getting and compiling SimGear ===
186

edits

Navigation menu