8,814
edits
m (Add link to readme on Gitorious) |
(Required software, directory tree in wiki markup) |
||
| Line 1: | Line 1: | ||
{{Main article|Building Flightgear}} | {{Main article|Building Flightgear}} | ||
== | == Required software == | ||
* [http://www.cmake.org CMake GUI] | |||
* [http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express Microsoft Visual Studio 2010 Express] | |||
* [http://code.google.com/p/msysgit/ msysGit] | |||
== Directory tree == | |||
On Windows, assumptions on the directory structure are made to automate the discovery of dependencies. | On Windows, assumptions on the directory structure are made to automate the discovery of dependencies. | ||
This recommended directory structure is described below: | This recommended directory structure is described below: | ||
<tt> | |||
: ${MSVC_3RDPARTY_ROOT} / | |||
:: [ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32/MSVC/fgfs-win32-VS100-3rdParty+OSG-20120304.zip 3rdParty] / </tt> ( includes plib, fltk, zlib, libpng, libjpeg, libtiff, freetype, libsvn, gdal, ... ) <tt> | |||
::: bin / | |||
::: include / | |||
::: lib / | |||
:: 3rdParty.x64 / </tt> ( 64 bit version ) <tt> | |||
::: bin / | |||
::: include / | |||
::: lib / | |||
:: boost_1_44_0 / | |||
::: boost / | |||
:: install / | |||
::: msvc100 / </tt> ( for VS2010 32 bits, or msvc90, msvc90-64 or msvc100-64 for VS2008 32, VS2008 64 and VS2010 64 ) <tt> | |||
:::: [http://flightgear.simpits.org:8080/job/OSG-stable-Win/lastSuccessfulBuild/artifact/*zip*/archive.zip OpenSceneGraph] / </tt> ( OSG CMake install ) <tt> | |||
::::: bin / | |||
::::: include / | |||
::::: lib / | |||
:::: SimGear / | |||
::::: include / | |||
::::: lib /</tt> | |||
If you do not use the recommended structure you will need to enter paths by hand. Source and build directories can be located anywhere. | If you do not use the recommended structure you will need to enter paths by hand. Source and build directories can be located anywhere. | ||
| Line 30: | Line 38: | ||
CMAKE_INSTALL_PREFIX : ${MSVC_3RDPARTY_ROOT}/install/msvc100/FlightGear (or any variation for the compiler version described above ) | CMAKE_INSTALL_PREFIX : ${MSVC_3RDPARTY_ROOT}/install/msvc100/FlightGear (or any variation for the compiler version described above ) | ||
== Building == | |||
# Set up a work directory as described above. | # Set up a work directory as described above. | ||
# Open the Cmake gui. | # Open the Cmake gui. | ||