How to install OpenNI 2.1 on Mac?

I cannot find installation instructions for this version of OpenNI. I have Kinect for Windows and Mac OSX 10.8.

It is listed as downloadable on OpenNI.org , but it does not have installation instructions (which I can find) and the OpenNI2 Github Page does not contain instructions for Mac.

So, I tried downloading the repository and running:

sudo ./install.sh 

As is usually the case with the previous version. I do not get an answer, just a hint back. When i started

 ./Tools/NiViewer 

I get

 openDevice failed: DeviceOpen using default: no devices found Press any key to continue . . . 

Any help appreciated!

+4
source share
1 answer

You need to install the libfreenect library as well as libusb. The easiest way to do this on your Mac is to add the brew package manager and from your command line: # brew install libfreenect

Below is the link (this worked for me) http://openkinect.org/wiki/Getting_Started#OS_X

+2
source

All Articles