Pcl-1.6 together with OpenNI2

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Pcl-1.6 together with OpenNI2

christian.b
This post has NOT been accepted by the mailing list yet.
Hi,

i have an serious problem with compiling the new OpenNI2 version in in combination with the Pcl-1.6 in VisualStudio2010. What i am trying to do is to read out the new Xtion and put the captured depth and color data into a pcl pointcloud. This cloud should be displayed then.

When i include the following .h files together i get an enormous amount of compile errors

#include <OpenNI.h>
#include <pcl\io\pcd_io.h>
#include <pcl\point_types.h>
#include <pcl\visualization\cloud_viewer.h>

When i include only the OpenNI header everything works fine. Even if i include only the pcl header files everything is fine. Both together produce these errors.

The errors occur in the \pcl\correspondence.h as well as in the \pcl\pcd_io.h

Can anyone help me with that?

Thanks in advance
 
Reply | Threaded
Open this post in threaded view
|

Re: Pcl-1.6 together with OpenNI2

kwaegel
Administrator
christian.b wrote
I have an serious problem with compiling the new OpenNI2 version in in combination with the Pcl-1.6 in VisualStudio2010. What i am trying to do is to read out the new Xtion and put the captured depth and color data into a pcl pointcloud. This cloud should be displayed then.

When i include the following .h files together i get an enormous amount of compile errors

#include <OpenNI.h>
#include <pcl\io\pcd_io.h>;
#include <pcl\point_types.h>;
#include <pcl\visualization\cloud_viewer.h>;

When i include only the OpenNI header everything works fine. Even if i include only the pcl header files everything is fine. Both together produce these errors.

The errors occur in the \pcl\correspondence.h as well as in the \pcl\pcd_io.h

Can anyone help me with that?
PCL 1.6 does not have an OpenNI2 frame grabber, and neither does the newest 1.7.1 version. I'm working on getting a OpenNI2 grabber into the development trunk in the next week or so.

Are you trying to use the OpenNI2 interface directly? If you really want to try that, you'll need to post the the error log before we can suggest anything.