Skip to content

Windows Setup

athairus edited this page Jul 23, 2017 · 6 revisions

DRAFT

Note: This guide assumes you will use Qt Creator to build and install anything involving CMake, including Phoenix and its CMake-compatable dependencies.

Dependencies

Create a prefix

Make a folder somewhere that will hold your compiled libraries and header files. For example: C:\Users\athairus\Documents\Prefix\x86_64-vc140

Qt Creator setup (from the Build & Run section)

  1. Create a duplicate of the default kit
  2. Make sure CMake is detected
  3. 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} ```

  1. Add to CMake configuration

CMAKE_INSTALL_PREFIX:STRING=C:/Users/athairus/Documents/Prefix/x86_64-vc140 ```

Compile libraries

zlib and SDL2 both support CMake and should have no trouble compiling and installing to the prefix you created.

Build Phoenix

You can now build Phoenix