Open TroikaTronix opened 5 years ago
Hello there! I updated the version of libfreenect until the newest version libfreenect.0.6.0.dylib
but it generate and error Failed to submit isochronous transfer 0: LIBUSB_ERROR_NOT_FOUND
, by another way using the libfreenect.0.5.3.dylib
is working.
Enhancement Request for MacOS X
Thank you for the fantastic work! I figured out how to get your version of SimpleOpenNI to use the latest version of libfreenect (0.6.0) -- it would be great if you updated your repro to include this fix. Step by step instructions are given below.
Your System Configuration
Tested on MacOS X 10.10, but I would imagine it will work for High Sierra, etc.
Instructions
1) In your current OpenNI2/Drivers folder, delete libfreenect.0.5.3.dylib, libfreenect.0.4.0.dylib, and the libfreenect.0.1.2.dylib symbolic link 2) Follow the instructions here to download and build the OpenNI2-FreenectDriver, specifically mkdir build, cd build, etc.)
NOTE: I tried using their actual driver by Step 2 (libFreenectDriver.0.6.0.dylib) but it crashed when attempting to do skeleton tracking. But their version of libfreenect.0.6.0.dylib does work.
3) Copy the file at libfreenect/build/lib/libfreenect.0.6.0.dylib as paste it into your OpenNI2/Drivers folder. 4) Open a Terminal window 5) cd to the OpenNI/Drivers directory, where you deleted the files in step 1. 6) Paste the libfreenect.0.6.0.dylib there 7) Open a Terminal window and cd to the OpenNI/Drivers folder. 8) Enter the following command
ln -s libfreenect.0.6.0.dylib libfreenect.0.1.2.dylib
This creates the symbolic link that will cause libfreenect.0.6.0.dylib to be loaded
9) That's it. Load up your Processing sketch and test.