Help Please: LKB Kinect Bundle on OSX

227 views
Skip to first unread message

SeriousSwann

unread,
Sep 21, 2012, 4:00:13 PM9/21/12
to lkb...@googlegroups.com
Hi All,

I'm not a programmer and I'm trying to fumble my way through setting this up on OSX (Mountain Lion), but I'm stuck. Here are my issues:
  • When I open LKB.app without Kinect plugged in, it will open, but when I plug it in, the green light comes on on the Kinect, but LKB.app doesn't recognize the camera and all the options stay greyed out, like in the following screenshot:

  • If I open LKB.app with the Kinect plugged in, it crashes.
  • I have also tried running Sample-NIViewer from the samples included with NITE after searching for solutions and options for troubleshooting, but I get the error following Error:
    • COMPUTERNAME:x64-Release kptswann$ ./Sample-PointViewer
    •      1029 INFO       New log started on 2012-09-20 22:54:49
    •      1050 INFO       OpenNI version is 1.5.4 (Build 0)-MacOSX (May 16 2012 10:22:59)
    •      1056 INFO       --- Filter Info --- Minimum Severity: UNKNOWN
    • One or more of the following nodes could not be enumerated:
  • I read online that this was because the computer was not recognizing the Kinect, but when I go into "System Information" on the Mac it shows the three kinect devices under the USB hub (don't have the names handy)


These are the steps and details I went through to install the software described here: http://code.google.com/p/lkb-kinect-bundle/wiki/BasicSetup
  1. Installed LKB.app from here: http://code.google.com/p/lkb-kinect-bundle/downloads/detail?name=LKB-0.1-OSX.dmg&can=2&q=
  2. Installed xcode and installed Command Line utilities from within xcode.
  3. Installed the latest package version of MacPorts from here: https://distfiles.macports.org/MacPorts/MacPorts-2.1.2-10.8-MountainLion.pkg
  4. Installed libusb by opening Terminal and typing the command "sudo port install libusb" - got no errors
  5. Created a directory called Development/Kinect and put all the packages below in it.
  6. Installed OpenNI by downloading this: openni-bin-dev-macosx-v1.5.4.0.tar.bz2
    1. Unzipped the archive and navigated to the folder in Terminal and typed the command: "sudo ./install.sh" got no errors
  7. Installed NITE by downloading this: nite-bin-macosx-v1.5.2.21.tar.bz2
    1. Unzipped the archive and navigated to the folder in Terminal and typed the command: "sudo ./install.sh" got no errors
  8. Installed avin2 SensorKinect drivers by downloading: avin2-SensorKinect-v0.93-5.1.2.1-0-g15f1975.zip
    1. Unzipped the archive and navigated to the folder Bin in Terminal
    2. Unzipped the following archive: SensorKinect093-Bin-MacOSX-v5.1.2.1.tar.bz2 and navigated to the unzipped folder and then typed the command: "sudo ./install.sh" got no errors
I think that's basically all the info I have. As I said, the three Kinect devices are showing up in System Information when the Kinect is plugged in, but LKB.app doesn't seem to see it.

I have tried the following:
  1. Restarting computer
  2. Running the install.sh files for each package again
  3. Trying to troubleshoot by running Sample-NIViewer from NITE - fails and gives the error above.
This might be over my head, but I'm really excited about getting this working, so if someone could provide me with any help or information on what I am doing wrong I would greatly appreciate it.

And thanks for putting this package together, such a cool idea.


Nicolas Zalaquett

unread,
Sep 21, 2012, 9:23:03 PM9/21/12
to lkb...@googlegroups.com
Hi! 

Try this: Uninstall avin2 drivers then do :

sudo port install libusb-devel +universal

then reinstall avin2. Hope it works! tell us if it doesn't so we can try something else.

Cheers!



--
 
 

SeriousSwann

unread,
Sep 21, 2012, 10:49:56 PM9/21/12
to lkb...@googlegroups.com
Hi,

Thanks for getting back to me. I uninstalled the avin2 drivers, and then tried to run "sudo port install libusb-devel +universal" but I get the following error.
KITSONMACBOOK:Applications kptswann$ sudo port install libusb-devel +universal
Password:
--->  Configuring libusb-devel
Error: Please do not install this port since it has been replaced by 'libusb'.
Error: org.macports.configure for port libusb-devel returned: 
Please see the log file for port libusb-devel for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libusb-devel/libusb-devel/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port libusb-devel failed

So i tried "sudo install libusb +universal" didn't fix the problem.

Any other ideas? Thanks again for your help.

Nicolas Zalaquett

unread,
Sep 22, 2012, 12:37:51 AM9/22/12
to lkb...@googlegroups.com

Hi, just in case, try this, quoting from avin2 git :


"MaxOSX:
1) Install MacPorts for OSX 10.6 from: https://distfiles.macports.org/MacPorts/MacPorts-1.9.2-10.6-SnowLeopard.dmg
		    for OSX 10.7 from: https://distfiles.macports.org/MacPorts/MacPorts-2.0.4-10.7-Lion.dmg
2) Run: sudo port install libtool
3) Run: sudo port install libusb-devel +universal
	 Note: Do not forget the +universal, it's very important!!
	       If you're previously already installed libusb-devel 

               then use "sudo port uninstall libusb-devel" and reinstall 

               it again with the +universal flag.
TIPs:
	1) If the driver is installed correctly you should see "Kinect Camera" and "Kinect Motor" under the "PrimeSensor" category in the device manager.
	   If not, try to install the driver manually by running the dp-inst files from the Driver directory."

Change libusb-devel for libusb but uninstall and reinstall with the "+universal" flag. Good Luck!

--
 
 

SeriousSwann

unread,
Sep 22, 2012, 1:35:46 AM9/22/12
to lkb...@googlegroups.com
Hi Again,

It's working now. Thanks again for your help. Now I'm off to play with a giant touch screen!

ricardo palmieri

unread,
Feb 11, 2013, 6:07:55 AM2/11/13
to lkb...@googlegroups.com
it happens me and i solved after install this:


cheers..
Reply all
Reply to author
Forward
0 new messages