ROS Indigo with PCL 1.8.0 and other pcl libraries won't compile

asked 2016-10-19 16:45:34 -0500

Grim gravatar image

Hi,

My system: Ubuntu 14.04, ROS Indigo with all the libraries, PCL 1.8.0.

I can't compile any program if I try to include any PCL header, or any ros header that links to using pcl. I get the following error:

    In file included from /usr/local/include/pcl-1.8/pcl/conversions.h:48:0,
             from /opt/ros/indigo/include/pcl_ros/point_cloud.h:8,
             from /home/grim/catkin_ws/src/directory_to_my_program/my_program.cpp:22:
    /usr/local/include/pcl-1.8/pcl/PCLPointCloud2.h:5:5: error: #error USE_ROS setup requires PCL to compile against ROS message headers, which is now deprecated
#error USE_ROS setup requires PCL to compile against ROS message headers, which is now deprecated

This is annoying as I can't handle pointcloud data properly without any decent tutorials available. My main concern is to work with PCL data types, convert them into various ROS messages, and also work with Octomap_server.

Any information and/or guidance is welcome.

edit retag flag offensive close merge delete