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

前端之家收集整理的这篇文章主要介绍了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/

猜你在找的Ubuntu相关文章