-
Notifications
You must be signed in to change notification settings - Fork 188
Ubuntu Build Instructions
Simplified instructions for building Flare from source on Ubuntu.
This skips using git/github. So this is useful if you want to build the game once to try the latest version, but not if you want to stay up to date.
You need sudo permissions to build Flare.
- https://github.com/clintbellanger/flare-engine use the "Download" button on the bottom of the sidebar.
- https://github.com/clintbellanger/flare-game use the "Download" button on the bottom of the sidebar.
Then uncompress both of these files somewhere temporary and easy to get back to. Like maybe your home folder. You should end up with one folder called "flare-engine" and one called "flare-game".
Engine building instructions can be found here: https://github.com/clintbellanger/flare-engine/blob/master/INSTALL.engine
You're on Ubuntu so you want to run these commands on the terminal.
sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev
sudo apt-get install cmake make g++
The first line installs SDL, an open-source C++ library for games. The second line installs tools to compile C++ projects, if they aren't already installed.
In a terminal, navigate to wherever you've uncompressed the flare-engine folder. Run these commands inside the flare-engine folder. Notice that the cmake command is followed by a space and a period!
cmake .
make
Now hopefully you have a flare executable file. Copy and paste this flare executable inside the flare-game folder. Now Flare is ready to run.