-
Notifications
You must be signed in to change notification settings - Fork 110
MINGW64 Setup (Windows x64)
Create a fork of or clone of the recoil engine https://github.com/beyond-all-reason/spring.git
Recursively clone the submodules: git submodule update --init --recursive
If you clone your fork, download the tags:
git remote add upstream https://github.com/beyond-all-reason/spring.git
git fetch --all --tags
Clone mingwlibs64 into the engine directory : https://github.com/beyond-all-reason/mingwlibs64
Launch cmake with cmake-gui .
Set source code to the cloned spring repository.
Pick the build dir separate from the main spring dir (for example spring/build)
In the CMAKELIST file in spring change (AI_TYPES = ALL) to (AI_TYPES = NATIVE). [copied from MSVC tutorial,perhaps not necessary]
Choose MinGW Makefiles as the generator and then Generate
Use mingw32-make to build the project : mingw32-make.exe -j {substitute computer logical cores - 1} engine-legacy engine-headless engine-dedicated
Copy all the dlls from mingwlibs64/dll into the build directory
You should be able to open spring.exe
In the build directory add games/ and maps/ folder. The games and maps you place respectively will appear within the spring engine