Skip to content

Building on Windows

Yuval Greenfield edited this page Oct 25, 2015 · 2 revisions
  1. Install CSFML and SFML.
  2. Copy C:\MinGW\bin\mingw32-make.exe to C:\MinGW\bin\make.exe. This fixes CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set
  3. Make sure to install mingw or mingw-w64 if you want to compile with 64 bits. Msys2 is recommended by gcc-rs. And make sure the right gcc and g++ are the first on your path. This avoids miniz.c:1:0: sorry, unimplemented: 64-bit mode not compiled in ...
  4. Piston recommends getting freetype and zlib dlls and using a .cargo/config file.
Clone this wiki locally