天天看点

unbuntu18.04安装openni2过程记录

步骤一:安装依赖

sudo apt-get install -y g++ python libusb-1.0-0-dev freeglut3-dev doxygen graphviz
sudo apt-get install libudev-dev
           

步骤二:源中寻找openni2

apt-cache search openni2
           

注:若没找到,则是源问题,更换源;

步骤三:安装

sudo apt-get install libopenni2-dev
           

步骤四:测试是否安装成功

pkg-config --modversion libopenni2
           

若结果显示版本号,则安装成功!

(迄今为止,最简单的安装)

参考:https://blog.csdn.net/qq_35718950/article/details/83068015