forked from chocolate-doom/chocolate-doom
-
Notifications
You must be signed in to change notification settings - Fork 134
Building on Windows
Fabian Greffrath edited this page Sep 1, 2019
·
11 revisions
The recommended way to build Crispy Doom on Windows is to use the MinGW-w64 compiler in an MSYS2 environment. Follow these steps for compiling 32-bit binaries with GCC (some steps may differ for other build targets, e.g. 64-bit GCC or Clang):
- Download and install MSYS2.
- Open the MinGW32 environment and update the package list:
pacman -Sy
pacman -Suu
pacman -Scc
- Install the entire 32-bit compiler toolchain:
pacman -S mingw-w64-i686-toolchain
- Install some pre-requisites for the build system:
pacman -S base-devel git
- Install all mandatory and optional build dependencies:
pacman -S mingw-w64-i686-SDL2 mingw-w64-i686-SDL2_mixer mingw-w64-i686-SDL2_net
pacman -S mingw-w64-i686-libpng mingw-w64-i686-libsamplerate mingw-w64-i686-python[23]-pillow
At this point you should be able to clone the Crispy Doom source code repository from the GitHub project page and compile the sources.