This is a short and easy tutorial for building Marble Marcher: Community Edition on Windows. This tutorial (the command line parts) can 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 2022 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.4.0 release: http://eigen.tuxfamily.org/
- Rename the unzipped folder to
eigen3
.
- 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 called
SFML-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 called
AntTweakBar
. Move this folder outside its parent folder, intoLibraries
. Delete the now empty parent folder.
- Download and unzip GLM to the
Libraries
folder. I used the .zip version of the 0.9.9.8 release: https://github.com/g-truc/glm/releases/tag/0.9.9.8
- Inside the resulting unzipped folder should be just a folder called
glm
. 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 called
glew-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.