6,566
edits
(→Directory tree: Updated the msvc directories to msvc140*.) |
(Updates for the build system now being based on VS2015.) |
||
Line 3: | Line 3: | ||
== Required software == | == Required software == | ||
* [http://www.cmake.org CMake GUI] | * [http://www.cmake.org CMake GUI] | ||
* [ | * [https://www.visualstudio.com/vs/visual-studio-express/ Microsoft Visual Studio 2015 Express] (MSVC) | ||
* [http://www.microsoft.com/en-us/download/details.aspx?id=8279 Microsoft Windows SDK] (only required for 64-bit builds) | * [http://www.microsoft.com/en-us/download/details.aspx?id=8279 Microsoft Windows SDK] (only required for 64-bit builds) | ||
: If you get an error during the installation of the SDK, try uninstalling MSVC redist packages first, then installing the SDK without compilers and then finally re-installing MSVC. | : If you get an error during the installation of the SDK, try uninstalling MSVC redist packages first, then installing the SDK without compilers and then finally re-installing MSVC. | ||
* Qt5 for the [[Integrated Qt5 Launcher]] (optional as of 03/2015) | * Qt5 for the [[Integrated Qt5 Launcher]] (optional as of 03/2015) | ||
Line 77: | Line 76: | ||
## Repeat the process from step 5, until [[File:CMake GUI Generate.png]] is enabled. | ## Repeat the process from step 5, until [[File:CMake GUI Generate.png]] is enabled. | ||
## Press [[File:CMake GUI Generate.png]]. | ## Press [[File:CMake GUI Generate.png]]. | ||
## Start Visual Studio | ## Start Visual Studio 2015 and open the SimGear solution (SimGear.sln) located in <tt>"Where to build the binaries"</tt>. | ||
## Choose the <tt>"Release"</tt> build in the | ## Choose the <tt>"Release"</tt> build in the toolbar. The right menu should read Win32 for 32-bits or x64 for 64-bits. [[File:MVSC 2010 solution.png|right]] | ||
## Generate the solution with F7 key or right-click the top level "Solution SimGear" in the Solution Explorer and choose Build. | ## Generate the solution with F7 key or right-click the top level "Solution SimGear" in the Solution Explorer and choose Build. | ||
## If there are build errors, return to CMake, clear remaining errors, [[File:CMake GUI Configure.png]] and [[File:CMake GUI Generate.png]]. | ## If there are build errors, return to CMake, clear remaining errors, [[File:CMake GUI Configure.png]] and [[File:CMake GUI Generate.png]]. |