PointCloud issues with Intel Compiler
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);
and
/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!