Skip to content

synapse-garden/phoenix-cxx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phoenix-cxx

A port of Phoenix to C++ -- see https://github.com/synapse-garden/phoenix

Using Phoenix

Just press esc to leave the program.

Build and run Phoenix

Linux

You need SDL 2.0.4 and CMake 3.1.0 or higher. You'll also need a C++ compiler with C++11 support and a make utility. ninja is highly recommended.

git clone [email protected]:synapse-garden/phoenix-cxx.git
cd phoenix-cxx
cd build
cmake .. # -G "Ninja" if you want to build using Ninja
make # or ninja
cd target
./Phoenix

Windows

Phoenix can be built on Windows using Visual Studio. You can also use MinGW via the Linux instructions, but why would you want to do that?

Setup

First, you'll need Visual Studio 2013+. Express 2013 for Windows Desktop will suffice. This has C++11 support. Earlier versions will not build Phoenix.

You'll also need to download and install SDL 2.0.4 for Windows. Select "Development Libraries". You should put this in its own folder in your libraries path, and set an environment variable named SDL2DIR to the location. This will let CMake find the library.

On that note, you'll also need CMake 3.1.0 or higher to actually build the software.

Building Phoenix

You'll need to be working in your developer terminal.

git clone [email protected]:synapse-garden/phoenix-cxx.git
cd phoenix-cxx
cd build
cmake .. -G "NMake Makefiles" # Or -G "Ninja" if using Ninja build.
nmake # Or ninja

Now copy SDL2.dll from %SDL2DIR%\lib to the build\target folder. Phoenix.exe requires it in the same location in order to run.


Please open an issue if you experience any problems. Thanks!

Releases

No releases published

Packages

No packages published