PCL on ROS Fuerte [closed]

asked 2012-10-21 03:02:17 -0500

Neal gravatar image

I'm trying to compile the perception_pcl stack in Fuerte. I got the source for the stack from: http://svn.pointclouds.org/ros/tags/fuerte/perception_pcl/

The pcl_ros package in the stack has a ros dep on pcl. I'm running CentOS so a 'rosdep install pcl' doesn't work for me. I downloaded PCL 1.5 from their website and compiled/installed from source, but with that the perception_pcl stack won't compile. I get a large error from rosmake, with these relevant parts:

    /opt/ros/fuerte/include/message_filters/sync_policies/approximate_time.h:620: error: âvalueâ is not a member of âros::message_traits::TimeStamp<pcl::PointIndices, void>â
  In file included from /opt/ros/fuerte/include/sensor_msgs/PointCloud2.h:47,
                   from /usr/local/include/pcl-1.5/pcl/pcl_base.h:55,
                   from /usr/local/include/pcl-1.5/pcl/common/io.h:45,
                   from /usr/local/include/pcl-1.5/pcl/io/io.h:43,
                   from /home/neal/ros_workspace/perception_pcl/pcl_ros/src/pcl_ros/filters/filter.cpp:38:
  /opt/ros/fuerte/include/ros/serialization.h: In static member function âstatic void ros::serialization::Serializer<T>::read(Stream&, typename boost::call_traits<T>::reference) [with Stream = ros::serialization::IStream, T = pcl::PointIndices]â:
  /opt/ros/fuerte/include/ros/serialization.h:161:   instantiated from âvoid ros::serialization::deserialize(Stream&, T&) [with T = pcl::PointIndices, Stream = ros::serialization::IStream]â
  /opt/ros/fuerte/include/ros/subscription_callback_helper.h:172:   instantiated from âros::VoidConstPtr ros::SubscriptionCallbackHelperT<P, Enabled>::deserialize(const ros::SubscriptionCallbackHelperDeserializeParams&) [with P = const ros::MessageEvent<const pcl::PointIndices>&, Enabled = void]â
  /home/neal/ros_workspace/perception_pcl/pcl_ros/src/pcl_ros/filters/filter.cpp:230:   instantiated from here
  /opt/ros/fuerte/include/ros/serialization.h:134: error: âstruct pcl::PointIndicesâ has no member named âdeserializeâ

Does anyone know what PCL version I need to install for the perception_pcl stack to build on Furete? Thanks.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by tfoote
close date 2013-04-18 12:19:37


Neal - you had any luck with this? I'm getting the same issue.

MarkyMark2012 gravatar image MarkyMark2012  ( 2013-01-05 10:19:08 -0500 )edit

Why do you want to use perception_pcl and not just pcl? When I did the full install of ROS, both pcl and perception_pcl came with it.

astaranowicz gravatar image astaranowicz  ( 2013-02-26 06:06:11 -0500 )edit