Homebrew
If you dont have Homebrew already, it is quite simple to install.
Note: Even if you already have homebrew, make sure to update your formulas (run `brew update`), before trying to install libfreenect as there has been a lot of bugfixing to cmake lately.
Get the formulas
Since the project is still so much in flux the packages are not yet in the official homebrew directory, so you will need to manually fetch them:
cd /usr/local/Library/Formula curl --insecure -O "https://raw.github.com/OpenKinect/libfreenect/master/platform/osx/homebrew/libfreenect.rb" curl --insecure -O "https://raw.github.com/OpenKinect/libfreenect/master/platform/osx/homebrew/libusb-freenect.rb"
Install
brew install libfreenect
And thats it, you are done! A copy of glview demo should now be in your PATH so you can simply run:
glview
to confirm everything worked out ok.