Regular installation. Installing in silent mode. Installing conda on a system that has other Python installations or packages. Installing in silent mode¶. NOTE: The following instructions are for Miniconda. For Anaconda, substitute Anaconda for Miniconda in all of the commands. Hi, i started a project to bring the task of creating bootable usb on Linux, in a script form. Its similar to Pandora, but i wrote it from scratch. As of now it lacks a GUI, and i lack GUI coding skills. It can be usefuel for: -People without access to a real MAC.
With just 5 steps, you’ll get a perfect environment in your Mac for OpenPool Effect development. Below shows how to set up all necessary tools to create your own effects. It might look like a long article since we put many screenshots for easier understanding, but it’ll only take about 30 min to complete.
Are you ready? (Tested under MacOS X 10.8.3 Mountain Lion) STEP1. Install Processing The key to OpenPool is Processing.
So let’s install it first. Download Processing from: Download Processing 1.5.1 for Mac OS X, which is located in the Stable Releases section. (Important Notice: Don’t download ver2.0. At this time, OpenPool is NOT compatible with Processing ver2.0) Then unzip the downloaded file, and move Processing(.app) file into Applications folder.
Install OpenCV Next, let’s install OpenCV, Open Source Computer Vision Library, which is an open-srouce library aimed at real-time computer vision. First, you’ll need wget, cmake and make commands to install OpenCV. If you don’t think you already installed these commands, click to open the folded sections below. Make: command not found You need to install Xcode Command Line Tools in order to use the make command. Go to and download it. (You’ll need to login with Apple ID. You already have it if you have iPhone or iPad.
It’s the one you use when you download apps.) Note: Please make sure the file you are downloading is correct: It’s different between Mountain Lion and Lion) After installation is done, you’ll be able to use the make command”. ※You can install Xcode itself of course, but it’s a huge file to download, so we recommend you to install Commanld Line Tools instead. It actually works as long as you play with OpenPool. Sudo make install When you “make -j4”, it’ll take a bit long time and your Mac may get very heated and fans may go crazy, but just wait until it’s done. You can go complete STEP3 and STEP4 while you are waiting. But don’t forget the last line, sudo make install. ※By the way, you may want to install OpenCV with homebrew.
But it’s problematic at this time. Install OpenNI We need OpenNI to use Kinect. Let’s download these two files: SimpleOpenNI-0.27.zip and OpenNINITEInstaller-OSX-0.24.zip. Firstly, unzip the latter file and cd to the extracted OpenNINITEInstaller-OSX directory on Terminal, like.
/ install.sh Next, unzip the former file and move the extracted SimpleOpenNI folder into: /Users/(your Mac username)/Documents/Processing/libraries/SimpleOpenNI (You might need to create new folders named Processing and libraries by yourself.) Very good! You got OpenNI ready now. ※Make sure you are moving NOT SimpleOpenNI-0.24 folder, but SimpleOpenNI folder which is inside it.
※ Processing folder must be locate in Documents folder. ※The same instuction is described here too: STEP4. Install OpenPool Finally, let’s install OpenPool. Unzip the file, and move the extracted folder to: /Users/(you Mac username)/Documents/Processing/libraries/OpenPoolCore/ Easy! Run Sample Effect You did it!
Everything’s all set. Now, let’ run the sample effect! The sample file is located here: (OpenPool directory)/examples/OpenPoolExampleImageOnBall/OpenPoolExampleImageOnBall.pde After Processing window appeares, press the Play button. The effect is working with a recorded video, which is in the data folder next to OpenPoolExampleImageOnBall.pde. Let’s change the image with this line.
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, 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, 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 or buy the correct version (Model #1414) right now. Preface: Uninstall Existing Kinect Drivers If you followed my 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. 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 –. 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. (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 2.
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. 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.
Once you’ve downloaded the Command Line Tools, simply open the disk image and install the package. 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., an open source version of the X.org X Window System for Mac. I’m using version 2.7.5. 2., 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 and then reinstall. 3., 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. To install Libtool, open the Terminal application: Applications / Utilities / Terminal.
Next, type in the following. 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 , 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! Create a new folder on your Mac called ‘Kinect’.
This will help keep things organised (I’ll be referring to this folder later on). 3. Move the file you just downloaded to your Kinect folder and double click to uncompress and reveal the SDK folder. Okay, now you’re now ready to install the OpenNi SDK on your Mac.
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. 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. Visit the on GitHub and click the Download ZIP button that looks like this: 2.
Once downloaded, move the SensorKinect-unstable.zip file to your Kinect folder and double-click to uncompress it. Navigate to the SensorKinect093-Bin-MacOSX-v5.1.2.1.tar.bz2 file inside the Bin folder, and double-click to uncompress it.
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.
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. 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.
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.
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. 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): 2. 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. 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./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). 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. The ‘Players’ demo will identify you as Player 1. Want to try something cooler?. 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!),. 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! 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. 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: 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. 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 And for getting up and running in Mac + Xcode, I used this tutorial Thanks Ege. 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?
Hey again Mike, This sounds pretty cool, and definitely doable. There’s a that touches on what you mention. Gestural control and interaction.
They’re presumably using the 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 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.
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/primesenseOK copying shared librariesOK copying executablesOK 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!!!! 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. 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! 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.
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 filewhereyousavedfile 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! 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. 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.
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(argvarg+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. 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? 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.
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!!! 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: 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. 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. Hi Paolo, Thank you! Yes I’m actually in the same boat. I have ordered and received the new Kinect sensor for Windows (the same one the Xbox One uses, but specifically designed to work with your PC via USB).
So once I get some time to test it out and get it running, I’ll put together another tutorial. I’ll also try to check and updated (if necessary) this tutorial for Mac OS X 10.10 Yosemite. Great that you’re already up and running with OSC and TUIO. If you ever want to do a guest post on either of those technologies, please feel free to let me know! Cheers, Glen. Hey Glen, Thank you for this post!
I’m having issues installing OpenNI: MacPro: MacPro$ cd /Users/MacPro/Desktop/mac/OpenNI-Bin-Dev-MacOSX-v1.5.7.10 MacPro:OpenNI-Bin-Dev-MacOSX-v1.5.7.10 MacPro$ sudo./install.sh sudo: unable to execute./install.sh: Operation not permitted MacPro:OpenNI-Bin-Dev-MacOSX-v1.5.7.10 MacPro$ I have a custom built mac tower. I’ve followed some of the home-brew tutorials as well trying to get my model1414 working.
I hope these installs aren’t corrupting your build. I currently have a custom built mac tower (2.99 ghz 6 core intel xeon with 24 gb of memory, zotac GeForce GT 430 1024 MB graphics card) running mavericks 10.9.5. I have a windows build on a separate solid state but i’d prefer to get this all working from the Mac side. I’ve used this specific kinect and adaptor in the past on my macbook pro running lion but now neither seems to be working correctly. Perhaps the adaptor is shot.
Anyhow I still can’t install the OpenNI and any help with this would be great. Hello, congrats for the great tutorial! I´m writing from Brazil. UPDATE Hello again, i think that found something.
![Mac Mac](/uploads/1/2/5/4/125498075/898412076.jpg)
I´m a really noob, so, i´m sorry for the basic questions. It is looking for: ibusb-1.0.180+universal.darwin13.i386-x8664.tbz2, but, if you look at the website , it have just ibusb-1.0.180+universal.darwin14.i386-x8664.tbz2. It is looking for 13.i386 and in the website we just have 14.i386 This could be the problem?
How can i fix this? Thanks for your excellent tutorial and for responding to so many comments Glen. Maybe this is a really dumb question, but I’m not sure I understand why one would need to go through this installation process? I’ve been using a Kinect successfully on Lion and Yosemite without ever installing any kinect drivers – just NIMate or Synapse. I found this tutorial after I started having problems getting a Processing sketch to work on Yosemite. It works fine on Lion, but on 10.10 the OpenNI library is not found, even though it is installed in the right place. I read that since mid 2014, OpenNI is no longer supported, so that may explain why it won’t work on 10.10.
Developing anything new using OpenNI seems a bit risky, and sadly it seems Windows is the safest platform. I’d appreciate any feedback! Hi Toni, Thanks for visiting and for the info. NIMate will definitely get you up and running without the hassle, but unfortunately it’s a paid alternative. Installing the drivers is recommended when attempting to use the Kinect with Synapse and Quartz Composer, and should let you hack into it for most other purposes too.
If you intend to write professional software using the kinect as an interface, then I would definitely go custom or a solution that has a higher level of support than OpenNI. But for the tehnologists, makers and hobbyists, this should be a nice way to get started. I do intend to get a tutorial up with the changes for Mac 10.10 Yosemite, along with a tutorial for the Kinect v2, but it’s been hard to find the time as I’m also launching ‘Creature Lab’, my new UX and design innovation studio (sign up to the eNewsletter to hear when it launches). I should have some free time over the next month though, so stay tuned for more Kinect fun. Hi Angel, My apologies, it seems a wordpress update destroyed the code snippets I posted. The ‘stag code’ reference you were seeing was not meant to be there at all. I’ve gone through this entire post and replaced all the code samples to fix the problem.
You can now hover your mouse over the code snippets too and it’ll let you easily copy them as plain text – ready for pasting. In a nutshell: There were issues with the tutorial that are now fixed. Please let me know if you run into any more issues! Hi, Trying to install the OpenNi SDK and getting this in terminal: copying shared librariesOK copying executablesOK copying include filesOK creating database directoryOK registering module ‘libnimMockNodes.dylib’dyld: Library not loaded: /opt/local/lib/libusb-1.0.0.dylib Referenced from: /usr/lib/libOpenNI.dylib Reason: image not found./install.sh: line 111: 1249 Trace/BPT trap: 5 $INSTALLBIN/niReg -r $INSTALLLIB/$module Sabrinas-MacBook-Pro:OpenNI-Bin-Dev-MacOSX-v1.5.7.10 sabrinaekalli1$ Any insight in to what might be the problem? Sudo xattr -rd com.apple.quarantine /path/to/file The issue is that OS X by default puts a ‘quarantine’ label on downloaded files it doesn’t trust. Normally, if this is the case with a ApplicationName.app file, you would doubleclick the file, get a warning from the system, click “Open” and it removes the label.
This is a bit different with these binaries or shell scripts. For me this worked: – instead of typing “sudo./install.sh” I used “sudo sh./install.sh”, which goes around the blocked install.sh because it’s not directly executing that file, but the “sh” program instead, which then reads install.sh as a regular file. Nevertheless, this still got me 3 errors on executing “niReg” (operation not permitted). – “sudo xattr -rd com.apple.quarantine /usr/bin/ni.” then made it possible to execute niReg (and also unlocks “niLicense” at the same time) By the way, I still had to run the niReg lines manually through terminal: sudo /usr/bin/niReg -r /usr/lib/libnimMockNodes.dylib sudo /usr/bin/niReg -r /usr/lib/libnimCodecs.dylib sudo /usr/bin/niReg -r /usr/lib/libnimRecorder.dylib Answer found through performing a “ls -@l /usr/bin/ni.” and then googling “com.apple.quarantine” ending up at: So let’s make up for these 45 minutes that I just wasted trying to figure this out ?.
Hi Glen, Thanks for this tutorial. Really easy to follow. However I’ve come un- stuck at the last hurdle./Sample-PointViewer 1012 INFO New log started on 2015-05-23 11: INFO OpenNI version is 1.5.7 (Build 10)-MacOSX (Nov 12 2013 13:39:54) 1371 INFO — Filter Info — Minimum Severity: UNKNOWN One or more of the following nodes could not be enumerated: I’ve unplugged, restarted but still no luck. I’m using Kinect 1414 any help greatly appreciated. Cheers PAUL Device: PrimeSense/SensorKinect/5.1.2.1: The device is not connected!
Thank you so much for the detailed tutorial. I arrived here because I am trying to take advantage of a Processing Library for Kinect and got the following message: ” A library relies on native code that’s not available.
Or only works properly when the sketch is run as a 32-bit application. ” And apparently this tutorial had helped some other people resolve the issue. Unfortunately, after following all of the steps and trying to run the command, I received this message: ” nathaniel:x64-Release nathanieladdison$./Sample-PointViewer dyld: Library not loaded: /opt/local/lib/libusb-1.0.0.dylib Referenced from: /usr/lib/libOpenNI.dylib Reason: image not found Trace/BPT trap: 5 ” I saw a similar issue in the comments but the proposed solution didn’t solve the problem. Can you please advise? Any help is greatly appreciated. I’m not that fluent with these things but it seems like all the preceding steps executed smoothly except I did notice that I was never prompted for my password when in the terminal while installing sensor kinect or NiTE. Very nice tutorial, Glen!
In spite of restarting my MacBook Air several times and plugging and unplugging Kinect for XBOX360 (Device no 1414), my attempts to run the sample games always result in the following. Could Glen or anyone else help me with this one? 1430 INFO New log started on 2015-05-29 18: INFO OpenNI version is 1.5.7 (Build 10)-MacOSX (Nov 12 2013 13:39:54) 1465 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! Got to step 3 Libusb: A usb support tool for applications. Followed terminal commands and got this — Computing dependencies for libusb — Dependencies to be installed: autoconf automake — Extracting autoconf Error: org.macports.extract for port autoconf returned: Failed to locate ‘xz’ in path: ‘/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin’ or at its MacPorts configuration time location, did you move it? Error: Failed to install autoconf Please see the log file for port autoconf for details: /opt/local/var/macports/logs/optlocalvarmacportssourcesrsync.macports.orgreleasetarballsportsdevelautoconf/autoconf/main.log Error: The following dependencies were not installed: autoconf automake To report a bug, follow the instructions in the guide: Error: Processing of port libusb failed.
Hello everybody, I’ve followed all the instructions. When I did this a few months ago on my imac, everything worked as expected the first time, no errors. Now, on my Mbp, I cannot get past step 6. I type sudo./install.sh and nothing happens.i.e no feedback from terminal. When I try sudo sh./install.sh I am prompted to enter my admin password. Once this is done, nothing happens and terminal gives no feedback again.
I am on Yosemite 10.10.5 on this mbp. Please help me, i have a deadline in a week and I am really badly stuck. Thanks in advance for the help. Hi Glen, I get stuck at step 4 part 6 where I am supposed to install openNI. Terminal displays no feedback when O drag the folder in and press return. Decided to skip this step and see if I go ahead and install SensorKinect and Nite. Both of these seemed to install fine.
What I am doing now is, uninstalling and starting again. I am on Yosemite 10.10.5 using a 1414 Kinect on an Mbp mid 2014. If anybody can help that would be great, I have a project due in a week and it isn’t looking good. I have read through all of the comments and tried all the suggestions but no luck so far. If you or anybody can offer some assistance that would be super cool.
Thanks from Ireland. Hi again, I managed to get everything working! I restarted my laptop and went through the uninstall process.
Restarted again and then followed the tutorial from the start. This time everything just worked, no errors, no anomalies. I guest was a user error. I double checked that i was using the correct files and instead of copying and pasting the code snippets from the tutorial, I carefully typed them into terminal. I am running Yosemite OS X version 10.10.5 on a mid 2014 Macbook Pro Retina using the 1414 kinect. This is a great tutorial and it is worth sticking with it as it will work well in my experience. Good luck everybody.
Hi, Thanks for the terrific tutorial! Unfortunately, although everything installed without error, I can’t connect to the Kinect. It works fine in Processing (with examples here: ), so I know that the hardware is set up correctly. I’m on 10.5.5 with an XBOX One 1520. Dyn-128-59-116-138:x64-Release cmcuser$./Sample-PointViewer 568 INFO New log started on 2015-08-28 16:26:40 583 INFO OpenNI version is 1.5.7 (Build 10)-MacOSX (Nov 12 2013 13:39:54) 585 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! Since it’s working in Processing I assume it’s not a USB/driver/firmware problem best, Douglas.
Thanks, IGNACIO AVELLINO! This is exactly what I needed — but then I still couldn’t get it going. I got the same errors as someone else did where the XML file thru an error and the USB device failed to load. Turns out that my MacPro (aka Trashcan) only has USB 3.0 ports. When I hooked up the Kinect to one of the USB outs on my Thunderbolt display: viola! Working great so far on El Capitan.
Thanks, GLEN for the awesome write up, too! I have a whole host of old projects that will see life again now, thanks to you!
![Install sh for mac 2017 Install sh for mac 2017](https://ohmyz.sh/img/themes/eastwood.jpg)
Hello Glen, I am having some issues with getting my kinect to work. I have followed all the steps provided, but when I run the./sample-PointViewer command I get the following error: Michaels-MacBook-Pro:x64-Release.$./sample-Pointviewer 502 INFO New log started on 2015-11-15 19:03:32 517 INFO OpenNI version is 1.5.7 (Build 10)-MacOSX (Nov 12 2013 13:39:54) 520 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 am using OSX 10.11.1 El Capitan with a Kinect model 1520. I should note that I am not a programmer, I am an Architectural Student looking to utilize the program found here: A link to the program download is also on that website.
I can’t seem to get the kinect to work at all, and I desperately need to get this program working. Any help you can provide would be greatly appreciated. Operation Not Permitted Solution I was trying to install the kinect on an OSX el capitan and I was getting the same error.
This was my solution. Restart the machine and hold cmd+r to boot into recovery OS.
Once there select the terminal and Enter “csrutil disable”. And Enter “reboot” after. This command gives you the permission to write to /usr/bin/ Once your mac starts cd into the OPENNi and type sudo sh./install.sh this should work. For safety after you’re done installing you can reenable the csrutil. I hope it works for you’all.
It’s Feb 1, 2016. I’m not sure if you’re still responding to this post, looks like the most recent posts were two months ago. I believe that I followed all your directions correctly and all seems well.
I’m on a newer Mac Pro and the Kinect is recognized at the USB 3.0 Bus. But the final command for the PointViewer did not work, nor does the Kinect seem to be responding. I have model 1520 for XBox 1. I am a college professor working on gestural interaction for live performance, but an orchestra director with some background in computer programming, but not an expert.
Any help much appreciated. It would be fine to respond to this email address. Hello Glen (excuse my english.
I am french and my lessons are far away from me) First of all I want to thank you for your tutorial! I am trying to follow your tutorial. But -on the “How to uninstall Kinect drivers on your Mac” page, I don’t find the files “OpenNI-Bin-Dev-MacOSX-v1.5.4.0″ (same thing for NITE and SENSOR KINCET). I have recently installed this: It have installed me some kinect’s drivers. I want to restart whith a clean setting.
Is it enough if I put what was installed into the trash? Is there no hidden files? Thank you for your help.
In step 3, in my terminal shows this: “— Activating libusb @1.0.200+universal Error: org.macports.activate for port libusb returned: Image error: /opt/local/lib/libusb-1.0.0.dylib already exists and does not belong to a registered port. Unable to activate port libusb. Use ‘port -f activate libusb’ to force the activation. Please see the log file for port libusb for details: /opt/local/var/macports/logs/optlocalvarmacportssourcesrsync.macports.orgreleasetarballsportsdevellibusb/libusb/main.log To report a bug, follow the instructions in the guide: Error: Processing of port libusb failed” Why? What should i do?
Dear Friends I am desperate i want to use the kinect device on my macbook pro with yosemite 10.10 and its impossible to access the kinect camera using the technique here. Although everything seems to be installed fine during the process, when i reach this point the kinect just doesnt connect. I am a university student i need to use this desperately for a project.
I would be grateful if you could help out guys!!! Last login: Sat Mar 26 11:06:58 on ttys000 Andreass-MBP: andreas5391$ cd /Users/andreas5391/Sites/Kinect/NITE-Bin-Dev-MacOSX-v1.5.2.21/Samples/Bin/x64-Release Andreass-MBP:x64-Release andreas5391$./Sample-PointViewer 1263 INFO New log started on 2016-03-26 11: INFO OpenNI version is 1.5.7 (Build 10)-MacOSX (Nov 12 2013 13:39:54) 1289 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! Andreass-MBP:x64-Release andreas5391$. Hello Glen, I used the unarchiver method and this same thing happened. It automatically says sorry try again.
Ive gone through many tutorials and libraries trying to get this to work. Shanes-MacBook-Pro: shane$ cd /Users/shane/Desktop/Kinect/OpenNI-Bin-Dev-MacOSX-v1.5.7.10 Shanes-MacBook-Pro:OpenNI-Bin-Dev-MacOSX-v1.5.7.10 shane$ sudo./install.sh Password: Sorry, try again. Password: Installing OpenNI. copying shared librariescp: /usr/lib/libOpenNI.dylib: Operation not permitted cp: /usr/lib/libOpenNI.jni.dylib: Operation not permitted cp: /usr/lib/libnimCodecs.dylib: Operation not permitted cp: /usr/lib/libnimMockNodes.dylib: Operation not permitted cp: /usr/lib/libnimRecorder.dylib: Operation not permitted Shanes-MacBook-Pro:OpenNI-Bin-Dev-MacOSX-v1.5.7.10 shane If its easier you can shoot me an email @ Thank you for the tutorial!