Skip to content

Instantly share code, notes, and snippets.

@bwhite
Created December 9, 2010 20:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bwhite/735301 to your computer and use it in GitHub Desktop.
Save bwhite/735301 to your computer and use it in GitHub Desktop.
Snow Leopard
python - system
xcode - dmg (DVD)
easy_install - source - http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz#md5=7df2a529a074f613b509fb44feefe74e
pip - sudo easy_install pip
pyopengl - sudo easy_install pyopengl
numpy - sudo easy_install numpy
wx - dmg unicode for 2.6
git - dmg - http://git-osx-installer.googlecode.com/files/git-1.7.3.2-intel-leopard.dmg
cython - source - http://www.cython.org/release/Cython-0.13.tar.gz
LibUSB (from the libfreenect README)
You will need to pull the matching version of libusb for this patch. This is NOT v1.0.8, this is a change based off the repo head as of 2010-10-16. To get a tar.gz with the snapshot of the repo at this point, hit the link below.
http://git.libusb.org/?p=libusb.git;a=snapshot;h=7da756e09fd97efad2b35b5cee0e2b2550aac2cb;sf=tgz;js=1
Once you’ve gotten that tarball and unziped it somewhere, patch using the files in platform/osx/. Just go to the root directory of the libusb source and run
patch -p1 < [path_to_OpenKinectRepo]/platform/osx/libusb-osx-kinect.diff
You need to tell configure to include some necessary frameworks: ./configure LDFLAGS="-framework IOKit -framework CoreFoundation"
Add this to ~/.profile
VERSIONER_PYTHON_PREFER_32_BIT=1
export VERSIONER_PYTHON_PREFER_32_BIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment