This repository is officially deprecated. See: https://github.com/ankbhatia19/TRLBot2
- Ubuntu 22.04 LTS 64-bit
Required Packages:
sudo apt install \
libssl-dev \
zlib1g-dev \
cmake \
ninja-build \
build-essential
- Clone this repo recursively:
git clone --recursive https://github.com/ankbhatia19/TRLBot.git
-
Locate CMakeLists.txt using IDE of choice (I am using CLion).
Alternatively, skip to step 5 for CLI instructions.
- Ensure to select 'Open as Project'
- Create a
config.json
file:
touch config.json
For security reasons, the config.json
file will not be hosted on Git.
- Most IDE's will have features to automatically configure and build the CMake project. Alternatively, the CLI can be used to do these steps manually, as follows:
- CMake configuration (Should only be done once per project or when any CMakelists is edited):
cd ~/.../TRLBot
mkdir cmake-build-debug
cmake -S . -B cmake-build-debug -GNinja
- Building executable:
cmake --build cmake-build-debug/ --target TRLBot -j $(nproc)
- Run executable using your IDE or via CLI:
qemu-aarch64 cmake-build-debug/TRLBot
Note that executable will promptly fail without the necessary config.json
. Please reach out to the developer for
this file.