-
Notifications
You must be signed in to change notification settings - Fork 40
Dependencies
athairus edited this page Jan 28, 2017
·
19 revisions
At this time Phoenix is only targeted towards 64-bit OSes. 32-bit builds may work but will definitely break in the future. Always pick 64-bit variants if given the choice!
NOTE: The build files for this project assume you will install MSYS2 to the default location, C:\msys64
. You'll have to edit the various .pro files in this project if you install it somewhere else!
- Update MSYS2 (Use MSYS2 shell)
pacman -Syu
- Close and reopen the shell if any packages were updated by that command. Next,
pacman -Syu
- Install dependencies and utilities (Use MSYS2 shell)
pacman -S --needed 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
NOTE: Qt 4 packages are known to conflict with Qt 5 and prevent Phoenix from building. Please uninstall these packages before trying to build Phoenix.
- Install Xcode and launch at least once
- Install Qt 5 via the online installer
- Install libraries via Homebrew or MacPorts
- Homebrew:
SDL2 libsamplerate
- Homebrew:
NOTE: Qt 4 packages are known to conflict with Qt 5 and prevent Phoenix from building. Please uninstall these packages before trying to build Phoenix.
sudo apt-get -y 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
master
Branch
Build Guide (obsolete)