Skip to content
Tristan Grimmer edited this page Sep 25, 2021 · 9 revisions

This wiki is currently acting as a scratchpad for Tacent installation instruction including environment setup, configuring with CMake, building and installing.

Ubuntu/Kubuntu

sudo apt update
sudo apt install build-essential     # For GCC
sudo apt-get install git
sudo apt-get install clang           # OPTIONAL
sudo apt-get install ninja-build
sudo apt-get install libx11-dev

Get VS Code and install downloaded deb file. If you want to use Clang instead of GCC:
update-alternatives --config c++     # OPTIONAL Choose clang
update-alternatives --config cc      # OPTIONAL Choose clang

Install cmake. Don't use apt. It's a few versions behind. cmake.org does supply a self-extracting .sh, but you won't get updates. Best is snap from what I can tell. If you use the Kubuntu Discover software app, the first listed cmake may be the older apt/deb verion. Scroll down to the snap, it should be at latest.

# mkdir etc.
cmake .. -GNinja
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Debug
ninja install
ninja -v install

cmake .. -GNinja -DCMAKE_BUILD_TYPE=Debug
OR
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang -DCMAKE_C_COMPILER=clang

Table Of Contents

Clone this wiki locally