Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem installing OpenNI driver

Hi all,

I'm trying to install drivers for my Primesense device (Asus Xtion Pro Live), but I'm getting a problem running the ./install.sh file. I'm running Groovy on Ubuntu 12.10.

After days of research, I realised there were two versions of the driver, one was from the openni.org website, and there was another version of it done by avin2 (https://github.com/avin2/SensorKinect). I finally realised the avin2 one was for Kinect, and the openni.org one was for other Primesense devices (source here: https://groups.google.com/forum/#!topic/openni-dev/Nw8J9WtRTTI, and https://code.google.com/p/simple-openni/wiki/Installation#Linux).

So, I downloaded the 32bit tarball from openni.org:

http://www.openni.org/wp-content/uploads/2012/12/Sensor-Bin-Linux-x86-v5.1.2.1.tar.zip

Unfortunately, I'm getting an error running the ./install.sh. Here's what it looks like:

$ sudo ./install.sh 
Installing PrimeSense Sensor
****************************

creating config dir /usr/etc/primesense...OK
copying shared libraries...OK
copying executables...OK
registering module 'libXnDeviceSensorV2.so' with OpenNI..../install.sh: 105: ./install.sh: /usr/bin/niReg: not found

Does anyone know how to fix this? I tried to sudo mkdir /usr/bin/niReg, but I'd still get an error running ./install.sh; it now becomes permission denied:

$ sudo ./install.sh 
Installing PrimeSense Sensor
****************************

creating config dir /usr/etc/primesense...OK
copying shared libraries...OK
copying executables...OK
registering module 'libXnDeviceSensorV2.so' with OpenNI..../install.sh: 106: ./install.sh: /usr/bin/niReg: Permission denied

Please help! Thanks

Problem installing OpenNI driver

Hi all,

I'm trying to install drivers for my Primesense device (Asus Xtion Pro Live), but I'm getting a problem running the ./install.sh install.sh file. I'm running Groovy on Ubuntu 12.10.

After days of research, I realised there were two versions of the driver, one was from the openni.org website, and there was another version of it done by avin2 (https://github.com/avin2/SensorKinect). I finally realised the avin2 one was for Kinect, and the openni.org one was for other Primesense devices (source here: https://groups.google.com/forum/#!topic/openni-dev/Nw8J9WtRTTI, and https://code.google.com/p/simple-openni/wiki/Installation#Linux).

So, I downloaded the 32bit tarball from openni.org:

http://www.openni.org/wp-content/uploads/2012/12/Sensor-Bin-Linux-x86-v5.1.2.1.tar.zip

Unfortunately, I'm getting an error running the ./install.sh. Here's what it looks like:

$ sudo ./install.sh 
Installing PrimeSense Sensor
****************************

creating config dir /usr/etc/primesense...OK
copying shared libraries...OK
copying executables...OK
registering module 'libXnDeviceSensorV2.so' with OpenNI..../install.sh: 105: ./install.sh: /usr/bin/niReg: not found

Does anyone know how to fix this? I tried to sudo mkdir /usr/bin/niReg, but I'd still get an error running ./install.sh; it now becomes permission denied:

$ sudo ./install.sh 
Installing PrimeSense Sensor
****************************

creating config dir /usr/etc/primesense...OK
copying shared libraries...OK
copying executables...OK
registering module 'libXnDeviceSensorV2.so' with OpenNI..../install.sh: 106: ./install.sh: /usr/bin/niReg: Permission denied

Please help! Thanks