Skip to content
Snippets Groups Projects
build-additional-dependencies.md 6.73 KiB
title: "Monado - Building Additional Dependencies"
layout: main
  • TOC {:toc}

Dependencies needed to build Monado's additional drivers

Preliminary notes:

These recipes have been checked on Ubuntu 22.04 LTS and Fedora 39.

Using the commands listed below, packages are installed in /usr/local. Fedora, by default, does not search libraries or package config files in /usr/local. You could adapt /etc/ld.so.conf, or change the commands to install in /usr, or, more simply, you can set two envvars in your .bashrc:

export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig

For the OpenHMD driver

git clone https://github.com/OpenHMD/OpenHMD.git
cd OpenHMD
cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_SHARED_LIBS=ON
ninja -C build
sudo ninja -C build install

For the libsurvive driver