kinect: UnsatisfiedLinkError
in
Contributed Library Questions
•
2 years ago
I'm trying to use shiffman's kinect library, here:
I tried running the KinectTest example (with the Kinect connected and powered), but I'm getting an "UnsatisfiedLinkError". I've confirmed the library files are in the expected place, and tried it in two different places (in the Documents path and in the Package Contents, where core libraries go). Here are the errors:
Here's when it's in the contributed libraries folder:
- processing.app.debug.RunnerException: UnsatisfiedLinkError: /Users/mattgilbert/Documents/Processing/libraries/kinect/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/mattgilbert/Documents/Processing/libraries/kinect/library/libKinect.jnilib:
- at java.lang.ClassLoader$NativeLibrary.load(Native Method)
- at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
- at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
- at java.lang.Runtime.loadLibrary0(Runtime.java:822)
- at java.lang.System.loadLibrary(System.java:993)
- at shiffman.kinect.NativeKinect.<clinit>(NativeKinect.java:25)
- at KinectTest.setup(KinectTest.java:30)
- at processing.core.PApplet.handleDraw(PApplet.java:1583)
- at processing.core.PApplet.run(PApplet.java:1503)
- at java.lang.Thread.run(Thread.java:613)
Here's when it's in the core libraries folder, in Package Contents:
- processing.app.debug.RunnerException: UnsatisfiedLinkError: /Applications/Processing.app/Contents/Resources/Java/libraries/kinect/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: /Applications/Processing.app/Contents/Resources/Java/libraries/kinect/library/libKinect.jnilib:
- at java.lang.ClassLoader$NativeLibrary.load(Native Method)
- at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
- at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
- at java.lang.Runtime.loadLibrary0(Runtime.java:822)
- at java.lang.System.loadLibrary(System.java:993)
- at shiffman.kinect.NativeKinect.<clinit>(NativeKinect.java:25)
- at KinectTest.setup(KinectTest.java:29)
- at processing.core.PApplet.handleDraw(PApplet.java:1583)
- at processing.core.PApplet.run(PApplet.java:1503)
- at java.lang.Thread.run(Thread.java:613)
Any tips?
2