We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Has anyone been able to successfully export, then run, a Processing app using Simple-OpenNI on Mac OS X? I've tried essentially every trick and suggested fix that my Google search skills could find. I've tried adding Simple-OpenNI through the Processing GUI itself (Import Library) as well as downloading the library straight from the site and dropping it in. So it doesn't seem like the installation is the problem. My sketches all run fine, until I try to export them, then run independently. I get the infamous error:
Can't load SimpleOpenNI library (libSimpleOpenNI.jnilib) : java.lang.UnsatisfiedLinkError: Can't load library: /SimpleOpenNI/library/libSimpleOpenNI.jnilib Verify if you installed SimpleOpenNI correctly. http://code.google.com/p/simple-openni/wiki/Installation Exception in thread "Animation Thread" java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: SimpleOpenNI.SimpleOpenNIJNI.swig_module_init()V [...]
As you can see in the screenshot below, the libSimpleOpenNI.jnilib seems to be present in /Contents/Java but I don't know why the Processing sketch is looking in /SimpleOpenNI/library/libSimpleOpenNI.jnilib instead of looking in its own directory structure (after being exported).
ie: The exported Processing sketch appears to be looking here (shown below), which is the location of the Simple-OpenNI libraries when they aren't being used in an exported sketch. Even though I have the library installed, it doesn't find it there either.
My specs/setup: OS X 10.8.5, Processing 2.1 (64-bit), java version "1.6.0_65", Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609), Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
Any help is much appreciated!