1.
git clonehttps://github.com/occipital/OpenNI2.git
2.
make -j${nproc}
3.
go to ./Packaging
ReleaseVersion.py x64
4. go to ./Final
extractOpenNI-Linux-x64-2.2.tar.bz2 then go into it
sudo ./install.sh
5.
cat OpenNIDevEnvironment >> ~/.bashrc
source ~/.bashrc
原文链接:https://www.f2er.com/ubuntu/350885.html