I think I can help u there
I have made a guide for installing it on Ubuntu. Follow it step by
step and u should have no problems
Cheers
Ibrahim
GUIDE FOR INSTALLING OPENNI DRIVERS FOR KINECT ON LINUX
-Ibrahim Musba
I have done the installation on both 64 bit as well as 32 bit Linux
and had no serious problems as such.
I would recommend Ubuntu 10.10 or greater. I had done it on Ubuntu
11.04
STEP 1
------
Download the latest files from
http://www.openni.org/downloadfiles
NOTE: When I tried to download stable release, i got problems during
installation. So I tried the unstable versions and it worked fine.
The links below will direct you to the latest unstable versions
Download the files appropriate for your operating system
1.
http://www.openni.org/downloadfiles/openni-binaries/20-latest-unstable
2.
http://www.openni.org/downloadfiles/openni-compliant-middleware-binaries/33-latest-unstable
3.
http://www.openni.org/downloadfiles/openni-compliant-hardware-binaries/31-latest-unstable
Make a new folder called kinect
$ cd
$ mkdir kinect
$ cd kinect
and extract the downloaded files into it.
STEP 2
------
Update your linux
$ sudo apt-get update
install these files which are necessary for proper installation of
drivers
$ sudo apt-get install mono-complete
$ sudo apt-get install libusb-1.0-0-dev
$ sudo apt-get install freeglut3-dev
STEP 3
------
The extracted folders in step 1 will be
->OpenNI-Bin-Linux32-v1.1.0.41
->Sensor-Bin-Linux32-v5.0.1.32
->Nite-1.3.1.5
rename it to OpenNI, Sensor, Nite respectively
Download the folder SensorKinect from
https://github.com/avin2/SensorKinect
to the kinect folder
extract and rename the foler to SensorKinect
STEP 4
------
Go to the folder OpenNI, Sensor, Nite and run sudo ./install.sh
$ cd
$ cd kinect
$ cd OpenNI
$ sudo ./install.sh
$ cd ../Sensor
$ sudo ./install.sh
$ cd ../Nite
$ sudo ./install.sh
Use this license when asked during the installation:
0KOIk2JeIBYClPWVnMoRKn5cdY4=
$ cd ../SensorKinect/Platform/Linux-x86/CreateRedist/
$ sudo ./RedistMaker
$ cd ../Redist
$ sudo ./install.sh
You should be done by now. In case of any confusion refer the README
in SensorKinect folder.
STEP 5
------
Testing if everything is working fine
Connect you kinect and run the samples from the OpenNI folder
$ cd ~/kinect/OpenNI/Samples/Bin/Release/
(assuming the kinect folder is in home folder, otherwise go to the
respective folder)
$ ./NiViewer
You should get the depth map and image stream on your window.
--DONE--