Warning: These steps have been tested on multiple Mac machines - not all installations worked correctly.
Using Homebrew
Note: This tutorial works best if you have a clean install of Snow Leopard. Otherwise, things often break due to library version conflicts.
last tested May 4, 20111. Download Homebrew
Install XCode if you don’t already have it ( http://developer.apple.com/xcode/ )
Open up the terminal and run the following line:
ruby -e "$(curl -fsSLk https://gist.github.com/raw/323731/install_homebrew.rb)"
2. Get the formulas
You will need to manually fetch the formulas, because they are not yet in the official homebrew directory:
cd /usr/local/Library/Formula
curl --insecure -O "https://github.com/OpenKinect/libfreenect/raw/master/platform/osx/homebr..."
curl --insecure -O "https://github.com/OpenKinect/libfreenect/raw/master/platform/osx/homebr..."
3. Install:
brew install libfreenect
4. Test:
run the glview demo:
glview
Sources: http://openkinect.org/wiki/Getting_Started#OS_X https://github.com/mxcl/homebrew/wiki/installation