Created
April 23, 2011 21:21
-
-
Save astrofrog/938990 to your computer and use it in GitHub Desktop.
Diff file to install libfreenect on Mac with a MacPorts installation of libusb and EPD 64-bit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/wrappers/python/setup.py b/wrappers/python/setup.py | |
| index 7907702..8fdfee0 100755 | |
| --- a/wrappers/python/setup.py | |
| +++ b/wrappers/python/setup.py | |
| @@ -5,11 +5,14 @@ from Cython.Distutils import build_ext | |
| ext_modules = [Extension("freenect", ["freenect.pyx"], | |
| libraries=['usb-1.0', 'freenect', 'freenect_sync'], | |
| - runtime_library_dirs=['/usr/local/lib', '/usr/local/lib64', '/usr/lib/'], | |
| + runtime_library_dirs=['/usr/local/lib', '/usr/lib/', '/opt/local/lib'], | |
| extra_compile_args=['-fPIC', '-I', '../../include/', | |
| '-I', '/usr/include/libusb-1.0/', | |
| '-I', '/usr/local/include/libusb-1.0', | |
| + '-I', '/opt/local/include/libusb-1.0', | |
| '-I', '/usr/local/include', | |
| + '-I', '/opt/local/include', | |
| + '-I', '/Library/Frameworks/EPD64.framework/Versions/7.0/lib/python2.7/sit | |
| '-I', '../c_sync/'])] | |
| setup( | |
| name = 'freenect', |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment