Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A c++ wrapper for OpenNI.
C C++
Branch: stable
Pull request Compare This branch is 1 commit ahead, 94 commits behind pixelnerve:multidevices.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


Block OpenNI
A C++ wrapper for OpenNI

First version:
Support for several generators as Image, IR, Depth, User and Audio.
Skeleton tracking support is also available.

You need to install the sensor drivers, OpenNI and NITE.
PrimeSense drivers do not run with kinect. 
To use a kinect get SensorKinect from avin2 or ros.

More information and downloads:

Fork charlesdietrich/BlockOpenNI

Support for Mac OS X. 

Installation instructions for OS X:

First, get libusb and the kinect patch on Patch libusb.

From, do the following:

env CFLAGS="-arch i386" ./configure; make
mv libusb/.libs/libusb-1.0.0.dylib /tmp/libusb-1.0.0.dylib.i386
make clean
env CFLAGS="-arch x86_64" ./configure; make
mv libusb/.libs/libusb-1.0.0.dylib /tmp/libusb-1.0.0.dylib.x86_64
lipo -create /tmp/libusb-1.0.0.dylib.i386 /tmp/libusb-1.0.0.dylib.x86_64 -output libusb/.libs/libusb-1.0.0.dylib
sudo make install

Install all the stuff on the OpenNI page. Just grab binaries.

Go to Download the binary file for OS X. Install.

Change to your blocks directory

git clone

You can now compile. However, you will get an xml error when running.

This is a hack: You need to copy BlockOpenNI/samples/BlockOpenNISample/data  to ~/Library/Developer/Xcode/Build/Products/Debug/. This should be done with a resource.

Now you should be good to go. If you get No PS sensor is connected! error, try running another Kinect program, and then running again.

Now you can repeat above steps with BlockOpenNISkeleton.
Something went wrong with that request. Please try again.