Skip to content

Build on Ubuntu Linux

Luc edited this page Jan 22, 2024 · 2 revisions
  1. Install latest LT Ubuntu Setup for 64 bit
  • Add appropriate keyboard layout in System Settings > Text Entry
  1. Open a terminal and execute the following commands:
sudo apt-get update
sudo apt-get install -y -f -q cmake git qtcreator
sudo apt-get install -y -f -q libxi-dev libxrandr-dev libx11-dev libxinerama-dev libxcursor-dev libxxf86vm-dev
sudo apt-get install -y -f -q libgl1-mesa-dev libglu-dev
sudo apt-get install -y -f -q ffmpeg

Depending on the Linux distribution these packages may vary.

  1. Download SLProject
cd <Path to where you want the SLProject folder>
git clone git@github.com:cpvrlab/SLProject4.git

4.1. Configure build

mkdir build
cd build
cmake ..

4.2. Build arguments

Build in debug : -DCMAKE_BUILD_TYPE=Debug
Build without mediapipe : -DSL_BUILD_WITH_MEDIAPIPE=OFF
Build without KTX : -DSL_BUILD_WITH_KTX=OFF

  1. Build
cmake --build .
  1. Follow the instructions for QtCreator