Skip to content

Compiling RITEG.V2

Requirements (to compile)

  • Be able to work in a terminal
  • GNU bash (might use Git bash on Windows systems, alternatively use Cygwin)
  • CMake version 3.15 or newer
  • An ISO C99 complier
  • An ISO C++17 compiler

Requirements (to run)

  • Be able to work in a terminal
  • A GPU that can comprehend OpenGL 3.3

The easy way

  • To build a 64-bit Windows binary, run the build.windows.x64.sh script;
  • To build a 32-bit Windows binary, run the build.windows.x32.sh script;
  • To build a generic UNIX binary, run the build.unix.generic.sh script;

The hard way

cmake -B build -A x64 -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel $(nproc)