This is a short and easy tutorial for building Marble Marcher: Community Edition on Windows. The online version of the tutorial can be found here. (both this and the one on Reddit are kept up-to-date with each other) This tutorial (the command line parts) can also be followed with Git Bash, though you'll need a developer CMD in administrator mode for at least one process.
- Make sure you have CMake x64, OpenAL, and Visual Studio 2019 (in addition to the 2015 and/or 2017 VS build tools, if one does not work, try installing the other) installed.
- Download the CE edition to a folder of your choice and unzip it: https://github.com/WAUthethird/Marble-Marcher-Community-Edition or
git clone https://github.com/WAUthethird/Marble-Marcher-Community-Edition.git
. - Create a folder in your
C:
drive root calledLibraries
. Alternatively, feel free to configure the paths inCMakeLists.txt
, in the MMCE root. - Download and unzip Eigen to the
Libraries
folder. I used the .zip version of the 3.3.7 release: http://eigen.tuxfamily.org/ Rename the unzipped folder toeigen3
. - Download and unzip SFML to the
Libraries
folder. I used the 2.5.1 Visual C++ 15 (2017) - 64-bit version: https://www.sfml-dev.org/download.php Inside the resulting unzipped folder should be just a folder calledSFML-2.5.1
. Move this folder outside its parent folder, intoLibraries
. Delete the now empty parent folder. RenameSFML-2.5.1
toSFML-2.5.1_64
. - Download and unzip AntTweakBar to the
Libraries
folder: http://anttweakbar.sourceforge.net Inside the resulting unzipped folder should be just a folder calledAntTweakBar
. Move this folder outside its parent folder, intoLibraries
. Delete the now empty parent folder. - Download and unzip GLM to the
Libraries
folder: https://github.com/g-truc/glm/releases/tag/0.9.9.5 Inside the resulting unzipped folder should be just a folder calledglm
. Move this folder outside its parent folder, intoLibraries
. Delete the now empty parent folder. - Download and unzip GLEW to the
Libraries
folder. I used the 2.1.0 Windows binaries: http://glew.sourceforge.net/ Inside the resulting unzipped folder should be just a folder calledglew-2.1.0
. Move this folder outside its parent folder, intoLibraries
. Delete the now empty parent folder. Renameglew-2.1.0
toGLEW
. - Now that you have all libraries in the proper places, open a developer command prompt with administrator privileges and
cd
into the MMCE root. Runcmake .
- Open the resulting .sln file in Visual Studio and build the solution as a x64 release.
You're done! If this did not work for you, please open an issue in the repository, or comment on the online Reddit post linked above.