Arnaod / simple-openni

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

SWIG Incompatibilities with OpenNI as of April Release - Patch Attached #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to build SimpleOpenNI against new OpenNI libs (from April release)

What is the expected output? What do you see instead?

Compilation errors, properties now changed or missing.

What version of the product are you using? On what operating system?

Ubuntu 64-bit 11.04, OpenNI 1.3.4.2, NITE 1.4.1.2

Please provide any additional information below.

I've attached a patch that fixes the compilation errors. In addition, I also 
fixed the way boost thread is found/linked (otherwise you're going to run into 
fPIC errors on Ubuntu 64 with your current CMake, so I assume it's system local 
for building, since the .so shipped in the binaries shows a non-system-package 
boost when ldd'ing anyways :) ), and fixes an error I was having with doc 
generation. Checking for the validity of the P5_JAR variable also seems broken, 
it'll happily try to build without that. 

There's been a new release of OpenNI as of yesterday which may complicate 
issues even more, I haven't tested it against that yet.

Original issue reported on code.google.com by qDot76...@gmail.com on 12 Oct 2011 at 5:42

Attachments:

GoogleCodeExporter commented 8 years ago
I should note that I did try the output of this patch against Processing 1.5.1 
on the same platform mentioned above, and a simple display output test did seem 
to work. 

Original comment by qDot76...@gmail.com on 12 Oct 2011 at 5:43

GoogleCodeExporter commented 8 years ago
After looking at the diff I uploaded, I didn't clean up the cmake quite as well 
as I thought, so you may just want to kill the commented line in the SWIG 
interface and ignore the CMake changes. :)

Original comment by qDot76...@gmail.com on 12 Oct 2011 at 5:55

GoogleCodeExporter commented 8 years ago

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