ubuntu14.04 使用openni2 提示找不到xtion设备的问题

用Openni2的时候发现找不到device的问题,折腾半天解决了,mark下以备不时之需。

主要参考:
http://stackoverflow.com/questions/19938830/openni2-and-asus-xtion-pro-live-device-not-found
http://stackoverflow.com/questions/17181073/ubuntu-12-04-libudev-dev-wont-install-because-of-dependencies/

主要是由于libudev-dev的问题,

Same issue with Structure Sensor and PrimeSense on 14.04 32bit and 64bit,showing as Device ID 1d27:0600 ASUS
Solution was to create a symbolic link from the libudev.so.0 file it seems OpenNI2 is expecting to find.

Ubuntu 14.04

$ sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1.3.5 /lib/x86_64-linux-gnu/libudev.so.0
Ubuntu 15.04

$ sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1.6.2 /lib/x86_64-linux-gnu/libudev.so.0
Then just run your ./NiViewer and smile.

I followed directions here: http://codeyarns.com/2015/09/28/no-devices-found-error-with-openni2/

dawei

【声明】:淮南站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。