QianwenChen / simple-openni

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

Can't load SimpleOpenNI library ( Ubuntu 12.04 Linux 32 bit, UDOO Board ARM Processor) #104

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have installed processing 1.5.1 on Ubuntu 12.04 Linux 32 Bit, before i 
installed the Oracle JDK as shown below:

ubuntu@udoo:~$ java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) Client VM (build 24.45-b08, mixed mode)

I renamed the Java Folder in processing into Java-x86 and with this command, 
Processing starts:

ubuntu@udoo:~$ cd kinect/processing-1.5.1
ubuntu@udoo:~/kinect/processing-1.5.1$ ./processing

After that I imported the SimpleOpenNI library and tried the example DepthImage 
and get this Error Code:

Display 0 does not exist, using the default display instead.
Can't load SimpleOpenNI library (SimpleOpenNI) : 
java.lang.UnsatisfiedLinkError: Can't load library: 
/SimpleOpenNI/library/linuxSimpleOpenNI
Verify if you installed SimpleOpenNI correctly.
http://code.google.com/p/simple-openni/wiki/Installation
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:290)
    at SimpleOpenNI.ContextWrapper.<init>(ContextWrapper.java:54)
    at SimpleOpenNI.SimpleOpenNI.<init>(SimpleOpenNI.java:254)
    at DepthImage.setup(DepthImage.java:41)
    at processing.core.PApplet.handleDraw(Unknown Source)
    at processing.core.PApplet.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:744)

Can anybody help me with this problem?

Original issue reported on code.google.com by AHindenn...@googlemail.com on 2 Jun 2014 at 2:55