anacatarina18campos / simple-openni

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

Can't load library: /SimpleOpenNI/library/linuxSimpleOpenNI32 #82

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use Processing 2.0.3 under Ubuntu 13.04 (32bit)
2. Install SimpleOpenNI as described here 
http://code.google.com/p/simple-openni/wiki/Installation
3. Start the DepthImage example within Processing (or any other sketch that 
contains the line context = new SimpleOpenNI(this);)

What is the expected output? What do you see instead?
Trying to test SimpleOpenNI with ASUS Xtion Pro and the DepthImage example.

What version of the product are you using? On what operating system?
- Processing 2.0.3,
- Ubuntu 13.04 (32bit),
- installed SimpleOpenNI within Processing (Import Library ... -> Add Library 
...)

Please provide any additional information below.

1) Xtion and OpenNI installation are working fine. Tested with XnSensorServer 
and NiViewer in the Ubuntu Terminal.

2) Error Message in Processing:

Can't load SimpleOpenNI library (SimpleOpenNI32) : 
java.lang.UnsatisfiedLinkError: Can't load library: 
/SimpleOpenNI/library/linuxSimpleOpenNI32
Verify if you installed SimpleOpenNI correctly.
http://code.google.com/p/simple-openni/wiki/Installation
A library relies on native code that's not available.
Or only works properly when the sketch is run as a 64-bit  application.

3) Tried to solve it using libSimpleOpenNI32.so from Issue 37 but got the above 
error again.

Original issue reported on code.google.com by moritz.a...@gmail.com on 29 Oct 2013 at 12:27

GoogleCodeExporter commented 8 years ago
Also renamed libSimpleOpenNI32.so to linuxSimpleOpenNI32.so ;), but that didn't 
work out either.

Original comment by moritz.a...@gmail.com on 29 Oct 2013 at 12:29

GoogleCodeExporter commented 8 years ago
I've been facing the same problem over the last evening or two, and I think 
this may be (at least part of) the problem:
https://code.google.com/p/simple-openni/issues/detail?id=35

It looks like SimpleOpenNI wasn't built for 32-bit Linux, so you'll have to 
build it yourself using the instructions above.  That being said, I still don't 
seem to have fully solved the issue...but maybe that will work for you (or at 
least put you on the right track)

Original comment by popeawes...@gmail.com on 5 Nov 2013 at 7:16