Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Update to libfreenect.0.6.0.dylib (with instructions) #8

Open
TroikaTronix opened this issue Aug 26, 2018 · 1 comment

Comments

@TroikaTronix
Copy link

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.

  1. Copy the file at libfreenect/build/lib/libfreenect.0.6.0.dylib as paste it into your OpenNI2/Drivers folder.
  2. Open a Terminal window
  3. cd to the OpenNI/Drivers directory, where you deleted the files in step 1.
  4. Paste the libfreenect.0.6.0.dylib there
  5. Open a Terminal window and cd to the OpenNI/Drivers folder.
  6. 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

  1. That's it. Load up your Processing sketch and test.
@totovr
Copy link
Owner

totovr commented Aug 27, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants