Skip to content

Enhancement: Update to libfreenect.0.6.0.dylib #2

@TroikaTronix

Description

@TroikaTronix

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions