Getting UnsatisfiedLinkError with Shiffman's library for Kinect
in
Contributed Library Questions
•
2 years ago
Hi all, I'm trying to get some of the examples in Daniel Shiffman's updated Kinect library to work. I installed openkinect, and have all the libraries in the right place. I'm not really sure what the problem is, but the glview test in the terminal works fine with the Kinect plugged in. I'm running Leopard and am using Processing 1.21. Any help would be appreciated.
EDIT: I realized that I might not have had to install openkinect manually, is this a possibility, and could it be the cause of the error? Also, it seems like everyone is using snow leopard, would that make a difference as well?
Here are the errors:
- processing.app.debug.RunnerException: UnsatisfiedLinkError: /Users/milespeyton/Desktop/projects/processing/libraries/openkinect/library/libKinect.jnilib:
- at processing.app.Sketch.placeException(Sketch.java:1543)
- at processing.app.debug.Runner.findException(Runner.java:583)
- at processing.app.debug.Runner.reportException(Runner.java:558)
- at processing.app.debug.Runner.exception(Runner.java:498)
- at processing.app.debug.EventThread.exceptionEvent(EventThread.java:367)
- at processing.app.debug.EventThread.handleEvent(EventThread.java:255)
- at processing.app.debug.EventThread.run(EventThread.java:89)
- Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: /Users/milespeyton/Desktop/projects/processing/libraries/openkinect/library/libKinect.jnilib:
- at java.lang.ClassLoader$NativeLibrary.load(Native Method)
- at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
- at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1739)
- at java.lang.Runtime.loadLibrary0(Runtime.java:822)
- at java.lang.System.loadLibrary(System.java:993)
- at org.openkinect.Context.<clinit>(Context.java:43)
- at org.openkinect.processing.Kinect.start(Kinect.java:40)
- at RGBDepthTest.setup(RGBDepthTest.java:33)
- at processing.core.PApplet.handleDraw(PApplet.java:1583)
- at processing.core.PApplet.run(PApplet.java:1503)
- at java.lang.Thread.run(Thread.java:613)
1