Install and Dependencies
Clone the git repository and download/update all submodules.
git clone https://github.com/konstructs/client.git git submodule update --init --recursive
Install the needed build tools and dependencies
sudo apt-get install build-essential cmake libglew-dev xorg-dev sudo apt-get build-dep glfw
brew install cmake
(You also need to figure out how to enable the C++ compiler, and other dependencies, if your are a macOS user please make a PR or open a issue and provide instructions)
The official Windows build are cross compiled from Docker container, to do that your self you need Docker installed.
make -C package windows
Use the following commands in place of the ones described in the next section.
cmake -G "MinGW Makefiles" mingw32-make
The game builds under Virtual Studio on Windows, but that is rarely tested.
(If your are a Windows user please make a PR or open a issue and provide instructions)
Compile and Run
Once you have the dependencies, run the following commands in your terminal.
mkdir build && cd build cmake .. && make ./konstructs -h