ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

PointCloud issues with Intel Compiler

asked 2011-05-12 12:56:39 -0600

Robin gravatar image

Hi all,

I'm having trouble compiling my ROS code with the Intel compiler, whereas it compiled fine before with gcc. These are the errors:

/opt/ros/diamondback/stacks/perception_pcl/pcl/include/pcl/point_cloud.h(195): error: argument list for class template "pcl::PointCloud" is missing friend boost::shared_ptr<msgfieldmap>& detail::getMapping<pointt>(PointCloud& p);


/opt/ros/diamondback/stacks/perception_pcl/pcl/include/pcl/point_cloud.h(195): error: declaration is incompatible with function template "boost::shared_ptr<pcl::msgfieldmap> &pcl::detail::getMapping(pcl::PointCloud<pointt> &)" (declared at line 204) friend boost::shared_ptr<msgfieldmap>& detail::getMapping<pointt>(PointCloud& p); ^ detected during instantiation of class "pcl::PointCloud<pointt> [with PointT=rgbd::pt]" at line 64 of "/home/rheld/Documents/Code/kinect/rgbd/branches/pcl/rgbd-ros-pkg/kinect_tracker/include/Model.h"

I believe these are the lines of code in question from Model.h:

typedef rgbd::pt PointT;

void loadTextCloud(char* fname, pcl::PointCloud<pointt> &cloud);

struct AlignData { pcl::PointCloud<pointt> curr_cloud; (THIS IS LINE 64) pcl::PointCloud<pointt> cloud; vector<float> err_vector; int num_outliers; Eigen::Transform3f xform; Eigen::Transform3f temp_pose; };

Any help would be appreciated!

edit retag flag offensive close merge delete


Is PCL using any features that are specific to GCC that ICC doesn't have? Are all of the dependencies of PCL compiled with ICC (I have no idea if you can have dependencies of something you are compiling with ICC compiled by whatever version of GCC you normally use on your machine)?
Eric Perko gravatar image Eric Perko  ( 2011-05-12 13:05:36 -0600 )edit
No, I don't even have PCL compiled with ICC. I'm only compiling my new ROS package with ICC right now. I'm having troubles recompiling all the ROS packages in ICC and was hoping it wouldn't be necessary.
Robin gravatar image Robin  ( 2011-05-12 13:24:35 -0600 )edit

1 Answer

Sort by » oldest newest most voted

answered 2011-05-17 20:28:36 -0600

tfoote gravatar image

This has been further discussed on the pcl mailing list

edit flag offensive delete link more

Question Tools


Asked: 2011-05-12 12:56:39 -0600

Seen: 324 times

Last updated: May 17 '11