20
edits
Line 47: | Line 47: | ||
## Set <tt>"Where is the source code"</tt> to wherever you put the SimGear sources (from the released tarball or the git repository). | ## Set <tt>"Where is the source code"</tt> to wherever you put the SimGear sources (from the released tarball or the git repository). | ||
## Set <tt>"Where to build the binaries"</tt> to an empty directory. | ## Set <tt>"Where to build the binaries"</tt> to an empty directory. | ||
## Press the <tt>"Configure"</tt> button. The first time that the project is configured, CMake will bring up a window asking which compiler you wish to use. | ## Press the <tt>"Configure"</tt> button. The first time that the project is configured, CMake will bring up a window asking you to "Specify the generator for this project" i.e. which compiler you wish to use. Select Visual Studio 10, (or Visual Studio 10 Win64 for 64 bit), and press Finish. CMake will now do a check on your system and will produce a preliminary build configuration. | ||
## CMake adds new configuration variables in red. Some have a value ending with <tt>-NOTFOUND</tt>. These variables should receive your attention. Some errors will prevent SimGear to build and others will simply invalidate some options without provoking build errors. | ## CMake adds new configuration variables in red. Some have a value ending with <tt>-NOTFOUND</tt>. These variables should receive your attention. Some errors will prevent SimGear to build and others will simply invalidate some options without provoking build errors. | ||
### First check the <tt>MSVC_3RDPARTY_ROOT</tt> variable. If it is not set, chances are that there will be a lot of <tt>-NOTFOUND</tt> errors. Instead of trying to fix every error individually, set that variable to the location of the directory structure that is presented above. Then press the <tt>"Configure"</tt> button again. | ### First check the <tt>MSVC_3RDPARTY_ROOT</tt> variable. If it is not set, chances are that there will be a lot of <tt>-NOTFOUND</tt> errors. Instead of trying to fix every error individually, set that variable to the location of the directory structure that is presented above. Then press the <tt>"Configure"</tt> button again. |
edits