-
Notifications
You must be signed in to change notification settings - Fork 40
Windows Setup
Note: This guide assumes you will use Qt Creator to build and install anything involving CMake, including Phoenix and its CMake-compatable dependencies.
- Windows 10 (we develop on Windows 10 Creators Update)
- Microsoft Visual Studio Community 2017 (or better)
- CMake 3.9.0
- Qt 5.9.x (install MSVC version)
- SDL2 2.x
- zlib 1.2.11+
- libsamplerate (MEGA | Dropbox)
- No longer needed once feature-travis-artifacts is merged into master
- KArchive 5.x
Make a folder somewhere that will hold your compiled libraries and header files. For example: C:\Users\athairus\Documents\Prefix\x86_64-vc140
- Create a duplicate of the default kit
- Make sure CMake is detected
- Edit your kit's environment to look something like this. Note which have front slashes and which have back slashes:
CMAKE_INSTALL_PREFIX=C:/Users/athairus/Documents/Prefix/x86_64-vc140 PATH=C:\Users\athairus\Documents\Prefix\x86_64-vc140\bin;C:\gstreamer\1.0\x86_64\bin;${PATH} PKG_CONFIG_PATH=C:\Users\athairus\Documents\x86_64-vc140\share\pkgconfig;C:\gstreamer\1.0\x86_64\lib\pkgconfig;${PKG_CONFIG_PATH} ```
- Add to CMake configuration
CMAKE_INSTALL_PREFIX:STRING=C:/Users/athairus/Documents/Prefix/x86_64-vc140 ```
zlib and SDL2 both support CMake and should have no trouble compiling and installing to the prefix you created.
You can now build Phoenix
master
Branch
Build Guide (obsolete)