kimanig22 / simple-openni

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

Can't find the SimpleOpenNI library (SimpleOpenNI32) on 32 and 64-bit Ubuntu (Linux) #37

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Acknowledgement
Contain solutions from Issue 35 and Wiki/Installation.

What steps will reproduce the problem?
1.  On 64-bit Ubuntu, install everything 64-bit
2.  Run DepthImage example

OR

1.  On 32-bit Ubuntu, install everything 32-bit
2.  Run DepthImage example

What is the expected output? What do you see instead?
Expect to see the screen showing images from Kinect.
However, received "Can't find the SimpleOpenNI library library (SimpleOpenNI32) 
: ..." error.

What version of the product are you using? On what operating system?
1.
Ubuntu 11.10, 64-bit, OpenNI-Bin-Dev-Linux-x64-v1.5.2.23, 
NITE-Bin-Dev-Linux-x64-v1.5.2.21, Sensor-Bin-Linux-x64-v5.1.0.41, Processing 
1.5.1, SimpleOpenNI-0.26

2.
Ubuntu 11.04, 32-bit, OpenNI-Bin-Dev-Linux-x86-v1.5.2.23, 
NITE-Bin-Dev-Linux-x86-v1.5.2.21, Sensor-Bin-Linux-x86-v5.1.0.25, Processing 
1.5.1, SimpleOpenNI-0.26

Please provide any additional information below.

Many thanks to Bradley....@gmail.com (Wiki/Installation Feb 11) and 
d...@alum.mit.edu 
(https://code.google.com/p/simple-openni/issues/detail?id=35).  Their solutions 
fixed the two related but different problems as described above.

If you receive "Can't find the SimpleOpenNI library (SimpleOpenNI32) : ..." 
error, it probably is due to incompatibility of the architecture (32 vs 64).  I 
encountered two scenarios:

1.  On x64 Ubuntu, installed everything x64 but encountered above error.  
Bradley's solution (up Feb 11) works here.  Apparently Processing has a 32-bit 
Java in it, and that shall be replaced with a 64-bit Java as described by 
Bradley.  Many thanks, Bradley.

2.  On x32 Ubuntu, installed everything x32 but encountered above error 
(again!).  d...'s solution (Issue 35) works here.  Apparently SimpleOpenNI 
download has been built for 64-bit and the library folder is missing 
"libSimpleOpenNI32.so" file.  One need to build the source for 32-bit and copy 
"libSimpleOpenNI32.so" into the SimpleOpenNI library folder.  Alternatively, 
download the file from attachment.  Many thanks, to d...@alum.mit.du.

Original issue reported on code.google.com by weehong....@gmail.com on 23 Apr 2012 at 7:58

Attachments: