Skip to content

Building Project Red

Liam Taylor edited this page Nov 7, 2016 · 6 revisions

Project Red is fairly simple to build, as it is just a bunch of cpp files that are built into a binary. Currently, for development, Premake 5 is used to configure builds. This means that it should easily be built on Mac and Linux platforms, and with some eventual work, windows.

It may be required to modify both the code and premake5.lua in order to get it to build on your system, but any system that supports Project Red's dependancies and is supported by premake should be relatively easy to get working, assuming you have the dependencies installed correctly.

Supported configurations

Currently, Red has been tested to compile and run on these systems:

  • Mac OS 10.12 - xcode4, gmake
  • Linux Mint 18 (Cinnamon) - gmake
  • Windows 10 - vs2015*

While work is being done for these systems:

  • Windows 10 - gmake (via MinGW)

On building a custom binary

At the moment, the only way that Project Red is being built is for the AudioTest and GFXTest binaries, which are contained in their respective main files. In order to build a custom application with Red, you must create a separate project in the premake script, or create your own build solution.


Note* that the premake script is setup to use %HOMEPATH%/lib and %HOMEPATH%/include for dependency headers and libraries, so you may want to change this based on how you've collected the dependencies.