Compiling Zandronum with Visual Studio: Difference between revisions

More adjustments relating to removing VS2005
(Remove the VS2005 build guide. It no longer works given Zan's recent dependency on C++11)
(More adjustments relating to removing VS2005)
Line 1: Line 1:
= Prerequisites =
= Prerequisites =
== Visual Studio ==
You will require Visual Studio to compile Zandronum.
In this guide, Visual Studio 2013 will be used, however it is recommended Visual Studio 2015 is used instead (the instructions are the same).
== CMake ==
Download the latest version of CMake from [http://cmake.org cmake.org]. We will use this to generate the projects.
== NASM ==
== NASM ==
http://www.nasm.us/
http://www.nasm.us/


For VC++ 2015, the latest nasm version is required. Currently, this is [http://www.nasm.us/pub/nasm/releasebuilds/2.11.08/nasm-2.11.08.zip Version 2.11.08].
For VC++ 2015, the latest nasm version is required. Currently, this is [http://www.nasm.us/pub/nasm/releasebuilds/2.11.08/nasm-2.11.08.zip Version 2.11.08].
For VC++ 2005, [http://www.nasm.us/pub/nasm/releasebuilds/2.00/nasm-2.00-win32.zip Version 2.00] (no older nor newer) is required.


== FMOD Ex ==
== FMOD Ex ==
Line 19: Line 24:


Used for downloading the soruce and fetching the Mercurial revision ID when compiling the build.
Used for downloading the soruce and fetching the Mercurial revision ID when compiling the build.
== Windows Platform SDK ==
<!-- Because I had this problem when trying to install the package and received nothing but issues including signature errors and whatnot, really - use what is recommended! Thanks for the help Torr! -Tiger -->
http://www.microsoft.com/en-us/download/details.aspx?id=18950
Version 7.0 or older is required.
'''IMPORTANT''': If you are on x64, get the GRMSDKX version, the ones without the X will not work.


== DirectX SDK ==
== DirectX SDK ==
Line 91: Line 89:


= Build using Visual Studio 2015 or higher =
= Build using Visual Studio 2015 or higher =
== Prerequisites ==
=== Visual Studio ===
You will require Visual Studio to compile Zandronum.
In this guide, Visual Studio 2013 will be used, however it is recommended Visual Studio 2015 is used instead (the instructions are the same).
=== CMake ===
Download the latest version of CMake from [http://cmake.org cmake.org]. We will use this to generate the projects.
== Generate Projects ==
== Generate Projects ==
Open CMake (<code>cmake-gui</code>) and set the ''Where is the source code'' textbox to where you downloaded the Zandronum source code. Set ''Where to build the binaries'' to wherever you want the project files to be generated.
Open CMake (<code>cmake-gui</code>) and set the ''Where is the source code'' textbox to where you downloaded the Zandronum source code. Set ''Where to build the binaries'' to wherever you want the project files to be generated.