compiling error with: ROS Fuerte + pcl [closed]

asked 2013-07-02 07:05:38 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I'm using Ubuntu 12.04 + ROS Fuerte + pcl and ros_pcl packages. When I try to use an object of the class PointCloudColorHandlerCustom, belonging to the pcl library (1.5) included in ROS, I have an error.

The code is the following:

pcl::visualization::PointCloudColorHandlerCustom<pcl::PointXYZ> blue_color (particle_cloud, 250, 99, 71);

and the error is:

The type 'pcl::visualization::PointCloudColorHandlerCustom' must implement the inherited pure virtual method 'pcl::visualization::PointCloudColorHandler::getColor'

P.S. I'm trying to port under ROS the openni_tracking example.

edit retag flag offensive reopen merge delete

Closed for the following reason PCL Question: The PCL community prefers to answer questions at http://www.pcl-users.org/ by tfoote
close date 2015-03-09 17:12:13.681600

Comments

what are your includes?

jcc gravatar image jcc  ( 2013-07-02 16:20:00 -0500 )edit

you can see my includes here: http://pastebin.com/qfhBi08d

Vito gravatar image Vito  ( 2013-07-02 21:24:31 -0500 )edit