Skip to content

Dependencies

athairus edited this page May 14, 2015 · 19 revisions

Dependencies required to build Phoenix

Windows

All modern versions (Vista+)

  • Install MSYS2
  • Update MSYS2 (Use MSYS shell)
    • pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime msys2-runtime-devel
    • Close and reopen the shell if any packages were updated by this command
    • pacman -Su
  • Install dependencies and utilities (Use MSYS shell)
    • pacman -S git mingw-w64-x86_64-libsamplerate mingw-w64-x86_64-SDL2 mingw-w64-x86_64-qt5 mingw-w64-x86_64-qt-creator mingw-w64-x86_64-gdb mingw-w64-x86_64-cmake mingw-w64-x86_64-clang make

OS X

All modern versions (10.6+)

  • Install Qt 5 via the online installer
  • Install libraries via Homebrew or macports
    • Homebrew: SDL2 libsamplerate

Linux

Debian based (aptitude, Debian/Ubuntu/ElementaryOS)

  • sudo apt-get install build-essential git mesa-common-dev libglu1-mesa-dev libsdl2-dev libsamplerate0-dev
  • Install Qt 5 via the online installer
    • Qt from Ubuntu package manager out of date at time of writing
    • Make the installer executable, then run it:
      • chmod +x qt-linux-opensource-5.X.X-x86[_64]-offline.run
      • ./qt-linux-opensource-5.X.X-x86[_64]-offline.run
    • For more info: https://wiki.qt.io/Install_Qt_5_on_Ubuntu
    • If building from terminal, you may want to add the bin directory for your Qt version to your path

Next step: building

Clone this wiki locally