UnsatisfiedLinkError
Closed this issue · 4 comments
GoogleCodeExporter commented
after installing simple openni as described on ubuntu 10.10 64 bit (or 11.04 64
bit) and running an example (as the one from the "project home" page), the
following error occurs:
Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError:
/home/*/sketchbook/libraries/SimpleOpenNI/library/libSimpleOpenNI.so:
/home/*/sketchbook/libraries/SimpleOpenNI/library/libSimpleOpenNI.so: wrong ELF
class: ELFCLASS64 (Possible cause: architecture word width mismatch)
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 sketch_jul09a.setup(sketch_jul09a.java:28)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
i tried this on two different machines now, both with the same error.
Original issue reported on code.google.com by rwalte...@gmail.com
on 8 Jul 2011 at 10:20
GoogleCodeExporter commented
Processing comes with a 32bit java version. Check out the folder where you
installed processing, there you will find a folder 'java'. Remove it and
processing should start with your default 64bit java runtime.There will be a
messagebox from processing, but it should work.
Original comment by m...@paus.ch
on 8 Jul 2011 at 10:59
- Changed state: Accepted
GoogleCodeExporter commented
a great it works, thanks! i was not aware of the fact that processing is
shipped with its own java version. i had to install boost 1.46.1 to make it
finally work though.
cheers
robert
Original comment by rwalte...@gmail.com
on 8 Jul 2011 at 11:56
GoogleCodeExporter commented
good to hear, yeah, should mention the boost install for linux, it's only
mentioned for the build instructions
Original comment by m...@paus.ch
on 9 Jul 2011 at 12:24
- Changed state: Done
GoogleCodeExporter commented
was really really helpful, thank you.
Original comment by kokefi...@gmail.com
on 8 Mar 2012 at 8:46