|SLADE||3||It's a Doom editor|
Windows Step By Step Compilation
This is a basic, step-by-step guide to getting SLADE compiling in Windows, using Visual Studio Community 2015.
1. Setup and Install Tools
Install Visual Studio
Download Visual Studio 2015 Community from here. When installing, select 'Custom' installation and make sure to select 'Visual C++', 'Git for Windows' and 'GitHub Extension for Visual Studio'.
2. Setup Required Libraries
Create a folder somewhere on your hard drive to contain all the libraries and SLADE sources, if you don't already have something like this. For example purposes, this guide will assume the directory created is
Download the latest wxWidgets (Windows 7z) release from here (currently 3.1.0). Extract the 7z to the libs folder, eg.
Next, open the wxWidgets folder and open the file
On the toolbar there should be a dropdown menu with 'Debug' selected - change this to 'Release' instead, then select 'Build → Build Solution' from the menu.
Download the latest release of SFML from the SFML website. Make sure to get the one for Visual C++ 14 (32 bit).
Once it has downloaded, extract it to the libs folder, eg.
Due to its reliance on GLib, FluidSynth is a huge pain to compile in Windows. Additionally, when it is compiled, anything using it will also need the GLib DLLs to run. This is obviously highly undesirable, but luckily there are precompiled binaries available that have GLib statically linked, meaning no extra DLLs are needed. These are included with the SLADE sources so no extra setup is required for fluidsynth.
Go to http://freeimage.sourceforge.net/download.html and download the 'FreeImage DLL' zip. Extract this to the libs folder eg.
3. Download SLADE Sources
Run Visual Studio 2015. There should be a 'Team Explorer' section somewhere, but if not, open it by selecting 'Team Explorer' in the 'View' menu. In the team explorer section, click the plug icon at the top, 'Connect'. You should now see a 'Local Git Repositories' section.
Click 'Clone' and copy+paste the following URL into the text box that appears:
4. Setup and Compile SLADE
Now that we have the sources and git repository set up in Visual Studio, we can open the SLADE solution file and build it. Double-click the newly added repository to switch to it. You should now see the 'Home' at the top of the team explorer section, and two
Setup library path macros
So that Visual Studio knows where to look for the required libraries we downloaded earlier, you will need to set up some macros to point to them (the SLADE project file uses these macros to set include/lib directories).
This should set up all the needed macros to compile SLADE
Before compiling, make sure to select the 'Release' configuration in the toolbar (it will usually default to 'Debug'), unless you want to use the debugger. Note that the debug build is extremely slow compared to release.
Now select 'Build → Build Solution' in the menu and SLADE should begin compiling. If all goes well, you will find the executable and data in the
You will also need the dll files that come with the SLADE official release: