User:Legoboyvdlp/Building using CMake - Windows: Difference between revisions

→‎Required software: Update required software to 2020
(Make a copy)
 
(→‎Required software: Update required software to 2020)
Line 2: Line 2:


== Required software ==
== Required software ==
{{Note|as of 12/2017, people may have to build using at least OSG 3.4 due to some compilation issues -for details, refer to [[Howto:Building FlightGear without HiDPI support]]}}
* [https://cmake.org/download/ CMake for Windows]. Download and install the Windows Win64-x64 Installer.
 
* [https://visualstudio.microsoft.com/downloads/ Microsoft Visual Studio 2019] (MSVC). The Community version is free. There is no need for the premium versions; none of their features are required to build FlightGear. The C++ compiler will not be installed by default. You either choose this component during installation or after installation by starting MSVC and trying to create a new C++ project. The one to download is "Desktop Development with C++". Make sure to have the last version of the Windows SDK and C++ Compiler checked. As of 08/10/2020, the latest version of the compiler is "MSVC 142 - VS 2019 C++ x64/86 build tools (v14.27)".
* [http://www.cmake.org CMake GUI]
* [https://www.qt.io/download-open-source/ Qt5] for the [[Integrated Qt5 Launcher]]
* [https://www.visualstudio.com/vs/visual-studio-express/ Microsoft Visual Studio 2015 Express] (MSVC). The C++ compiler will not be installed by default. You either choose this component during installation or after installation by starting MSVS and try to create a new C++ project. Also make sure to have the component "C++ Foundation Classes" marked. These are also required.
* [https://git-scm.com/download/win Git] to keep your build up to date. It also simplifies downloads of components. Optional, but can't recommend it enough!
* [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. According to the authors experience it is important to have a clean installation of both the SDK and MSVC. Ignoring any errors during installation might lead to annoying problems later. So (un)installing until there are no more complaints is worth the time.
* [https://www.qt.io/download-open-source/ Qt5] for the [[Integrated Qt5 Launcher]] (optional as of 03/2015)


== Obtaining source ==
== Obtaining source ==
842

edits