Tutorial to Setup Microsoft Kinect in Mac OS X 10.9 Mavericks

How to setup Microsoft Kinect on Mac OS X 10.9 (Mavericks)

If you want to get the Microsoft Kinect setup and working on your Mac using OS X 10.9 Mavericks, then you’ve come to the right place. Since posting the first tutorial, a number of new software updates have been released, so it’s a good idea to recap from the start. This tutorial will detail all the steps necessary to get the Kinect working in Mavericks, so buckle up and let’s get this party started.

As always, if you have any questions, issues, or feedback, please feel free to post them in the comments section at the bottom, and to keep abreast of any new updates and posts you can follow me on Twitter, or subscribe using the new email form in the sidebar.  Oh, and if you don’t own a Kinect yet, there’s a few things you’ll need to know, so please check out the buyers guide or.

Preface: Uninstall Existing Kinect Drivers

If you followed my earlier tutorial and/or had your Kinect running in Mac OS X 10.8 Mountain Lion, then you’ll want to complete this step before moving ahead. If you’re new, and are setting up the Kinect in Mac OS X 10.9 Mavericks from scratch then please feel free to skip this and move straight onto Step 1.

When it comes to hacking the Kinect, cleaner is better. So I suggest uninstalling any existing Kinect drivers you might have installed and start fresh. If you’re confident simply upgrading then please feel free to do so, but for everyone else please begin by following the instructions in this article – How to uninstall Kinect drivers on your Mac.

Step 1: Install and upgrade Xcode

If you’re a regular visitor to this site or a developer, you may already have Xcode installed. If so, just make sure you upgrade your Command Line Tools to the latest version for Mavericks.  For everyone else, please follow the tasks below.

1. Install Xcode from the Mac App Store (as of writing, the latest version is 5.0.2). Once installed, open the application and select the menu option Xcode / Open Developer Tool / More Developer Tools…

Xcode 5 Developer Tools2. Clicking this will take you to the Apple Developer website. Simply login using your Apple ID and password and continue until you see the Downloads for Apple Developers screen.

3. In the list of downloads, search for the most recent version of Command Line Tools (OS X Mavericks) for Xcode (as of writing, this is the release from October 23, 2013). Click on the blue disk image link to the right of the description to download.

Install OS X Mavericks Command Line Tools for Xcode4. Once you’ve downloaded the Command Line Tools, simply open the disk image and install the package.

Easy! So now you’re up to date with Xcode, let’s move on to installing the Kinect drivers.

Step 2: Install Additions

Next up is a list of applications/tools that you’ll need to install. The versions mentioned below are the latest at the time of writing, but if there is a more recent version, you should be fine installing that too.

1. Download XQuartz, an open source version of the X.org X Window System for Mac.
I’m using version 2.7.5.

2. Download CMake, a cross-platform build automation system.
Select the download link beside  Mac OSX 64/32-bit Universal (for Intel, Snow Leopard/10.6 or later), I’m using version 2.8.12.2.

Part way through the CMake installation you’ll be asked to Install Command Line Tools, make sure you do this by clicking the Install Command Line Links button.  If you get an error at this point, you’ll need to follow all the uninstallation instructions and then reinstall.

3. Download MacPorts, which allows you to compile, install and upgrade software via Terminal app.
Select the download titled OS X 10.9 Mavericks, I’m using version 2.2.1.

Step 3: Install Dependencies

At this point you’ve installed your primary applications, so now we just need to install a couple of dependencies for later on. Don’t worry, they’re easy!

Libtool: A generic library support tool.

1. To install Libtool, open the Terminal application: Applications / Utilities / Terminal.

2. Next, type in the following:

sudo port install libtool

3. Press Return, and then enter your password when prompted. If all went well, you should see something similar to the following appear in Terminal:

---> Fetching archive for libtool
---> Attempting to fetch libtool-2.4.2_3.darwin_13.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/libtool
---> Attempting to fetch libtool-2.4.2_3.darwin_13.x86_64.tbz2.rmd160 from http://jog.id.packages.macports.org/macports/packages/libtool
---> Installing libtool @2.4.2_3
---> Activating libtool @2.4.2_3
---> Cleaning libtool
---> Updating database of binaries: 100.0%
---> Scanning binaries for linking errors: 100.0%
---> No broken files found.

Libusb: A usb support tool for applications.

Okay, so don’t close Terminal just yet. You’ll need it for this installation too.

1. In Terminal, type in the following:

sudo port install libusb +universal

2. Click Return and then enter your password when prompted.  If everything installed correctly, you should see something similar to this:

---> Fetching archive for libusb
---> Attempting to fetch libusb-1.0.18_0+universal.darwin_13.i386-x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/libusb
---> Attempting to fetch libusb-1.0.18_0+universal.darwin_13.i386-x86_64.tbz2 from http://packages.macports.org/libusb
---> Attempting to fetch libusb-1.0.18_0+universal.darwin_13.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libusb
---> Fetching distfiles for libusb
---> Attempting to fetch libusb-1.0.18.tar.bz2 from http://aarnet.dl.sourceforge.net/libusb
---> Verifying checksums for libusb
---> Extracting libusb
---> Configuring libusb
---> Building libusb
---> Staging libusb into destroot
---> Installing libusb @1.0.18_0+universal
---> Activating libusb @1.0.18_0+universal
---> Cleaning libusb
---> Updating database of binaries: 100.0%
---> Scanning binaries for linking errors: 100.0%
---> No broken files found.

Step 4: Install OpenNi SDK (v1.5.7.10)

Okay, now we’re moving into Kinect territory. OpenNi is the first Kinect-specific software you’ll be installing, so make sure you follow along closely.

Please Note: Do not try to download and install OpenNi v2 beta. Unfortunately this version relies on the native Microsoft Kinect SDK, which is incompatible with the Mac.

OpenNi is created by a group of companies including PrimeSense (now owned by Apple), who developed the original Microsoft Kinect. The OpenNi software itself contains a stack of middleware libraries and applications that will help get you going on your Kinect journey!

1. Create a new folder on your Mac called ‘Kinect’. This will help keep things organised (I’ll be referring to this folder later on).

2. Download OpenNI v1.5.7.10 SDK for Mac OS X.

3. Move the file you just downloaded to your Kinect folder and double click to uncompress and reveal the SDK folder.

OpenNI 1.5.7.10Okay, now you’re now ready to install the OpenNi SDK on your Mac.

4. Open the Terminal application on your Mac: Applications / Utilities / Terminal.

5. We will now navigate to the OpenNi SDK folder using the command. Start by typing in cd, add a space, and finally drag your SDK folder from the Finder onto the Terminal window and press Return. This will automatically enter the file path for you, and look something like this:

Glens-MacBook-Pro:~ glen$ cd /Users/glen/Sites/kinect/OpenNI-Bin-Dev-MacOSX-v1.5.7.10
Glens-MacBook-Pro:OpenNI-Bin-Dev-MacOSX-v1.5.7.10 glen$

6. And now the fun part! Type in the following, press Return and then enter your password to install OpenNi SDK:

sudo ./install.sh

If everything installed correctly, then you’ll see the following text:

Installing OpenNI
****************************
copying shared libraries...OK
copying executables...OK
copying include files...OK
creating database directory...OK
registering module 'libnimMockNodes.dylib'...OK
registering module 'libnimCodecs.dylib'...OK
registering module 'libnimRecorder.dylib'...OK
creating java bindings directory...OK
Installing java bindings...OK
*** DONE ***

Step 5a: Prepare to Install SensorKinect

We need to quickly complete this step to prevent errors during the SensorKinect installation.

1. Open Terminal on your Mac: Applications / Utilities / Terminal.

2. Next type in the following and press Return:

sudo ln -s /usr/local/bin/niReg /usr/bin/niReg

Step 5b: Install SensorKinect

SensorKinect is simply a module that helps the Kinect interact with OpenNI.  You’ll need it for your Kinect to work on your Mac.

1. Visit the SensorKinect project on GitHub and click the Download ZIP button that looks like this:

GitHub Download Zip Button

2. Once downloaded, move the SensorKinect-unstable.zip file to your Kinect folder and double-click to uncompress it.

SensorKinect Mac

3. Navigate to the SensorKinect093-Bin-MacOSX-v5.1.2.1.tar.bz2 file inside the Bin folder, and double-click to uncompress it.

SensorKinect Installer for Mac

4. Now you’re ready to install. Open Terminal on your Mac: Applications / Utilities / Terminal.

5. In Terminal, type  cd, then a space, then drag the Sensor-Bin-MacOSX-v5.1.2.1 folder into the Terminal window, and finally hit Return to navigate to that directory. You’ll end up with something like this:

Glens-MacBook-Pro:~ glen$ cd /Users/glen/Sites/kinect/SensorKinect-unstable/Bin/Sensor-Bin-MacOSX-v5.1.2.1
Glens-MacBook-Pro:Sensor-Bin-MacOSX-v5.1.2.1 glen$

6. And then to install, type the following in Terminal, hit Return, and then enter your password when prompted:

sudo ./install.sh

And if everything worked, you’ll see the following:

Installing PrimeSense Sensor
****************************
creating config dir /usr/etc/primesense...OK
copying shared libraries...OK
copying executables...OK
registering module 'libXnDeviceSensorV2KM.dylib' with OpenNI...OK
registering module 'libXnDeviceFile.dylib' with OpenNI...OK
copying server config file...OK
setting uid of server...OK
creating server logs dir...OK
*** DONE ***

Step 6: Install NiTE

It’s all downhill from here, as this is the last thing you’ll be installing.  NiTE is some awesome middleware that’s made by the same crew behind OpenNI.  It monitors depth, colour, infrared and audio to track your body and hands for use as input devices.

Please make sure you don’t try to install NiTE v2. Just like OpenNI 2, it just doesn’t work thanks to its reliance on the Windows SDK.

1. Download NiTE v1.5.2.21 for Mac OS X.

2 Once downloaded, move the NITE-Bin-MacOSX-v1.5.2.21.tar.zip file to your Kinect folder and double-click to uncompress it.

NiTE 1.5.2.23

3. And just like before, open Terminal and type in cd, followed by a space, and then drag the NITE-Bin-Dev-MacOSX-v1.5.2.21 folder into the Terminal window. Hit Return to navigate to that directory, and you should see something like this:

Glens-MacBook-Pro:~ glen$ cd /Users/glen/Sites/kinect/NITE-Bin-Dev-MacOSX-v1.5.2.21
Glens-MacBook-Pro:NITE-Bin-Dev-MacOSX-v1.5.2.21 glen$

5. After this, we can install NiTE by typing in the following, and then hitting Return:

sudo ./install.sh

Don’t worry if you get some ‘No such file or directory’ errors, they don’t really matter. A successful install will look something like this:

Installing NITE ***************
Copying shared libraries... OK
Copying includes... OK
Installing java bindings... OK
Installing module 'Features_1_3_0'...
ls: Features_1_3_0/Bin/lib*dylib: No such file or directory
Installing module 'Features_1_3_1'...
ls: Features_1_3_1/Bin/lib*dylib: No such file or directory
Installing module 'Features_1_4_1'...
ls: Features_1_4_1/Bin/lib*dylib: No such file or directory
Installing module 'Features_1_4_2'...
ls: Features_1_4_2/Bin/lib*dylib: No such file or directory
Installing module 'Features_1_5_2'...
Registering module 'libXnVFeatures_1_5_2.dylib'... OK
Copying XnVSceneServer... OK
Installing module 'Features_1_5_2'
ls: Hands_1_3_0/Bin/lib*dylib: No such file or directory
Installing module 'Features_1_5_2'
ls: Hands_1_3_1/Bin/lib*dylib: No such file or directory
Installing module 'Features_1_5_2'
ls: Hands_1_4_1/Bin/lib*dylib: No such file or directory
Installing module 'Features_1_5_2'
ls: Hands_1_4_2/Bin/lib*dylib: No such file or directory
Installing module 'Features_1_5_2'
registering module 'libXnVHandGenerator_1_5_2.dylib'...OK
Installing .NET wrappers...
Package exported to: /Library/Frameworks/Mono.framework/Versions/3.2.0/lib/mono/2.0/XnVNite.net.dll -> ../gac/XnVNite.net/1.5.2.21__399870656fc6c787/XnVNite.net.dll
Installed Bin/XnVNite.net.dll into the gac (/Library/Frameworks/Mono.framework/Versions/3.2.0/lib/mono/gac) Adding license.. OK
*** DONE ***

 Step 7: Transfer and Test Sample Files

You’ve made it to the final step! All we need to do now is transfer over some files and we can test out our installation.

1.  Copy the sample xml files from NiTE / Data over to your SensorKinect / Data folder like so (hold the Option key while dragging to copy files in Mac OS X):

Copy NiTE Kinect Samples on Mac OS X2. In a new finder window, locate your x64-Release folder by following this path: NiTE / Samples / Bin / x64-Release.

3. Open your Terminal app again: Applications / Utilities / Terminal.

4. In Terminal, type cd, followed by a space, and then drag the x64-Release folder onto the Terminal window to fill in the path and press Return.  You should see something like this:

Glens-MacBook-Pro:~ glen$ cd /Users/glen/Sites/kinect/NITE-Bin-Dev-MacOSX-v1.5.2.21/Samples/Bin/x64-Release
Glens-MacBook-Pro:x64-Release glen$

5. And now finally, to run your first demo, type the following into your Terminal window and press Return:

./Sample-PointViewer

If everything is setup correctly, PointViewer should open in a new screen. This is a tracking demo, so stand back, wave your hand around in the air, and pretty soon you should notice a white tracking line appear (see the video below).

6. You can also test out the other demos too, like the Players demo. This  will identify your body shape and colour you blue, add another person to the mix and they will be coloured green. To test it out, simply close the previous demo and type the following into Terminal and hit Return:

./Sample-Players
Kinect Sample Players Demo

The ‘Players’ demo will identify you as Player 1.

7. Want to try something cooler? Check out my other tutorial on creating special effects with Synapse Kinect and Quartz Composer.

And now you should be good to go! I know a lot of you were waiting for this tutorial, so thank you for your patience and I hope it was helpful. I’ll be following this up with a few more in-depth tutorials and inspiration posts soon – to be notified when they’re published, simply sign up using the email form in the sidebar (don’t worry, no spam!), or follow me on Twitter.  I’d also love to know how you went setting up the Kinect, so feel free to comment below with any questions, success stories or issues!  Take care and have fun kinecting!

294 Comments

Submit a Comment
  • Reply

    Benga

    Hello Glen,

    Thank you for this so detailed tutorial. I followed all your instructions, I launched the “point viewer” without any error or crash, but unfortunately nothing is displayed… everything is still black 🙁
    If you have any helpful idea… don’t hesitate.

    Thank you.
    Benga

    • Reply

      Glen McPherson

      Hi Benga, thanks for following the tutorial. Can you confirm what version Kinect you’re using (the model number is located underneath the Kinect), and also check that the Kinect is correctly attached via usb to your Mac (directly), and that the AC adapter is connected to your wall power outlet? This is just some troubleshooting to help isolate the issue.

      • Reply

        Benga

        Hello Glen thanks for your fast reply,

        The Model number is :1414

        Yes everything is well connected. USB to MAC, AC Adapter to the wall 🙂

        If I try to start Synapse, sometimes it crashes, sometimes it starts, but when it starts, I can only see a kind of colored static noise in the viewport.

      • Reply

        Benga

        I disconnected Kinect, I rebooted the Mac, I connected the Kinect again, The Kinect green light is blinking, I started Synapse and now I have the debug display “Depth display mode: Tracked user only” but the viewport is black…

        If I try to launch the “pointViewer” sample from NITE, I have a black screen too with “Preform click or wave to track hand” an this on the Terminal:

        pc31:x64-Release benga$ ./Sample-PointViewer
        403 INFO New log started on 2014-02-27 08:56:35
        417 INFO OpenNI version is 1.5.7 (Build 10)-MacOSX (Nov 12 2013 13:39:54)
        420 INFO — Filter Info — Minimum Severity: UNKNOWN

        • Reply

          Shaquille

          Hey Benga, I had the exact same problem (with synapse and the pointViewer) and was trying to debug it for hours (while on skype with my girlfriend)
          That was exactly the problem, the facetime built in webcam being on for some reason interferes with synapse & the kinect and makes it really buggy (works only SOMETIMES). I turned off the webcam and everything suddenly works perfectly.

          Cheers

          • Mr.Z

            I did everything as well and it seems to work for about a second before going completely black. The green light is still flashing on the Kinect 1414. Running Mac OS Sierra 10.12 if anyone has any updates…

          • Kiah

            It’s no wonder we have problems in the world.

        • Reply

          Rafael

          any solution?
          🙁

          • Nick

            buy a PC…. XD

  • Reply

    Carolina

    Hey I’m still getting
    604 INFO New log started on 2014-02-26 19:22:17
    629 INFO OpenNI version is 1.5.7 (Build 10)-MacOSX (Nov 12 2013 13:39:54)
    634 INFO — Filter Info — Minimum Severity: UNKNOWN
    One or more of the following nodes could not be enumerated:

    Device: PrimeSense/SensorKinect/5.1.2.1: The device is not connected!

    and the green light keep blinking

    • Reply

      Carolina

      And when doing sudo ln -s /usr/local/bin/niReg /usr/bin/niReg I’m getting
      ln: /usr/bin/niReg: File exists

      • Reply

        Carolina

        And for NITE the output is different:

        Installing NITE
        ***************

        Copying shared libraries… OK
        Copying includes… OK
        Installing java bindings… OK
        Installing module ‘Features_1_3_0’…
        ls: Features_1_3_0/Bin/lib*dylib: No such file or directory
        Installing module ‘Features_1_3_1’…
        ls: Features_1_3_1/Bin/lib*dylib: No such file or directory
        Installing module ‘Features_1_4_1’…
        ls: Features_1_4_1/Bin/lib*dylib: No such file or directory
        Installing module ‘Features_1_4_2’…
        ls: Features_1_4_2/Bin/lib*dylib: No such file or directory
        Installing module ‘Features_1_5_2’…
        Registering module ‘libXnVFeatures_1_5_2.dylib’… OK
        Copying XnVSceneServer… OK
        Installing module ‘Features_1_5_2’
        ls: Hands_1_3_0/Bin/lib*dylib: No such file or directory
        Installing module ‘Features_1_5_2’
        ls: Hands_1_3_1/Bin/lib*dylib: No such file or directory
        Installing module ‘Features_1_5_2’
        ls: Hands_1_4_1/Bin/lib*dylib: No such file or directory
        Installing module ‘Features_1_5_2’
        ls: Hands_1_4_2/Bin/lib*dylib: No such file or directory
        Installing module ‘Features_1_5_2’
        registering module ‘libXnVHandGenerator_1_5_2.dylib’…OK
        Adding license.. OK

        *** DONE ***

        PS: Sorry the spam, I’m just getting a little bit frustrated with Mavericks 🙁

      • Reply

        Glen McPherson

        Hi Carolina, that ‘niReg’ message is perfectly fine. It actually means everything is setup correctly.

        • Reply

          Carolina

          Thanks Glen, but the thing is that I connect the kinect and the green light keeps blinking all the time, and I tried to run ./Sample-PointViewer and all I get is

          504 INFO New log started on 2014-02-26 19:52:17
          523 INFO OpenNI version is 1.5.7 (Build 10)-MacOSX (Nov 12 2013 13:39:54)
          526 INFO — Filter Info — Minimum Severity: UNKNOWN
          One or more of the following nodes could not be enumerated:

          Device: PrimeSense/SensorKinect/5.1.2.1: The device is not connected!

    • Reply

      Glen McPherson

      Hi Carolina, I’ve actually had another reader with the exact same problem. See this thread on the Mountain Lion setup article. I’m just taking a guess (because he didn’t report back), but after you’ve completed the tutorial, try unplugging your Kinect, restarting your mac and then plug it back in, making sure the Kinect is correctly attached and powered. Let me know how you go!

      Also, some good news – that the blinking green light is normal, and will happen when the Kinect is attached to your Mac via USB.

      • Reply

        Carolina

        Ok thanks I’ll try! And sorry to bother you this much 🙁

      • Reply

        Carolina

        Glen I restarted my Mac and tried again, but it didn’t work. I saw this https://blog.nelga.com/setup-microsoft-kinect-on-mac-os-x-10-8-mountain-lion/#comment-4618 and I only see XBox NUI Motor’ too

        • Reply

          Glen McPherson

          Sorry, I should have asked this right from the start… but are you using the Model #1414 Kinect? (you can flip the Kinect upside down to check the model number)

          Also, you might want to check the AC adapter you’re using. Possibly try plugging it into a different wall outlet. (referencing this article)

          • Carolina

            Yes that’s the one, 1414 and the adapter is this one http://tinyurl.com/lnzunaf

          • Carolina

            Hey Glen, thank you so much for everything, the examples are running now and everything is working fine! Seems that the problem was the adapter, I got another one and the problem got solved. Thanks!

          • Glen McPherson

            Excellent news Carolina! So glad you got it working, and relieved there was nothing wrong with the tutorial! Ha, you had me worried.

            Btw for anyone else reading: I triple check (completely uninstalling and then reinstalling) these tutorials on 2 different computers and 2 different Kinects before publishing to try and minimise any issues that might arise.

          • adam

            Hi! Thank you so much for the tutorial! Everything worked swimmingly until the very end.

            Similar to Carolina I had the same error. But after trying again, now I get this:

            ADAM:x64-Release adam$ ./Sample-PointViewer
            1857 INFO New log started on 2015-03-20 22:48:32
            1916 INFO OpenNI version is 1.5.7 (Build 10)-MacOSX (Nov 12 2013 13:39:54)
            1925 INFO — Filter Info — Minimum Severity: UNKNOWN
            One or more of the following nodes could not be enumerated:

            ADAM:x64-Release adam$

            I’m using Kinect 1473, not 1414. I don’t know if that’s causing it. Will dig around some more, and report back.

        • Reply

          Bea

          Hi Carolina,
          I’m having the same error as you had.
          Could you tell me which adapter did you buy/change it to?
          Thanks, I will really appreciated.

          -Bea

    • Reply

      Adam

      Has this issue been resolved? I encountered the same problem ( Device: PrimeSense/SensorKinect/5.1.2.1: The device is not connected! )
      I am trying to install a Kinect V2 with OpenNI on macOS Sierra 10.12.

  • Reply

    Giorgio

    Hi Glen. Great tutorial. I gave it a try and it worked at the first attempt.
    Thanks a lot.

  • Reply

    Florian

    Hi Glen!

    I just followed your tutorial and it’s working but I have a small problem: the kinect stops after 10/20 seconds every time… I just flipped the kinect to see what version I have and it’s a 1517. Do you know a quick tip to make it works with this version? (I’m on Mavericks too).

    Thanks!

    • Reply

      Florian

      Oups I just saw your message in the comments here: https://blog.nelga.com/setup-microsoft-kinect-on-mac-os-x-10-8-mountain-lion/

      Is the problem fixed or not? If not, do you think I can send the video result form a virtual machine to my mac (with syphon maybe)?

    • Reply

      Glen McPherson

      Hi Florian, Unfortunately model #1517 is the “Kinect for Windows” version of the Kinect. I haven’t yet heard of anyone successfully making this work on the Mac yet, and I’m not sure I would hold my breath waiting… Do you think you can get a model #1414 to test out your setup? This guide might help you source one: https://blog.nelga.com/buyers-guide-for-creative-technology/

      • Reply

        Yongduek

        1. I just did what you said above (except for uninstalling because I had no idea on what I had done).
        2. Then, checked the model number of mine, which was #1517.
        3. Simply ran ./Sample-PointViewer
        4. It worked.

        Frankly, I don’t know what is happening in my Mac, but it works anyway.
        Many thanks.

      • Reply

        Ignacio

        Hi! I’ve just installed the latest version of everything (as of 14th of July of 2015) and I have the same problem as FLORIAN, I have a 1517 and after 10 second anything I run stops … I don’t think that this has been solved but, if you know of some changes to make in order to make the Kinect for Windows work, I’d be happy to try them out 🙂

        Thanks!

  • Reply

    Ege

    First of all, thank you very much for the detailed tutorials, they were very helpful to me. I followed your tutorial and it seemed to work fine but after couple of seconds, I’d get ‘corrupted memory’ or something errors. Then I found out that using libfreenect as the driver solves that problem so I did that. But then the Kinect data streams stopped after 1-2 minutes (e.g. the hand tracker sample would work great for 1-2 minutes and stop tracking while the app is still running – i.e. no crash, it just stopped printing data)

    So I thought I’d give OpenNI2 + NiTE2 + libfreenect (with OpenNI2 flag enabled during build) a try and it seems to work with stability. I am currently experiencing issues with recognising wave and click but apart from that, it doesn’t seem to have the problems I had before. For OpenNI2 and NiTE2, the installation is straightforward (and not different than your tutorial above). For libfreenect, the installation instructions can be found at https://github.com/OpenKinect/libfreenect/tree/master/OpenNI2-FreenectDriver And for getting up and running in Mac + Xcode, I used this tutorial http://alvarosarasua.wordpress.com/2013/11/18/setting-up-a-nite2-sample-in-xcode-5

    Thanks
    Ege

    • Reply

      Glen McPherson

      Awesome comment Ege. I’m going to try and test this out too, and if I can replicate, then I’ll make sure to point your comment out at the start of the tutorial. Can I just ask what model Kinect you’re running?

      • Reply

        Ege

        Sure, it’s model 1473 (that came with XBox 360)

        • Reply

          Glen McPherson

          Awesome, so you’ve actually got the later model Kinect which people were sometimes having issues with. That info will come in handy to a bunch of people I’m sure.

        • Reply

          Exomene

          Hi Ege,

          I’m trying to follow the instructions your linking to but my english is so poor I’m not sure I’m doing it right. For example, installation step 3 doesn’t make any sense to me because the directories don’t exist in the archives I uncompressed.
          I would be very grateful if you made a step by step tutorial for Kinect #1473 or if you could link to one. Would it be possible?

          Best regards,

          Exomene

        • Reply

          Luis

          I also got a #1473, mate… and it worked!!! A bit unstable though…
          If I hear any new hacks to improve it I’ll let you know here.
          Please do the same! (I’m on my knees as I say)
          Super thanks to both you geniuses!
          Regards from Rio.

    • Reply

      Paulo

      Hi,
      Could you give more examples about how to set up it
      Im running kinect 1743 mac Yosemite its has been very hard! ·(
      Thanks

  • Reply

    Oskar Cresso

    Thank you so much!

    Been stuck for hours with the 2.x versions of NiTE and OpenNi.
    I also had my Kinect 1414 connected to a USB hub which seemed to cause some trouble.
    Got the same black screen that were mentioned in the previous comments.

    Now it works and I can begin making magic.. hopefully.

    Thank you again and keep up with nice tutorials.

    /Oskar

  • Reply

    HArold

    Hello, I follow the installation but I get stop at 5B.6 It doesn’t show up the next message in my terminal. I got the Kinect model 1473, is it a problem. Thanks a lot for your help.

  • Reply

    taavet

    you are the man!

  • Reply

    Alejandro

    Worked perfectly, Thanks!

  • Reply

    Jeremy Schulz

    Great write-up. Everything worked the first time through. Thanks!

  • Reply

    Mike Kormendy

    Just wondering if I can use Homebrew instead of MacPorts in this tutorial?

    • Reply

      Mike Kormendy

      Furthermore, I’m wondering about a bunch of things … Can we use this to track hand gestures to control the mouse, perform clicks/swipes/drags and further interact with the operating system?

      I have a class for school that has a show coming up with all of the class’s student works displayed on a 60″ flatscreen. I was tasked to see if I could find some way that visitors could interact with a simple website (in full-screen mode) navigating it by simply standing there and using their hands to gesture-click buttons and swipe the screens to pan through the different projects, etc. Does this have the robustness for clicking and mouse pointing at least?

      • Reply

        Glen McPherson

        Hey again Mike,

        This sounds pretty cool, and definitely doable. There’s a video in an earlier inspiration post that touches on what you mention. Gestural control and interaction.

        They’re presumably using the Processing suite to make it all work. I plan on writing a full tutorial soon (I’m currently crazy busy organising my wedding). I believe you can also get mouse motion control up and running with the TUIO drivers for Kinect and Quartz too.

        Hope that helps point you in the general direction you need to be heading. If you manage to get it up and running, it’d be great to hear how you went.

    • Reply

      Glen McPherson

      Hi Mike,

      I believe you can, however I’ve not tested this method. If you give it a shot, can you message back and tell me how you went?

  • Reply

    Shannon

    So I started your wonderful tutorial, then when I got down to download the Openni SDK the website is down. It looks like Apple shut it down if I am not mistaken. Is there another place to download the file?
    Thank you so much for all the help, and good luck with your wedding.

  • Reply

    Karolina

    Hi Glen,

    Thanks for the great tutorial!
    I’m stuck at Sensor Kinect installation – this is what I get:

    MacBook-Pro:~ myusername$ sudo ln -s /usr/local/bin/niReg /usr/bin/niReg
    ln: /usr/bin/niReg: File exists

    and then:
    Installing PrimeSense Sensor
    ****************************

    creating config dir /usr/etc/primesense…OK
    copying shared libraries…OK
    copying executables…OK
    registering module ‘libXnDeviceSensorV2KM.dylib’ with OpenNI…./install.sh: line 111: /usr/bin/niReg: Operation not permitted

    Do you have any idea what’s causing the problem and how could I fix it?
    Thanks in advance!!!!

    • Reply

      Kyt

      comment install.sh line 96 after the first run

      and then

      sudo xattr -d com.apple.quarantine /usr/bin/niReg
      sudo xattr -d com.apple.quarantine /usr/bin/niLicense

  • Reply

    Ege

    Hi Glen,

    You might want to add links to download for NiTE2 and OpenNI2 which I’ve uploaded to here

    https://drive.google.com/folderview?id=0BweCBG5-K9EYaWlWMEJQbmdBMHM&usp=sharing

    Cheers,
    Ege

  • Reply

    Aditya Eka

    So Helpful. Just manage the XBox 360 Kinect working on Mountain Lion. Great Guide. Thanks a lot.

  • Reply

    Robert Andre

    Hi Glenn

    Got up to the installation, then got this back:

    sudo: unable to execute ./install.sh: Operation not permitted

    Any ways around this.

    Thanks,

    Rob

  • Reply

    Leelemon

    Hi Glen
    I already follow your instruction but i can’t run ./Sample-PointViewer
    I don’t know it’s about language of shell script or not
    when i install.sh i can’t use “Sudo ./install.sh” but i use
    sh .install.sh (it’s seem like working for install)

    The problem is I can’t run ./Sample-PointViewer T.T
    Any idea T>T
    Thx

  • Reply

    Leelemon

    And another question is
    What is difference between I code in Microsoft Kinect(Xcode) or Processing

    Im too new in Kinect T.T
    Thx leelemon

    • Reply

      Glen McPherson

      Hi hi! Processing is a great language that’s awesome for artists and creative types. I’m planning a few Processing tutorials soon – sign up to the newsletter if you’d like to know when they’re launched! You don’t (really) use Xcode for Kinect programming – you’re better off using Quartz Composer to make things happen. It’s great for newbies too as it has a very visual interface.

  • Reply

    Slaymantis

    Hello

    Did this installation install the 64 bit versions?
    Do you have instructions for the 32 bit versions please?
    I am trying to get this to work on OSX with unity3d but it requires 32 bit versions
    thanks

    • Reply

      Glen McPherson

      Hi Slaymantis, I didn’t actually consider this when writing the tutorial. I’ll try to take a look into it when I get a chance. If any other commenters have any ideas it’d be great to hear!

      • Reply

        Catte

        Same problem here, on Yosemite the library works perfectly, but the “Kinect with OpenNI 1.5” unity3d asset that I’m trying to use has some troubles and it seems to need a 32bit version as stated asset page (https://www.assetstore.unity3d.com/en/#!/content/7225).
        How can 32bit-OpenNI be installed?

  • Reply

    mezoo

    Super Tuto !
    Merci

  • Reply

    Martin

    On major Step 4 I’ve uncompressed the SDK file and followed steps to complete the install but Terminal keeps spitting out this:

    Martin-*LASTNAME*-iMac:~ *USERFOLDER*$ cd /Users/*USERFOLDER*/Desktop/Kinect/OpenNI-Bin-Dev-MacOSX-v1.5.7.10
    Martin-*LASTNAME*-iMac:OpenNI-Bin-Dev-MacOSX-v1.5.7.10 *USERFOLDER* sudo ./install.sh
    sudo: unable to execute ./install.sh: Operation not permitted
    Martin-*LASTNAME*-iMac:OpenNI-Bin-Dev-MacOSX-v1.5.7.10 *USERFOLDER*$

    Advice?

    Items between *_* have been changed for purposes of this comment.

  • Reply

    Wango

    Hey Glen!

    Will the OpenNI 2.2.0.33 Beta from http://structure.io/openni works with the MAC?

  • Reply

    Han

    Just wanted to say really thank you for your efforts in every detail because I know how hard to make this kind of instructions for others. My Kinect successfully connected to my MBP without any errors. 🙂

  • Reply

    Niklas

    Hi Glen, thanks for the detailed tutorial.

    Unfortunately I keep getting stuck at installing the OpenNi SDK. When I try
    sudo ./install.sh
    and then type in my password, I get the error message:

    sudo: unable to execute ./install.sh: Operation not permitted

    Any ideas why this might be?

    (I don’t know anything about command-line code, but googled this error message and tried something like this:
    xattr -d com.apple.quarantine install.sh
    but that just gives another error:
    xattr: [Errno 13] Permission denied: ‘install.sh’)

    I’d very much appreciate any help!
    Best,

    Nik

  • Reply

    Omar

    I have several questions:
    1- Whats the difference between OpenNI / Nite and OpenNI2 / Nite2 ?? shouldnt we be using the latest versions ?
    2- Whats going on, I see no further news from OpenNI community.. everything is at least a year old.
    3- Isnt this https://github.com/totakke/homebrew-openni2 an easier way to install Kinect drivers, it even supports OpenNI2 !!

    • Reply

      Glen McPherson

      Hi Omar,

      There were some compatibility issues using v2 for a while. This was due to the fact that they were reliant on the Windows SDK. There are a few ways to get the Kinect interfacing on your mac, it just depends what you’d like to do with it. The tutorial above is definitely solid and tested. I’ll be experimenting with some of the other methods in the future too to test their limitations in comparison (stay tuned!). Also, this is the method I’ll be referencing/promoting for future tutorials (that allow you to create special effects and more).

      TL;DR – There are a few ways to get things going, but this is the one I think is the most solid and extensible atm.

  • Reply

    Leo

    Hi, I am getting this message during the step 5. Thanks:
    unable to execute ./install.sh: Operation not permitted

  • Reply

    Silas

    Awsome tutorial. Seldom You find such hight quality, thorough and well documented tutorials. Good User experience 🙂 Thumbs up!

  • Reply

    Andres

    Hi glen, thanks for this great tutorial. I followed your instructions and at the end this happened:
    edwins-imac:x64-Release Edwin$ ./Sample-PointViewer
    InitFromXmlFile failed: File not found!

    I don´t know what thae problem seems to be. If you could help me it would be great.

    PS: I trying to install the kinect so that I could use it on Processing, so far when I run a code that uses the kinect, it says to me “no devices found”.

    • Reply

      MD

      Hallo , Andres
      I got the same problem .like ” InitFromXmlFile failed: File not found!”
      I was so exciting but finally Error 🙁
      Did you find a solution ?
      Would it be nice if you can share the solution . I am stuck same position now.
      Cheers
      MD

      • Reply

        Wu Wanqiao

        Have you try to copy instead of move those three xml documents from NITE Data to SensorKinect Data? Because that is how I solve my problem.

  • Reply

    Joan Saeta

    Hi Glen

    good tutorial, but I have a problem when installing the OpenNI library
    I get the following message:

    sudo: unable to execute. / install.sh: Operation not permitted
    MacBook-MacBook-Pro-de-Joan: OpenNI-Bin-MacOSX-v1.5.7.10-Dev joansaeta $

    Can you help me?
    I installed 5.1 Xcore
    command_line_tools_for_osx_mavericks_april_2014

    Thanks

    • Reply

      Glen McPherson

      Hi Joan,
      Sorry for the late reply – can you tell me what version of OS X you are using, and also, have you previously installed any drivers for the Kinect?

  • Reply

    Orlando

    Hi Glen,
    Im having some problems with step 4, when I drag the SDK folder from the Finder and happens the same as the video, but step 6 say: “And now the fun part! Type in the following, press Return and then enter your password to install OpenNi SDK: sudo ./install.sh”. I press Return and it doesnt ask for any password, so y just write “sudo ./install.sh” and it just say: “sudo: unable to execute ./install.sh: Operation not permitted”. Can you help me please?

  • Reply

    Rob

    Hi Glen,

    Really well written tutorial! Thank you for writing this up!

    I’ve gotten as far as Step 6, installing OpenNI, but Terminal keeps responding to “sudo ./install.sh” with “Operation not permitted”.

    Tried searching for an answer, but no joy. Directory is here…
    Sol$ cd /Users/Sol/Kinect/OpenNI-Bin-Dev-MacOSX-v1.5.7.10

    Any help welcomed. Thanks!
    Rob

  • Reply

    Jeff

    Thanks a lot for this tutorial!

    Got it working the first time without any issues.

    All the best,
    Jeff

  • Reply

    Rodolfo

    Hi Glen,

    Your tutorial is great, i am having troubles with step 4: when i run

    sudo ./install.sh

    i get the following message:

    sudo: unable to execute ./install.sh: Operation not permitted

    I’ve googled it but i can’t find why is it happening, hope you can help me with this, thanks in advance.

    • Reply

      Rodolfo

      Hi Glen,

      I found the answer:

      I ran

      sudo sh ./install.sh

      instead of

      sudo ./install.sh

      Now im having trouble with the last step, when i run

      ./Sample-PointViewer

      i get

      -bash: ./Sample-PointViewer: Operation not permitted

      i really hope you can help me with this, thank you for such great tutorial.

      • Reply

        DARREN

        Hi Rodolfo,
        i have the same question like you,
        have u solved this problem?
        at the last step
        i always get
        -bash: ./Sample-PointViewer: Operation not permitted
        can you help me?
        Thanks in advance!!

  • Reply

    Ilya

    Hi Glen,

    I getting this
    MacBook-Pro-Shwabe:x64-Release Shwabe$ ./Sample-players
    457 INFO New log started on 2014-06-13 19:09:52
    470 INFO OpenNI version is 1.5.7 (Build 10)-MacOSX (Nov 12 2013 13:39:54)
    473 INFO — Filter Info — Minimum Severity: UNKNOWN
    One or more of the following nodes could not be enumerated:

    and

    MacBook-Pro-Shwabe:~ Shwabe$ cd /Kinect/NITE-Bin-Dev-MacOSX-v1.5.2.21/Samples/Bin/x64-Release
    MacBook-Pro-Shwabe:x64-Release Shwabe$ /Kinect/NITE-Bin-Dev-MacOSX-v1.5.2.21/Samples/Bin/x64-Release/Sample-PointViewer
    975 INFO New log started on 2014-06-13 19:05:39
    992 INFO OpenNI version is 1.5.7 (Build 10)-MacOSX (Nov 12 2013 13:39:54)
    995 INFO — Filter Info — Minimum Severity: UNKNOWN
    One or more of the following nodes could not be enumerated:

    Version of Kinect 1414

    What should i do ?)

  • Reply

    Zahra

    Thanks, It works great for me, 🙂
    easy and fast,

  • Reply

    Rich

    If you want a quick way to install all those pakages just download the zigfu web plugin: http://zigfu.com/en/downloads/browserplugin/

    This installs all the above packages and just works.. but you won’t learn anything 🙂

    You could then download the NITE build and run demos if you want.

    • Reply

      Glen McPherson

      Thanks for the link Rich, this looks great. Just keep in mind the tutorial above will help you interface your Kinect with other applications on your mac like Quartz Composer to create cool effects. I could be wrong, but it looks like Zigfu is more for in-browser apps? Love to know if you’ve had some experience – I’ll give it a whirl too.

  • Reply

    Rick

    Thanks a ton for this easy-to-follow tutorial.

    For those interested, I downloaded some notes about the NiTE middleware at these addresses:
    http://pr.cs.cornell.edu/humanactivities/data/NITE.pdf
    http://andrebaltazar.files.wordpress.com/2011/02/nite-controls-1-3-programmers-guide.pdf

    Cheers,

    • Reply

      Glen McPherson

      Thanks Rick! Glad you enjoyed the tutorial and thanks for the doc links! Great stuff.

  • Reply

    Omar

    We are all getting the OPERATION NOT PERMITTED error.
    Are you aware of this posts ? Could you please say at least if you know or do not know why is this happening ?

    • Reply

      Glen McPherson

      Hi Omar,

      Sorry I’ve been a little MIA lately. Can you tell me what version of OS X you are using? Also, have you installed any Kinect-related drivers before attempting this tutorial? I haven’t been able to replicate this issue, and am just trying to troubleshoot.

      Cheers,
      Glen

  • Reply

    Karolina_M

    Operation not permitted solution (10.9.2)

    Hi All,
    After several hours of trial and error I successfully installed the OpenNI package and I would like to share a solution which worked for me. I used Unarchiver app (free) to unzip the tar.zip file, then right-clicked tar.bz2 file, selected ‘open with’ and then Unarchiver app again. Then I followed instructions provided by Glen (cd file_where_you_saved_file and sudo ./install.sh ) and all files installed ok.
    I think that for some reason Mavericks thinks that I don’t have an admin access to install the package (when Unarchiver is not in use), I am not an expert so can not really explain this, sorry 🙂 😉

    Unarchiver solution worked for me in Mavericks 10.9.2 🙂

    p.s. Glen – fantastic work and great tutorial, many, many thanks 🙂

    Best Wishes !
    Karolina

    • Reply

      Ben

      +1 for this fix!!

      Thanks so much for the tutorial & taking the time to sort this out guys!

    • Reply

      Joe

      +1 this is the solution to permission operation (thank you Unarchiver)

    • Reply

      Sergio Villa

      Worked for me!!! Using Unarchiver. Thank you!

  • Reply

    Karolina_M

    Edit: I use Unarchiver app for all further steps and it seems to work great 🙂

  • Reply

    elliott

    Hi Glen,

    thanks for this tutorial!

    I am having trouble opening cmake. i get the issue that it cant be opened bcuz it wasnt d/l from the app store. any idea how to get around this? thank you

    • Reply

      Glen McPherson

      Just for anyone else with this issue too. Open your System Preferences (from the Apple icon in your menu bar), and then click the ‘Security & Privacy’ tab. Once in there, simply change your settings to allow apps downloaded from Anywhere.

  • Reply

    elliott

    ^ wait nm i figured that out how to open it in application then security. but now im having a problem deleting it to reinstall it. please help?

    thank you

    e

  • Reply

    AaronW

    Thank you so, so, SO much for this thorough and effective post. After months of not being able to use the Kinect in my electronic music performances, I’ve got it up and running with Synapse again.

    I was getting the “The device is not connected!” message, so I bought another used 1414 Kinect at Gamestop (only $30) and all is working well.

    Again–THANK YOU!

  • Reply

    Ricardo

    Hi Glen,

    I tried to download open-ni from mega.co.nz, but the down load freeze at 99%. the same for Nite-Bin.

    could you help me?

  • Reply

    Ricardo

    Hi Glen,

    Great tutorial. I followed the steps 1, 2, 3. That is all ok.

    But when I tried to download the OpenNI-Bin-Dev-MacOSX-v1.5.7.10.tar.zip, it freezed at 99%. I look for this file in the downloads folder, but it is not there.

  • Reply

    Wango

    Hi Glen. Thank so much for your great tutorial. It was very helpful.
    But i still have a problem. I do all the stuff above without any errors or problems.
    And the OpenNi Samples also works perfectly.
    I wrote a small Java app for exercise. In this app i use the Dephtgenerator.
    Same code works fine on Ubuntu and Windows. But on my iMac the Depthgenerator will startsup.
    I find it strange because, if i use the rgb or infrared generator my app show me pictures in a panel,
    unlike the depth image.
    Thank you

  • Reply

    guillaume

    Hi Glen,

    Thank’s for what you did it seems to be great !
    I wrote seems because I am stuck ! Can’t install Cmake properly, I have an error message when it comes to the ‘Install Command Line Links’, there is no way to avoid it. I did uninstall and install again but still…
    By the way there is no real installation process, only dragging it to the application folder.
    Then I run the app and find ‘Install Command Line Links’ under the option menu ‘Tools’.
    Did I do something wrong ?
    Thank’s in advance.

    Guillaume

  • Reply

    rob

    followed tutorial workds great, now how do i just use kinect as a webcam and mic for stuff like ustream

  • Reply

    Harry Richardson

    hey every time i try and write the first bit (sudo port install libtool) it comes up with sudo: port: command not found. has anyone got a solution?

    • Reply

      Arthur

      I have this same problem.

      • Reply

        lan

        me too

        • Reply

          Kat

          same!

  • Reply

    tzelathial

    Perfect tutorial

  • Reply

    Nicholas Inatel

    Very good tutorial, everything worked perfectly! Thank you very much you saved my life

  • Reply

    Casber

    Hey!! Glen, thanks for your useful tutorial, I find it works in my Mavericks Mac 10.9.4
    However, when I want to extend the possibility to using OSCeleton,
    in terminal when make the OSCeleton Execution file, failure appears:
    the log file say sth like this:
    […src/OSCeleton.cpp:547:33: warning: format specifies type ‘int *’ but the
    argument has type ‘char **’ [-Wformat]
    if(sscanf(argv[arg+1], “%d”, &PORT) == EOF ) {
    ~~ ^~~~~
    1 warning generated.
    src/viewer.cpp:83:2: warning: ‘gluOrtho2D’ is deprecated: first deprecated in OS
    X 10.9 – “Use GLKMatrix4MakeOrtho” [-Wdeprecated-declarations]
    gluOrtho2D(0.0, width, height, 0.0);
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:276:13: note:
    ‘gluOrtho2D’ declared here
    extern void gluOrtho2D (GLdouble left, GLdouble right, GLdouble bottom, …
    ^
    1 warning generated.
    ld: library not found for -lOpenNI
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make: *** [osceleton] Error 1]

    I try to search online, does it refer to the problem of the path of OpenNI or the macport in Mavericks???

    Pretty frustrated about the Mac OS problem with Kinect……..

    • Reply

      Alberto Barradas

      Got the same problem here. Apparently nothing that uses OpenGL will compile on my mavericks, because libraries were deprecated. There should be a compile flag for legacy, shouldn’t it?

  • Reply

    dave11mj

    Hello Glen,

    I’d like to start with thanking you for this useful tutorial. I made it all the way through thanks to how clear it was. When I ran the final “sudo ./Sample-PointViewer” I was pretty excited to see it run, and see some display from the kinect camera. Unfortunately it seems to crash or stop moving / gathering data after a few seconds, before even showing the point tracking and I have to force quit out of the program. It doesn’t show any error messages, but the model I am using is the #1473 do you think this might be the reason is not tracking properly / crashing ?

    Thanks!
    😀

  • Reply

    Nico

    This is such a great tutorial. Really appreciated. Thanks very much!

  • Reply

    ege

    Hi, Thanks so much for your awesome tutorial 😀
    I’m stuck at part 6. I’m getting “sudo: unable to execute ./install.sh: Operation not permitted”… Do you have any idea where the problem might be?

    Thanks in advance

  • Reply

    Daniel

    It works for me on OS X 10.9 but only like 30 seconds. After each time I have to restart app

  • Reply

    Cazbar

    Hey Glen

    Ive followed you guide step by step but when I write ./Sample-PointViewer in the end I get this:

    admins-iMac-72:Bin id3$ cd /Users/id3/Kinnect/NITE-Bin-Dev-MacOSX-v1.5.2.21/Samples/Bin/x64-Release
    admins-iMac-72:x64-Release id3$ ./Sample-PointViewer
    514 INFO New log started on 2014-09-25 11:02:44
    534 INFO OpenNI version is 1.5.7 (Build 10)-MacOSX (Nov 12 2013 13:39:54)
    537 INFO — Filter Info — Minimum Severity: UNKNOWN
    One or more of the following nodes could not be enumerated:

    Do you have any clue why? Cheers, buddy

  • Reply

    niejogja

    can’t register on step 6
    Copying shared libraries… OK
    Copying includes… OK
    Installing java bindings… OK
    Installing module ‘Features_1_3_0’…
    ls: Features_1_3_0/Bin/lib*dylib: No such file or directory
    Installing module ‘Features_1_3_1’…
    ls: Features_1_3_1/Bin/lib*dylib: No such file or directory
    Installing module ‘Features_1_4_1’…
    ls: Features_1_4_1/Bin/lib*dylib: No such file or directory
    Installing module ‘Features_1_4_2’…
    ls: Features_1_4_2/Bin/lib*dylib: No such file or directory
    Installing module ‘Features_1_5_2’…
    Registering module ‘libXnVFeatures_1_5_2.dylib’… ./install.sh: line 41: /usr/bin/niReg: Operation not permitted

  • Reply

    Craig

    Hi Glen,

    I’m having an issue with Step 7. In a new finder window, locate your x64-Release folder by following this path: NiTE / Samples / Bin / x64-Release. Everything has installed grand as did all the folders but for some reason this isn’t coming up and for the life of me I can’t figure out why. Any idea?

  • Reply

    niejogja

    I have problem on step 6 when I installing NITE, i got message Registering module ‘libXnVFeatures_1_5_2.dylib’… ./install.sh: line 41: /usr/bin/niReg: Operation not permitted.

  • Reply

    Felipe

    HIII great tutorial, but i have a big problem here. I have MAC OS X 10.9.
    but i get this error when I run the program whit a PrimeSense device
    ./Sample-PointViewer
    540 INFO New log started on 2014-10-08 00:54:40
    564 INFO OpenNI version is 1.5.7 (Build 10)-MacOSX (Nov 12 2013 13:39:54)
    568 INFO — Filter Info — Minimum Severity: UNKNOWN
    One or more of the following nodes could not be enumerated:

    Device: PrimeSense/SensorKinect/5.1.2.1: The device is not connected!

    This only works with a Kinect sensor?
    Please help me!!!

  • Reply

    Glenn Holt

    The Mega download for openNI 1.5 does not work. It stalls @ 99% and then pops up a couple of ad attempts.

  • Reply

    Sevgi

    Thank you so much for this easy to follow, clear tutorial. Worked like a charm!

  • Reply

    RainyDayInterns

    Hi! Just came upon this tutorial and before we give it a try, we thought we should ask if you have had a chance to run it under 10.10 Yosemite.

  • Reply

    Shaw

    Hi Glen,

    Thank you for your detailed tutorial. I installed everything successfully by following your steps. However, it doesn’t work in the end. The errors like this:
    2044 INFO New log started on 2014-10-28 13:57:33
    2063 INFO OpenNI version is 1.5.7 (Build 10)-MacOSX (Nov 12 2013 13:39:54)
    2067 INFO — Filter Info — Minimum Severity: UNKNOWN
    One or more of the following nodes could not be enumerated:

    Device: PrimeSense/SensorKinect/5.1.2.1: The device is not connected!

    I restarted the OS and connected the kinect to the wall outlet, but it still doesn’t work. I think it’s the problem of my system, the following is my system info:
    Mac OS X 10.10 Yosemite
    Kinect2 Model 1656

  • Reply

    DanS

    Installed perfectly! The soft link command didn’t seem to work as it seems like the file was already in the /usr/bin. Anyways, thanks for the tutorial, VERY cool. 🙂

    I’m currently hoping to get it to work with Powerpoint slides. Will do some research on it but any advice?

  • Reply

    Diego Caballero

    I was having the same problem as you guys with the “Operation not permitted” and was getting really frustrated..

    As KAROLINA_M already pointed out I downloaded “the unarchiver” app, then I deleted EVERYTHING inside the “kinect” folder we had created and started from scratch since Step 4.. So you have to download the files and everytime you have to unzip a file do it with the unarchiver app.. And that´s it.

    I hope this works for everyone else too.

  • Reply

    Kyle

    Is it working on Kinect v2 ?

  • Reply

    Brandon

    Hey Glen,

    As I followed along with your tutorial I ran into an error in step 4.6 “sudo ./install.sh”. I’m working in the proper folder, but I’m getting an error saying “sudo: unable to execute ./install.sh: Operation not permitted”. Any ideas/solutions?

    Thanks,

    Brandon

  • Reply

    Austin

    wondering the same as SHAW. anyone know if this will work on 10.10 yosemite? kicking myself in the face for updating right about now

  • Reply

    Diego Caballero

    Hi Brandon,
    I was also getting that same error as you. Someone in the comments pointed out this as a solution:
    “sudo sh ./install.sh”

    And it worked for me, hope it works for you!

  • Reply

    Will

    Everything works… for about ten seconds then the video goes black or freezes. Any ideas?

  • Reply

    Qi

    Thanks your tutorial , Glen!

    Everything was works for me until the last step, when i launch the “./Sample-PointViewer”, the Terminal told me ” Operation not permitted”, my kinect is #1473, and i can see the kinect´s light is blinking at each second.
    Would be a problem that im using OS YOSEMITE??

    Thanks!

  • Reply

    Mark

    Glen,

    You sir are BAWSE! Can’t thank you enough for posting this beautifully laid out tutorial. Lotta learning went on here, and I went from the limited Synapse single user to OSCeleton multiple user tracker on Yosemite. Just wanted to say thanks for putting the time and effort into making this valuable tutorial happen. 😀

    ~ Mark

  • Reply

    Glen McPherson

    Hi guys,

    Hi everyone! So sorry it’s been so long since an update. I’ve just recently tied the knot with my lovely wife Rachael and returned from a very long honeymoon.

    It’s great to see that you’ve been helping each other out in the comments section! Especially with all the compatibility issues that I wasn’t able to reproduce.

    I know a few of you are looking to push the boundaries and try out new things… me too! So prepare yourselves for some long overdue updates! Oh, and there are some more exciting announcements on the horizon too. 🙂

    Glen

  • Reply

    paolo

    Hi Glen,
    congratulations!
    I’m new on this blog and I was looking around a way to connect the new (actually not so new) kinect One to a Mac OS.
    I already use a kinect 1414 (OSC and TUIO protocol) to control some interactive drawing tool for immersive live performance but the low resolution sensor sometimes make me sick…
    anyway thanks a lot for all your su