-
Notifications
You must be signed in to change notification settings - Fork 183
Build ‐ Linux ‐ Debian
Be sure to check Build for generic instructions.
Debian/Ubuntu/Raspbian required packages for compiling:
sudo apt-get install git build-essential cmake ninja-build zip unzip libsdl2-dev libfreetype6-dev
Make a directory to work from, then within it run:
git clone https://github.com/daid/EmptyEpsilon.git
git clone https://github.com/daid/SeriousProton.git
cd EmptyEpsilon
mkdir -p _build
cd _build
cmake .. -G Ninja -DSERIOUS_PROTON_DIR=$PWD/../../SeriousProton/
ninja
To install globally run:
sudo ninja install
To run without installing (good for development)
cd ../
./_build/EmptyEpsilon
To build a .deb
package:
ninja package
Note: these instructions are user beware. I'm not a Linux expert and these could hose your system. Use at your own risk.
If you're running on an older operating system such as Ubuntu 18, you may need to upgrade your compiler:
sudo apt-get install gcc-8
sudo apt-get install g++-8
when you issue the cmake command, use prefixes to direct cmake to the updated compiler:
CC=gcc-8 CXX=g++-8 cmake .. -G Ninja -DSERIOUS_PROTON_DIR=$PWD/../../SeriousProton/
You may also have to update your cmake to version 3.11. To check your cmake version:
cmake --version
To update your cmake, you first have to remove the previous version.
sudo apt remove --purge cmake
Then install 3.11 or later. These instructions are for 3.20.2. I replaced that with 3.11.0 on my machine because I did not know what the newer version might require.
sudo apt install build-essential libssl-dev
wget https://github.com/Kitware/CMake/releases/download/v3.20.2/cmake-3.20.2.tar.gz
tar -zxvf cmake-3.20.2.tar.gz
cd cmake-3.20.2
./bootstrap
make
sudo make install
I found that I also needed to make a soft link to the new cmake:
cd /usr/bin
sudo ln -s /usr/local/bin/cmake cmake
...because cmake decided to go to /usr/local/bin instead of usr/bin
- Home
- Stations
- Main Screen/Captain
- 5-6 Player Crews
- 3-4 Player Crews
- 1 Player Crew
- Game Master
- Additional Stations and Views
- Setting up a Game
- Lore
- Expanding the Game
- Additional Features
- Building from Source