After much time and frustration I’ve learned that the MinGW instructions for compiling Cataclysm-DDA are lacking a few bits of information. Follow these simple instructions:
-
Download the latest Cataclysm-DDA source code.
-
Extract the compressed file to the folder of your choice. Example: C:\github\Cataclysm-DDA
-
Download the latest MinGW installer.
-
Run MinGW installer and check the box for C++ Compiler and MinGW Developer ToolKit options. (NOTE: If we fail to install these options, then compiling will fail.)
-
Start the MinGW Shell. Start \ Programs \ MinGW \ MinGW Shell
-
A new window will open. At the prompt, change to the folder containing the source code we extracted in Step 2:
[tt]cd C:\github\Cataclysm-DDA[/tt]
- Once inside the correct directory run the following commands:
[tt]make clean
make -f Makefile.Windows[/tt]
NOTE: The compile will take several minutes to complete.
- Profit!
We can open cataclysm.exe directly from this folder, or we could copy the data folder and cataclysm.exe to another folder of our choice. Example: C:\games\Cataclysm-DDA