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 Apr 20, 2020
·
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 MSYS2 MINGW32 Shell (
mingw32.exe
) and update the package list:
pacman -Sy
pacman -Suu
pacman -Scc
- Install some pre-requisites for the build system:
pacman -S base-devel git zip
- Install the entire 32-bit compiler toolchain:
pacman -S mingw-w64-i686-toolchain
- 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-pillow
Additionally, the pandoc package may get installed to convert some documentation into HTML format, though this is strictly optional.
At this point you should be able to clone the Crispy Doom source code repository from the GitHub project page and compile the sources.