
simple-openni - issue #27
Processing Can't find the SimpleOpenNI library in windows 32x
I can't figure out why this is coming up? I follwed the download instructions, according to the device manager everything is up and running. The processing program has been installed correctly. There was no inital "libraries" folder so I created one and I have the unzipped SimpleOpenNI folder located there.
What is the expected output? What do you see instead? I am trying to access the example library and the DepthImage example.
Please provide any additional information below. Here is the code that comes up
Can't find the SimpleOpenNI library : java.lang.UnsatisfiedLinkError: C:\Documents and Settings\Leanne\My Documents\Processing\libraries\SimpleOpenNI\library\SimpleOpenNI.dll: Can't find dependent libraries Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: SimpleOpenNI.SimpleOpenNIJNI.swig_module_init()V at SimpleOpenNI.SimpleOpenNIJNI.swig_module_init(Native Method) at SimpleOpenNI.SimpleOpenNIJNI.<clinit>(SimpleOpenNIJNI.java:1542) at SimpleOpenNI.ContextWrapper.<init>(ContextWrapper.java:54) at SimpleOpenNI.SimpleOpenNI.<init>(SimpleOpenNI.java:192) at DepthImage.setup(DepthImage.java:40) at processing.core.PApplet.handleDraw(Unknown Source) at processing.core.PApplet.run(Unknown Source) at java.lang.Thread.run(Thread.java:662)
Comment #1
Posted on Jan 18, 2012 by Happy KangarooAnd sorry I forgot to add Im using XP
Comment #2
Posted on Feb 11, 2012 by Quick Elephantsame problem here
Comment #3
Posted on Mar 22, 2012 by Massive KangarooDid you guys figure out the reason? I'm seeing the same problem in Vista ...
Thanks.
Comment #4
Posted on Mar 23, 2012 by Swift KangarooI got this same problem on OSX Lion. It was working fine and then I started getting that message : Can't find SimpleOpenNI library... I had a hunch that it was something to do with some extra folders that I had added manually to the processing/libraries folder so I took out the following folders: - G4PTool-1 (User interface creator) - RUIS - a new interactive project (see http://ruisystem.net/)
I haven't checked to see which was causing the error but removing them from Processing/Libraries solved the problem. No more error message.
Clear out all non-essesntial/unused files from your libraries folder mentioned above or wherever you keep your 3rd party processing libraries. Check to see if that works. If not try running the OpenNI/Nite installer again...(Also its good practice not to have Processing open when you are doing these steps!) Hope that helps! Post back here if this method is successful.
C
Comment #5
Posted on Mar 23, 2012 by Grumpy HorseI was teaching a course last month using 6 different Kinect units on about a dozen PCs, all running Win 7 - 64. We used the 32-bit version of this software, though. We ran into this same problem. However, in each case, simply rebooting Windows after installing the Windows drivers solved this problem...
Comment #6
Posted on Mar 25, 2012 by Massive KangarooAll, Thanks for the input.
I have an Asus Xtion Pro Live. The OpenNI bundle that came in the installation CD (along with the sensor) was not compatible with latest release of SimpleOpenNI.
I uninstalled OpenNI and PrimeSense drivers and downloaded the same from http://zigfu.com/en/downloads/browserplugin
I don't see the error anymore.
Cheers!
Comment #7
Posted on May 3, 2012 by Swift GiraffeHi,
I realised as well that the current version of RUIS (as of 3/5/2012) indeed conflicts with simpleOpenNI. I spoke with the developers of the library, they are aware of the problem and they should fix it soon. For now the problem is resolved if you copy manually the SimpleOpenNI/library/libSimpleOpenNI.jnilib file (from the simpleOpenNI library) inside the RUIS/library folder.
Comment #8
Posted on May 11, 2013 by Massive Lionwhere is the RUIS folder?
Comment #9
Posted on Jul 2, 2013 by Grumpy GiraffeHi,
I found a very simple solution to resolve SimpleOpenNI exception 'Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: SimpleOpenNI.SimpleOpenNIJNI.swig_module_init()V '
- Go to System Properties -> Advanced -> Environnement Variables
- In 'System variables', search and modify 'Path' variable
- Add a path to the SimpleOpenNI32.dll in the end of 'Path' variable.
By default : SimpleOpenNI32.dll is located at %SimpleOpenNI% Folder ...\Processing\libraries\SimpleOpenNI\library\
Hope it will be useful to you!
I got my solution after reading this article: http://stackoverflow.com/questions/12875212/kinect-unsatisfiedlinkerror-simpleopenni-simpleopennijni-swig-module-initv
NMQM
Comment #10
Posted on Oct 4, 2013 by Helpful BearHi, I have the same problem on Mac OSX 10.7.5, Proessing 2.0.3 but ONLY when I create an application out of my sketch. Otherwise it runs perfectly. Any idea?
Eric
Comment #11
Posted on Dec 3, 2013 by Happy BearSame here--SimpleOpenNI 1.96 doesn't seem to export working applications on any platform. Working on Processing 2.0.3 but also tested Processing 1.5 and 2.1. I hope there's a straightforward fix for this; SimpleOpenNI is a wonderful tool!
Comment #12
Posted on Dec 15, 2013 by Massive DogCan anyone already export a working application? I still get that the library can't be found.
Comment #13
Posted on Feb 2, 2014 by Massive DogJust to keep this updated.
It looks like when you export the app tries to find the lib in the root and not in the data folder.
So a workaround was to copy the files to the system root and it worked.
Comment #14
Posted on Feb 3, 2014 by Happy BearInteresting! Where can we configure where it looks for the libraries? What's involved in changing that setting?
Comment #15
Posted on Mar 24, 2014 by Happy DogAny updates on this? When you move "files" to root are you moving the library, the sketch or another file?
Comment #16
Posted on Apr 24, 2014 by Happy BearIssue #73 is the same issue, and they're making more progress...
Status: New
Labels:
Type-Defect
Priority-Medium