14 Installation
William Brawner edited this page 2021-04-12 08:44:45 -07:00

Requirements:

  • Compiler with C++14 support (VS2019, GCC, Clang, etc.)
  • CMake

Dependencies:

Windows

  • Install Visual Studio 2019
  • Install CMake
  • Install vcpkg
  • Install dependencies: ./vcpkg install boost-algorithm boost-filesystem boost-format boost-iostreams boost-program-options boost-property-tree glm sdl2 glew openal-soft libmad ffmpeg wxwidgets --triplet x64-windows
  • Create a build directory inside the project directory and cd into it
  • Generate project files: cmake .. -DCMAKE_TOOLCHAIN_FILE=C:\vcpkg\scripts\buildsystems\vcpkg.cmake

Debian / Ubuntu

  • Install Clang or GCC
  • Install CMake
  • Install dependencies: sudo apt install libboost-all-dev libsdl2-dev libglew-dev libopenal-dev libmad0-dev libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev libwxgtk3.0-dev
  • Create a build directory inside the project directory and cd into it
  • Generate Makefiles: cmake ..

MacOS

  • Install Clang or GCC
  • Install CMake
  • Install Xcode Developer tools and Homebrew
  • Install dependencies: brew install boost bjam sdl2 glew openal-soft mad ffmpeg wxwidgets
  • Create a build directory inside the project directory and cd into it
  • Generate Makefiles: cmake ..

openSUSE

Build from source or install this package.

Fedora

  • Install Clang or GCC
  • Install CMake
  • Install dependencies: sudo dnf install boost-devel SDL2-devel glew-devel openal-soft-devel libmad-devel ffmpeg-devel wxGTK3-devel
  • Create a build directory inside the project directory and cd into it
  • Generate Makefiles: cmake ..