Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Compiling and running an application using SimpleOpenNI library fails to load, MacOSx

$
0
0

I have a mac osx 10.8 and I am using SimpleOpenNI library that is giving trouble when compiling an application. When just running the processing sketch, it runs no problem. But it won't work with a compiled app. How can I run a compiled application for a Mac using the SimpleOpenNI library???

This is similar to this forum but the solution presented here is not working for my problem on a mac : https://code.google.com/p/simple-openni/issues/detail?id=73

What steps will reproduce the problem?

  1. Compile application with proccessing.
  2. run application

What is the expected output? What do you see instead? Application fails to load openni libs with error:

Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: SimpleOpenNI.SimpleOp
        at SimpleOpenNI.SimpleOpenNiJNI.swig_module_init(Native Method)
        at SimpleOpenNI.SimpleOpenNIJNI.(SimpleOpenNIJNI.java:290)
        at SimpleOpenNI.ContextWrapper.(ContextWrapper.java:54)
        at SimpleOpenNI.SimpleOpenNI.(SimpleOpenNi.java:256)
        at LanScapesLerp.setup(LanScapesLerp.java:126)
        at processing.core.PApplet.run(PApplet.java:1530)
        at processing.core.PApplet.handleDraw(PApplet.java:1608)
        at java.lang.Thread.run(Thread.java:680)

Viewing all articles
Browse latest Browse all 2896

Trending Articles