]> git.mxchange.org Git - simgear.git/blob - INSTALL
a55dede0ebe47a9b2f60825a81b64e71ec29c47a
[simgear.git] / INSTALL
1 How to build SimGear
2 ====================
3
4 SimGear uses the CMake build system to generate a platform-specific
5 build environment.  CMake reads the CMakeLists.txt files that you'll
6 find throughout the source directories, checks for installed
7 dependencies and then generates the appropriate build system.
8
9 If you don't already have CMake installed on your system you can grab
10 it from http://www.cmake.org, use version 2.6.4 or later.
11
12 Under unices (i.e. Linux, Solaris, Free-BSD, HP-Ux, OSX) use the cmake
13 or ccmake command-line utils. Preferably, create an out-of-source
14 build directory and run cmake or ccmake from there. The advantage to
15 this approach is that the temporary files created by CMake won't
16 clutter the source directory, and also makes it possible to have
17 multiple independent build targets by creating multiple build
18 directories. In a directory alongside the SimGear source directory
19 use:
20
21     mkdir sgbuild
22     cd sgbuild
23     cmake ../simgear -DCMAKE_BUILD_TYPE=Release
24     make
25     sudo make install
26
27
28 Build Dependencies
29 ==================
30 SimGear depends on a number of 3rd party libraries, the most notable
31 being:
32
33 * OpenSceneGraph (OSG) - see README.OSG
34 * Portable Games Library (PLIB) - see README.plib
35 * zlib compression library - see README.zlib
36 * Open Audio Library (OpenAL) - see README.OpenAL
37 * Subversion Client Library (optional dependency)
38
39
40 Further information
41 ===================
42 * README.cmake
43   for more detailed CMake instructions
44
45 * README.msvc
46   in the FlightGear source package for more Windows-specific instructions
47
48 * FlightGear Wiki
49   http://wiki.flightgear.org/Building_Flightgear
50
51 * FlightGear Forums
52   For help on building see: http://www.flightgear.org/forums
53   => Support/Compiling
54
55 * FlightGear Mailing lists
56   http://wiki.flightgear.org/index.php/Mailing_list
57