特别说明:本文主要参考的博客是:
https://blog.csdn.net/u011092188/article/details/54861591
在此博客的基础上,完成安装工作。
1.安装依赖项
sudo apt-get install git build-essential python libusb-1.0-0-dev freeglut3-dev
sudo apt-get install doxygen graphviz mono-complete
2.安装OpenNI
mkdir ~/kinect
cd ~/kinect/
git clone https://github.com/OpenNI/OpenNI.git
cd OpenNI
git checkout Unstable-1.5.4.0 -b Unstable-1.5.4.0
cd Platform/Linux/CreateRedist/
chmod +x RedistMaker
sudo ./RedistMaker
cd ../Redist/OpenNI-Bin-Dev-Linux-[xxx] (where [xxx] is your architecture and this particular OpenNI release)
sudo ./install.sh
2.1 注意:你可能和我一样会遇到的问题
报错1.
/bin/sh: 1: javac: not found
make[1]: *** [../../../Bin/x64-Release/org.OpenNI.jar] Error 127
make