首页 文章

使用Daniel Shiffman的Kinect处理库获取UnsatisfiedLinkError

提问于
浏览
1

我试图让Daniel Shiffman更新的Kinect库中的一些例子工作 . 我安装了openkinect,并将所有库放在正确的位置 . 我不太确定问题是什么,但终端中的glview测试与插入的Kinect工作正常 . 我在intel Macbook(2007)上运行10.5.8并使用Processing 1.21 . 我意识到几乎所有运行库的人都在使用Snow Leopard,这可能是问题吗?任何帮助,将不胜感激 .

编辑:我发现这个页面非常有用,但是我仍然遇到错误 .

http://openkinect.org/wiki/Installation/Compilation_Guides

奇怪的是openframeworks演示工作完美,所以我认为openkinect的安装不是问题 . 我在openkinect的google群组页面上问了同样的问题 . 我不是唯一有这个问题的人,我也看到它在处理论坛上出现了 . 不要犹豫,问我是否有任何可以澄清的内容 .

以下是错误:

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 回答

  • 0

    对于有同样问题的人,我通过升级到Snow Leopard解决了这个问题 . 我不确定为什么会这样,但是现在所有的Kinect Processing库都能正常工作 .

相关问题