Building FlightGear - Windows: Difference between revisions

Jump to navigation Jump to search
Line 113: Line 113:
Copy all of the files in your plib-1.8.5-rc1 director that have the extensions "h", "lib" and "pdb" the new plib directory under your FlightGear project root directory.
Copy all of the files in your plib-1.8.5-rc1 director that have the extensions "h", "lib" and "pdb" the new plib directory under your FlightGear project root directory.


=== Getting and compiling OpenSceneGraph (OSG)===
=== Getting OpenSceneGraph (OSG)===


====Step 1====
====Step 1====


NOTE: This assumes you have already installed TortoiseSVN.
To build SimGear and FlightGear from CVS head, you'll usually need the latest version of OSG. OSG from SVN head might be the best choice, but we don't have OSG for Windows build instructions prepared yet.


Create a directory for the OpenSceneGraph source code.
Download the latest Windows binaries from this page: [http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-2.8.1/binaries/Windows/VisualStudio9/]


Example:
Get the archive(s) named "openscenegraph-all[...]". Get both the Release and Debug versions if you expect to do any debug builds of FlightGear. Otherwise, just the Release version should be fine.
 
====Step 2====


  C:\OpenSceneGraph
Create a the following directure structure under your FlightGear project root directory: "install\msvc90\"


====Step 2====
Example:


In Windows Explorer, right-click on the directory name you created in the step above.  In the resulting context menu, select "SVN Checkout...".  In the Repository URL field, enter:
   C:\FlightGear\install\msvc90\
   http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk


and click "OK".  SVN will begin downloading the latest OSG source code.


====Step 3====
====Step 3====


OSG uses CMake to manage build configurations. Download it from here http://www.cmake.org/cmake/resources/software.html and install it.
Extract the OSG archive(s) you downloaded in Step 1 in the directory you created in Step 2.


====Step 4====
====Step 4====
Rename the resulting "OpenSceneGraph-[version]" directory to simply "OpenSceneGraph".


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

edits

Navigation menu