SimpleOpenNI Export Application stops sketch from working

edited December 2013 in Kinect

I have a working sketch with SimpleOpenNI. Everything is working just like I wanted, but when I export the application it doesn't run. I imported the sketch into Mother and I get te error:

Can't load SimpleOpenNI library (libSimpleOpenNI.jnilib) : java.lang.UnsatisfiedLinkError: Can't load library: /SimpleOpenNI/library/libSimpleOpenNI.jnilib

I already tried copying the simpleOpenNI everywhere and it still doesn't work.

Can anyone give me a tip? Thanks

I'm using Processing 2.0.3 64bit

simpleOpenNI 1.96

in a macos with Mavericks

Tagged:

Answers

  • I ended up copying the SimpleOpenNI folder to "/" (the root of macos system) and it works fine.

  • Just go into the application package contents/java/, delete the folders "osx" and "NiTE" and copy the whole SimpleOpenNI folder to this directory.

    fubbi

  • So I got some questions about this and to clarify:

    the folder is ...yourapplication/Contents/Java/_simpleOpenNi/

    because the link part in that error /SimpleOpenNI/library/libSimpleOpenNI.jnilib is a relative link and that relation turned out to be to the java folder, like this ...yourapplication/Contents/Java/SimpleOpenNI/library/libSimpleOpenNI.jnilib

    hope it works for you

Sign In or Register to comment.