Export to GitHub

simple-openni - issue #17

UnsatisfiedLinkError


Posted on Oct 15, 2011 by Happy Bird

What steps will reproduce the problem? 1.Install OpenNI, NITE and PrimeSensor (controller) 2.Kinect Audio, Kinect Camera and Kinec Motor (are active) 3.

What is the expected output? What do you see instead?

Program stops in: context = new SimpleOpenNI(this); send message: UnsatisfiedLinkError C:\Programmierung\Processing\libraries\SimpleOpenNI\library\SimpleOpenNI.dll

Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: C:\Programmierung\Processing\libraries\SimpleOpenNI\library\SimpleOpenNI.dll: Can't find dependent libraries at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1028) at SimpleOpenNI.SimpleOpenNI.<clinit>(SimpleOpenNI.java:33) 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)

What version of the product are you using? On what operating system? Processing 1.5.1, Windows 7 (64)

Please provide any additional information below.

Comment #1

Posted on Oct 21, 2011 by Happy Ox

Comment deleted

Comment #2

Posted on Oct 21, 2011 by Happy Ox

I was experiencing the same error, using Processing 1.5.1 and Windows 7 Prof. 64-bit. Since SimpleOpenNI is only a 32-bit version for Windows at this time, delete the 64-bit versions of OpenNI, NITE and PrimeSensor and install the 32-bit versions of those three instead (yes, counter-intuitive on a 64 system). SimpleOpenNI & its samples should then work properly. Perhaps the 64 version of SimpleOpenNI will be available soon...

Comment #3

Posted on Oct 21, 2011 by Grumpy Elephant

I have the same problem, I installed everything 32 bits but still get the unsatisfied link error. Is there a DLL that doesn't give this problem? what can I do to solve this issue?

anyone with a solution

Comment #4

Posted on Oct 21, 2011 by Grumpy Elephant

Hey all I have Solved the unsatisfied link dll error on windows 7 64 bits by installing java runtime (jre-7u1-windows-i586.exe)and (Brekel OpenNI Kinect Auto Installer - Developer Edition v1.3.2.3.exe) I uninstalled everything and than it worked :)

hope this helpes

Comment #5

Posted on Oct 21, 2011 by Happy Bird

Hi tijmenva...

thank you very much for your help, the SimpleOpenNI is now working fine.

Best regards

Comment #6

Posted on Oct 24, 2011 by Happy Rabbit

Comment deleted

Comment #7

Posted on Nov 10, 2011 by Helpful Monkey

well i'm using all 32bit (openni, nite, java) and still get this error :(

Comment #8

Posted on Nov 17, 2011 by Quick Rhino

Same problem here, installed all 32 bit, but the same error :(

Comment #9

Posted on Nov 20, 2011 by Happy Hippo

We are a research group trying to use the library in windows x64. I would apreciate any comments. At the moment we are stack in this error: C:\Programmierung\Processing\libraries\SimpleOpenNI\library\SimpleOpenNI.dll

We are working OK on mac

Comment #10

Posted on Nov 20, 2011 by Happy Hippo

We are a research group trying to use the library in windows x64. I would apreciate any comments. At the moment we are stack in this error: C:\Programmierung\Processing\libraries\SimpleOpenNI\library\SimpleOpenNI.dll

We are working OK on mac

Thank you so much

Comment #11

Posted on Nov 20, 2011 by Quick Bear

I uploaded the version 0.22 for windows7 64. You should install java 64 bit as well and check that you remove or rename the java folder in the processing folder. Otherwise processing will use the internal java 32 version. Test this in the console, type:

java -version java version "1.6.0_23" OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10) OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

Also check if you installed the right OpenNI versions:

niReg -l

If you still have problems, report the missing library. You can use DependencyWalker to see the missing library: http://www.dependencywalker.com/ Drop the SimpleOpenNI.dll into DependencyWalker, it will list all dependency's.

Comment #12

Posted on Jan 4, 2012 by Quick Bear

Should be fixed with version 0.24+

Status: Done

Labels:
Type-Defect Priority-Medium