Compiling Zandronum with Visual Studio: Difference between revisions

Rename thg section to just Mercurial; point to mercurial-scm.org as it tends to be more up to date than the thg site
(Clarify OpenSSL versions)
Tag: Source edit
(Rename thg section to just Mercurial; point to mercurial-scm.org as it tends to be more up to date than the thg site)
Tag: Source edit
 
(5 intermediate revisions by the same user not shown)
Line 9: Line 9:
[[File:Vs2022 cppdevel.png|none]]</li>
[[File:Vs2022 cppdevel.png|none]]</li>


<li>On the right-hand pane, under the '''Desktop development with C++''' section, select the '''MSVC v140 - VS 2015 C++ build tools (v14.00)''' component.
<li>On the '''Individual components''' tab, scroll down to the '''Compilers, build tools, and runtimes''' section, and select the '''MSVC v140 - VS 2015 C++ build tools (v14.00)''' and '''C++ Windows XP Support for VS 2017 (v141) tools''' components.</li>
[[File:Vs2022 v140.png|none]]</li>


<li>Proceed with the installation.</li>
<li>Proceed with the installation.</li>
Line 33: Line 32:
<!-- IGNORE THIS FOR NOW :x64 platforms use this: https://zdoom.org/files/fmod/fmodapi42416win64-installer.exe -->
<!-- IGNORE THIS FOR NOW :x64 platforms use this: https://zdoom.org/files/fmod/fmodapi42416win64-installer.exe -->


== TortoiseHg ==
== Mercurial ==
https://tortoisehg.bitbucket.io/download/index.html
Download the latest version of TortoiseHg for Windows from [https://www.mercurial-scm.org/ the Mercurial website]. This bundle includes Mercurial itself and the TortoiseHg graphical user interface.


Used for downloading the source code and fetching the Mercurial revision ID when compiling the build.
Used for downloading the source code and fetching the Mercurial revision ID when compiling the build.
Line 112: Line 111:
If you want to clone a specific revision, expand ''Options'', check ''Clone to revision'', and enter the revision you want to clone.
If you want to clone a specific revision, expand ''Options'', check ''Clone to revision'', and enter the revision you want to clone.


For example, if you wanted to download Zandronum 2.1.2's source, you'd enter <code>ZA_2.1.2</code>.
For example, if you wanted to download [[Version history/{{LatestVersion}}|Zandronum {{LatestVersion}}]]'s source, you'd enter <code>ZA_{{LatestVersion}}</code>.


== Optional prerequisites ==
== Optional prerequisites ==
Line 130: Line 129:


If it says there was an error, ignore it as we will solve it now.
If it says there was an error, ignore it as we will solve it now.
Make sure you set up all prerequisites correctly, and point CMake to the location of any missing paths.
Make sure you set up all prerequisites correctly, and point CMake to the location of any missing paths. Select the '''Advanced''' and '''Grouped''' checkboxes to reveal and group all options.


Then click ''Configure'' again, and point CMake to missing paths.
Then click ''Configure'' again, and point CMake to missing paths.