step1 克隆代码
git clone https://github.com/microsoft/Azure-Kinect-Sensor-SDK.git
step2
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
sudo apt-add-repository https://packages.microsoft.com/ubuntu/20.04/prod
sudo apt-get update
原文链接:https://blog.csdn.net/qq_34254510/article/details/123068823
step 3
cd Azure-Kinect-Sensor-SDK/
mkdir build && cd build
cmake .. -GNinja
出现报错,进入提示的.cmake文件
165行 添加endif(),之后应该顺利cmake
step4
ninja
会报错,下载库:
sudo apt install libsoundio-dev
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install libudev-dev
应该就会成功了
原文链接:三维重建&&路径规划(二)Ubuntu18.04(ros-melocdic )驱动 Azure Kinect DK 相机_皂蒸菌的博客-CSDN博客_三维重建ubuntu18.04下载