Skip to content

Build on Ubuntu Linux

Marcus Hudritsch edited this page Jun 5, 2020 · 3 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 https://github.com/cpvrlab/SLProject.git
  1. Build OpenCV using the provided installation script:
cd <SLProject root>/externals/prebuild_scripts
./build_opencv_w_contrib_for_linux.sh 4.1.1
  1. Optional: If you want to build the WAI apps you also have to build the g2o library using the provided installation script:
cd <SLProject root>/externals/prebuild_scripts
./build_g2o_for_linux.sh
  1. Follow the instructions for QtCreator