‘PCLPointCloud2’ is not a member of ‘pcl’

classic Classic list List threaded Threaded
4 messages Options
Y R
Reply | Threaded
Open this post in threaded view
|

‘PCLPointCloud2’ is not a member of ‘pcl’

Y R
I am sorry if this is a beginner question, but I'm trying to do the vfh recognition tutorial and when I try to "make" my file it tells me ‘PCLPointCloud2’ is not a member of ‘pcl’ and ‘PCLPointField’ is not a member of ‘pcl’ which leads to a few other errors and I am unable to "make" the file.

I am using the exact same code as in the tutorial for both the .cpp files and the cmake file:
http://pointclouds.org/documentation/tutorials/vfh_recognition.php#vfh-recognition

I installed pcl via sudo "apt-get install libpcl-all"
Reply | Threaded
Open this post in threaded view
|

Re: ‘PCLPointCloud2’ is not a member of ‘pcl’

Sergey
Administrator
Hi,

I guess what you are getting with "apt-get install libpcl-all" is an old version of PCL, namely 1.6. All the tutorials have recently been updated to match the changes introduced in PCL 1.7 (http://www.pcl-users.org/PCL-1-7-is-there-td4028803.html). Unfortunately I have no idea when the .debs and installers for other platforms will be updated. For the time being you can try to convert back the tutorial code to work with 1.6.

Regards,
Sergey
Y R
Reply | Threaded
Open this post in threaded view
|

Re: ‘PCLPointCloud2’ is not a member of ‘pcl’

Y R
Thank you, that explains a lot.
Reply | Threaded
Open this post in threaded view
|

Re: ‘PCLPointCloud2’ is not a member of ‘pcl’

Jochen Sprickerhof
Administrator
In reply to this post by Y R
* Y R <[hidden email]> [2013-07-30 14:10]:
> I am sorry if this is a beginner question, but I'm trying to do the vfh
> recognition tutorial and when I try to "make" my file it tells me
> ‘PCLPointCloud2’ is not a member of ‘pcl’ and ‘PCLPointField’ is not a
> member of ‘pcl’ which leads to a few other errors and I am unable to "make"
> the file.
>
> I am using the exact same code as in the tutorial for both the .cpp files
> and the cmake file:
> http://pointclouds.org/documentation/tutorials/vfh_recognition.php#vfh-recognition

You can use the old version from git, which is compatible with 1.6:
https://github.com/PointCloudLibrary/pcl/tree/139a834a414855f55116d0e7487e76c5d3fcaf3b/doc/tutorials/content/sources/vfh_recognition

> I installed pcl via sudo "apt-get install libpcl-all"

I will update them soon.

Cheers Jochen
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users