Forum
Building Hexterminate on Linux from source
Quote from Solace-10 on June 28, 2023, 10:58 amOverview
This post will guide you through building Hexterminate for Linux from source.
If you run into issues, please let me know!
Pre-requisites
You’ll need to install a number of packages. Development has been conducted using Linux Mint, but the following command should work for all modern Debian-based distros:
sudo apt install cmake git git-lfs libgl-dev libxi-dev libxmu-dev clang libstdc++-12-dev libglu1-mesa-dev libasound2-dev
If you build Hexterminate on a different distro, please share your knowledge 🙂
Cloning the repository
From the command line, type:
git-lfs install git clone --recurse-submodules https://github.com/solace-10/Hexterminate.git
Initializing vcpkg
Go to where you’ve cloned the repository to and run
./setup.sh
. This will initialize vcpkg, a package manager which will be used to automatically download several libraries in the next stage.Building the game
You can build the game through the terminal, or use VSCode.
To build the game through the terminal, you can run build script in the root directory:
./build.sh
If you’d rather use VSCode, make sure you have the CMake Tools extension installed.
Once it finishes building, you’ll find the game binary in
Game/bin/Hexterminate
.
Overview
This post will guide you through building Hexterminate for Linux from source.
If you run into issues, please let me know!
Pre-requisites
You’ll need to install a number of packages. Development has been conducted using Linux Mint, but the following command should work for all modern Debian-based distros:
sudo apt install cmake git git-lfs libgl-dev libxi-dev libxmu-dev clang libstdc++-12-dev libglu1-mesa-dev libasound2-dev
If you build Hexterminate on a different distro, please share your knowledge 🙂
Cloning the repository
From the command line, type:
git-lfs install
git clone --recurse-submodules https://github.com/solace-10/Hexterminate.git
Initializing vcpkg
Go to where you’ve cloned the repository to and run ./setup.sh
. This will initialize vcpkg, a package manager which will be used to automatically download several libraries in the next stage.
Building the game
You can build the game through the terminal, or use VSCode.
To build the game through the terminal, you can run build script in the root directory:
./build.sh
If you’d rather use VSCode, make sure you have the CMake Tools extension installed.
Once it finishes building, you’ll find the game binary in Game/bin/Hexterminate
.