Build Egoboo from source: Windows 10/Cygwin

Cygwin usually ships with a very outdated version of CMake and GCC. However, to compile Egoboo, CMake 3.10.1 or higher and GCC 6.4.0 or higher are required. Follow this guide to install/update CMake on Cygwin and this guide to install/update GCC on Cygwin.

To compile Idlib, open a Cygwin console, change to the directory in which the source of the library is located in, and enter

cmake CMakeLists.txt
make all

To execute the unit tests, enter

make check

In order to compile Egoboo, at least the following libraries must be installed:

  • libSDL2-devel
  • libSDL2_2.0_0
  • libSDL2_image-devel
  • libSDL2_image2.0_0
  • libSDL2_ttf-devel
  • libSDL2_ttf2.0_0
  • libSDL2_mixer-devel
  • libSDL2_mixer2.0_0

In order to run Egoboo, at least the following libraries must be installed:

  • xorg-server
  • xinit