forked from sirjuddington/SLADE
-
Notifications
You must be signed in to change notification settings - Fork 0
Unix Compilation
Simon Judd edited this page Dec 20, 2013
·
5 revisions
To compile SLADE3 on unix based systems, the following libraries are required:
-
wxWidgets 3.0+ (NOT 2.8): As wxWidgets 3.0 is not currently available in most package-based distros, it will have to be compiled itself. When
./configure
-ing wxWidgets, you will need to specify--enable-mediactrl
and--enable-webview
. Instructions for compiling wxWidgets can be found in “docs/gtk/install.txt” in the wxWidgets tarball. See the step-by-step Ubuntu compilation section for more info. - FreeImage: It is recommended to download/compile/install the latest version of FreeImage from the website, as compilation is very simple and the version in the package manager may be out of date.
- SFML v2.0: Packages and compilation instructions can be found on the SFML website. Make sure to install v2.0 and not any earlier version.
- FluidSynth v1.1.3.
- FTGL
- libmodplug
CMake can also be used to compile SLADE. To build using cmake, first make sure cmake is installed, then cd to /dist, run ‘cmake ..’ then ‘make’. That should be all there is to it.
Compiling with CodeLite IDE
Run CodeLite, and open the SLADE.workspace file. Once it’s open, it’s a simple matter of making sure the ‘Release’ configuration is selected (unless you really want to compile Debug), and selecting “Build→Build Project”. If the required libraries have all been installed correctly, SLADE should compile successfully, and the executable will be placed in the ‘dist’ folder. Note that the debug build of SLADE requires that the debug build of wxWidgets is also installed.