Building natively in Windows

Thanks to the mingw64/msys2 projects, it is now as easy to build FreedroidRPG on Windows than on a Linux based OS.

  1. Install msys2 (Use the 32b or 64b version, depending on your OS):
  1. Install some additional user and build tools:
    • Start a "Msys2 Shell" from the Windows Start Menu and type:
      pacman -S make autoconf automake tar python2 git wget unzip

From now on, when you start a shell, if you want to build a 32b version of the game, launch "MinGW-w64 Win32 Shell". If you want to build a 64b version, rather launch "MinGW-w64 Win64 Shell"

  1. Install the mingw64 toolchain (replace 'i686' by 'x86_64' if you want to build a 64b version of the game):
    pacman -S mingw-w64-i686-gcc mingw-w64-i686-pkg-config
  1. Install FDRPG dependencies (replace 'i686' by 'x86_64' for 64b version):
    pacman -S mingw-w64-i686-SDL mingw-w64-i686-SDL_gfx mingw-w64-i686-SDL_image mingw-w64-i686-SDL_ttf mingw-w64-i686-lua
  1. On Mar,19 2016, SDL_image (1.2.12-4) uses an old version of libwebp. Until it is rebuilt, just do:
    cp /mingw32/bin/libwebp-6.dll /mingw32/bin/libwebp-5.dll
  1. The SDL_mixer package is not available. You can build the game without it (but sound will be disabled), or you can build it from source (with ogg/vorbis support only, we do not need the other input decoders):

    pacman -S mingw-w64-i686-libvorbis
    cd SDL_mixer-1.2.12
    ./ && ./configure --prefix=/mingw32 && make && make install

    From now on, you have everything installed and you are ready to build the game using the same commands than on Linux:

  1. Clone freedroid-src repository:
    git clone
  1. Build it:
  1. Run the game from the cmdline:
    or you can just double-click on the executable's icon from the File Explorer. You will find it somewhere inside C:\mingw32\msys\home\<your_username>