Skip to content

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):

  1. Download and install MSYS2.
  2. Open the MinGW32 environment and update the package list:
pacman -Sy
pacman -Suu
pacman -Scc
  1. Install the entire 32-bit compiler toolchain:
pacman -S mingw-w64-i686-toolchain
  1. Install some pre-requisites for the build system:
pacman -S base-devel git
  1. 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{2,3}-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.