Ask Your Question
0

problem building ar_track_alvar from source

asked 2014-12-01 16:52:50 -0500

akhil gravatar image

updated 2014-12-01 17:00:25 -0500

I am trying to build ar_track_alvar from source which depends on pcl_ros. I recently updated all the packages but this package seems to depend on previous version of pcl how can I build this package without going back to the previous version of pcl. the erro is:

In file included from /home/akhil/catkin_ws/src/ar_track_alvar/include/ar_track_alvar/filter/kinect_filtering.h:42:0,
                 from /home/akhil/catkin_ws/src/ar_track_alvar/include/ar_track_alvar/Marker.h:42,
                 from /home/akhil/catkin_ws/src/ar_track_alvar/include/ar_track_alvar/MarkerDetector.h:38,
                 from /home/akhil/catkin_ws/src/ar_track_alvar/include/ar_track_alvar/MultiMarker.h:35,
                 from /home/akhil/catkin_ws/src/ar_track_alvar/src/SampleMarkerCreator.cpp:1:
/usr/include/pcl-1.7/pcl/ros/conversions.h:44:2: warning: #warning The <pcl/ros/conversions.h> header is deprecated. please use <pcl/conversions.h> instead. [-Wcpp]
In file included from /home/akhil/catkin_ws/src/ar_track_alvar/include/ar_track_alvar/filter/kinect_filtering.h:42:0,
                 from /home/akhil/catkin_ws/src/ar_track_alvar/include/ar_track_alvar/Marker.h:42,
                 from /home/akhil/catkin_ws/src/ar_track_alvar/include/ar_track_alvar/MarkerDetector.h:38,
                 from /home/akhil/catkin_ws/src/ar_track_alvar/nodes/FindMarkerBundles.cpp:37:
/usr/include/pcl-1.7/pcl/ros/conversions.h:44:2: warning: #warning The <pcl/ros/conversions.h> header is deprecated. please use <pcl/conversions.h> instead. [-Wcpp]
In file included from /home/akhil/catkin_ws/src/ar_track_alvar/include/ar_track_alvar/filter/kinect_filtering.h:42:0,
                 from /home/akhil/catkin_ws/src/ar_track_alvar/include/ar_track_alvar/Marker.h:42,
                 from /home/akhil/catkin_ws/src/ar_track_alvar/include/ar_track_alvar/MarkerDetector.h:38,
                 from /home/akhil/catkin_ws/src/ar_track_alvar/nodes/FindMarkerBundlesNoKinect.cpp:39:
/usr/include/pcl-1.7/pcl/ros/conversions.h:44:2: warning: #warning The <pcl/ros/conversions.h> header is deprecated. please use <pcl/conversions.h> instead. [-Wcpp]
In file included from /home/akhil/catkin_ws/src/ar_track_alvar/include/ar_track_alvar/filter/kinect_filtering.h:42:0,
                 from /home/akhil/catkin_ws/src/ar_track_alvar/include/ar_track_alvar/Marker.h:42,
                 from /home/akhil/catkin_ws/src/ar_track_alvar/include/ar_track_alvar/MarkerDetector.h:38,
                 from /home/akhil/catkin_ws/src/ar_track_alvar/nodes/IndividualMarkers.cpp:39:
/usr/include/pcl-1.7/pcl/ros/conversions.h:44:2: warning: #warning The <pcl/ros/conversions.h> header is deprecated. please use <pcl/conversions.h> instead. [-Wcpp]
/home/akhil/catkin_ws/src/ar_track_alvar/nodes/FindMarkerBundles.cpp: In function 'int PlaneFitPoseImprovement(int, const ARCloud&, pcl::PointCloud<pcl::PointXYZRGB>::Ptr, const ARCloud&, alvar::Pose&)':
/home/akhil/catkin_ws/src/ar_track_alvar/nodes/FindMarkerBundles.cpp:296:36: error: no match for 'operator=' in 'pose.geometry_msgs::PoseStamped_<std::allocator<void> >::header.std_msgs::Header_<std::allocator<void> >::stamp = cloud.pcl::PointCloud<pcl::PointXYZRGB>::header.pcl::PCLHeader::stamp'
/home/akhil/catkin_ws/src/ar_track_alvar/nodes/FindMarkerBundles.cpp:296:36: note: candidate is:
In file included from /opt/ros/hydro/include/ros/ros.h:38:0,
                 from /home/akhil/catkin_ws/src/ar_track_alvar/include/ar_track_alvar/Camera.h:40,
                 from /home/akhil/catkin_ws/src/ar_track_alvar/include/ar_track_alvar/ConnectedComponents.h:36,
                 from /home/akhil/catkin_ws/src/ar_track_alvar/include/ar_track_alvar/MarkerDetector.h:35,
                 from /home/akhil/catkin_ws/src/ar_track_alvar/nodes/FindMarkerBundles.cpp:37:
/opt/ros/hydro/include/ros/time.h:169:22: note: ros ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-12-01 17:11:01 -0500

ahendrix gravatar image

I assume you've upgraded from one version of ROS to another; probably from Groovy to Hydro. Which branch of at_track_alvar are you trying to build?

ar_track_alvar is fairly well maintained; the hydro-devel branch should build on Hydro without issues.

edit flag offensive delete link more

Comments

thanks for your answer yes i recently updated to hydro and was using groovy branch !!

akhil gravatar image akhil  ( 2014-12-01 17:35:06 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-12-01 16:52:50 -0500

Seen: 301 times

Last updated: Dec 01 '14