Installation Directly
Install the meson and ninja build tools
apt install meson ninja-build
Build the OpenXR SDK with cmake, this example uses ninja.
git clone https://github.com/KhronosGroup/OpenXR-SDK.git
cd OpenXR-SDK
cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -Bbuild
ninja -C build install
This command will install required and some optional dependencies that will enable most of the commonly used functionality of monado on Debian/Ubuntu. Some features and drivers are only compiled with additional dependencies like libsurvive or librealsense.
pt install build-essential git wget unzip cmake meson ninja-build libeigen3-dev curl patch python3 pkg-config libx11-dev libx11-xcb-dev libxxf86vm-dev libxrandr-dev libxcb-randr0-dev libvulkan-dev glslang-tools libglvnd-dev libgl1-mesa-dev ca-certificates libusb-1.0-0-dev libudev-dev libhidapi-dev libwayland-dev libuvc-dev libavcodec-dev libopencv-dev libv4l-dev libcjson-dev libsdl2-dev libegl1-mesa-dev