GABYDRAKO / simple-openni

Automatically exported from code.google.com/p/simple-openni
0 stars 0 forks source link

UnsatisfiedLinkError #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by saulo...@hotmail.com on 15 Oct 2011 at 2:10

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
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...   

Original comment by richpa...@gmail.com on 21 Oct 2011 at 3:51

GoogleCodeExporter commented 8 years ago
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

Original comment by tijmenva...@gmail.com on 21 Oct 2011 at 9:31

GoogleCodeExporter commented 8 years ago
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

Original comment by tijmenva...@gmail.com on 21 Oct 2011 at 4:36

GoogleCodeExporter commented 8 years ago
Hi tijmenva...

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

Best regards

Original comment by saulo...@hotmail.com on 21 Oct 2011 at 7:50

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
well i'm using all 32bit (openni, nite, java) and still get this error :(

Original comment by ruiteixe...@gmail.com on 10 Nov 2011 at 7:22

GoogleCodeExporter commented 8 years ago
Same problem here, installed all 32 bit, but the same error :(

Original comment by stereoac...@gmail.com on 17 Nov 2011 at 11:46

GoogleCodeExporter commented 8 years ago
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

Original comment by jg.man...@gmail.com on 20 Nov 2011 at 1:55

GoogleCodeExporter commented 8 years ago
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

Original comment by jg.man...@gmail.com on 20 Nov 2011 at 1:56

GoogleCodeExporter commented 8 years ago
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.

Original comment by m...@paus.ch on 20 Nov 2011 at 7:05

GoogleCodeExporter commented 8 years ago
Should be fixed with version 0.24+

Original comment by m...@paus.ch on 4 Jan 2012 at 4:07