CCNYRoboticsLab / ccny_rgbd_tools

ccny_rgbd_tools
GNU Lesser General Public License v3.0
125 stars 76 forks source link

Build failure in ros hydro #41

Open aaravrav142 opened 9 years ago

aaravrav142 commented 9 years ago

Hi,

I followed the steps given in the ccny_rgbd_tools and installed the package into catkin_ws/src in ros hydro.

steps I followed: 1) I installed the package in catkin_ws/src using git clone 2) git checkout hydro 3) rosdep install ccny_rgbd_tools 4) catkin_make 5) rosmake ccny_rgbd

I am getting following errors

:~/catkin_ws/src$ rosmake ccny_rgbd [ rosmake ] rosmake starting...
[ rosmake ] Packages requested are: ['ccny_rgbd']
[ rosmake ] Logging to directory /home/rd/.ros/rosmake/rosmake_output-20150313-162646
[ rosmake ] Expanded args ['ccny_rgbd'] to: ['ccny_rgbd']
[rosmake-0] Starting >>> catkin [ make ]
[rosmake-1] Starting >>> lib_rgbdtools [ make ]
[rosmake-0] Finished <<< catkin ROS_NOBUILD in package catkin No Makefile in package catkin
[rosmake-0] Starting >>> genmsg [ make ]
[rosmake-2] Starting >>> rospack [ make ]
[rosmake-3] Starting >>> console_bridge [ make ]
[rosmake-3] Finished <<< console_bridge ROS_NOBUILD in package console_bridge No Makefile in package console_bridge [rosmake-3] Starting >>> cpp_common [ make ]
[rosmake-0] Finished <<< genmsg ROS_NOBUILD in package genmsg No Makefile in package genmsg
[rosmake-0] Starting >>> genlisp [ make ]
[rosmake-0] Finished <<< genlisp ROS_NOBUILD in package genlisp No Makefile in package genlisp
[rosmake-2] Finished <<< rospack ROS_NOBUILD in package rospack No Makefile in package rospack
[rosmake-0] Starting >>> genpy [ make ]
[rosmake-0] Finished <<< genpy ROS_NOBUILD in package genpy No Makefile in package genpy
[rosmake-2] Starting >>> roslib [ make ]
[rosmake-0] Starting >>> gencpp [ make ]
[rosmake-3] Finished <<< cpp_common ROS_NOBUILD in package cpp_common No Makefile in package cpp_common
[rosmake-3] Starting >>> rostime [ make ]
[rosmake-3] Finished <<< rostime ROS_NOBUILD in package rostime No Makefile in package rostime
[rosmake-0] Finished <<< gencpp ROS_NOBUILD in package gencpp No Makefile in package gencpp
[rosmake-0] Starting >>> message_generation [ make ]
[rosmake-3] Starting >>> roscpp_traits [ make ]
[rosmake-2] Finished <<< roslib ROS_NOBUILD in package roslib No Makefile in package roslib
[rosmake-2] Starting >>> rosunit [ make ]
[rosmake-3] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits No Makefile in package roscpp_traits [rosmake-3] Starting >>> roscpp_serialization [ make ]
[rosmake-0] Finished <<< message_generation ROS_NOBUILD in package message_generation No Makefile in package message_generation [rosmake-0] Starting >>> roslang [ make ]
[rosmake-2] Finished <<< rosunit ROS_NOBUILD in package rosunit No Makefile in package rosunit
[rosmake-2] Starting >>> xmlrpcpp [ make ]
[rosmake-0] Finished <<< roslang ROS_NOBUILD in package roslang No Makefile in package roslang
[rosmake-3] Finished <<< roscpp_serialization ROS_NOBUILD in package roscpp_serialization No Makefile in package roscpp_serialization [rosmake-3] Starting >>> message_runtime [ make ]
[rosmake-3] Finished <<< message_runtime ROS_NOBUILD in package message_runtime No Makefile in package message_runtime [rosmake-2] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp No Makefile in package xmlrpcpp
[rosmake-0] Starting >>> rosbuild [ make ]
[rosmake-2] Starting >>> rosgraph [ make ]
[rosmake-2] Finished <<< rosgraph ROS_NOBUILD in package rosgraph No Makefile in package rosgraph
[rosmake-0] Finished <<< rosbuild ROS_NOBUILD in package rosbuildec ] [ rosbuild: ... [ 4 Active 17/70 Complete ] No Makefile in package rosbuild
[rosmake-0] Starting >>> rosconsole [ make ]
[rosmake-3] Starting >>> std_msgs [ make ]
[rosmake-0] Finished <<< rosconsole ROS_NOBUILD in package rosconsole No Makefile in package rosconsole
[rosmake-0] Starting >>> rosmaster [ make ]
[rosmake-0] Finished <<< rosmaster ROS_NOBUILD in package rosmaster No Makefile in package rosmaster
[rosmake-0] Starting >>> rosclean [ make ]
[rosmake-2] Starting >>> rosparam [ make ]
[rosmake-2] Finished <<< rosparam ROS_NOBUILD in package rosparam No Makefile in package rosparam
[rosmake-2] Starting >>> rosbag_storage [ make ]
[rosmake-3] Finished <<< std_msgs ROS_NOBUILD in package std_msgs No Makefile in package std_msgs
[rosmake-3] Starting >>> rosgraph_msgs [ make ]
[rosmake-2] Finished <<< rosbag_storage ROS_NOBUILD in package rosbag_storage No Makefile in package rosbag_storage [rosmake-2] Starting >>> geometry_msgs [ make ]
[rosmake-0] Finished <<< rosclean ROS_NOBUILD in package rosclean No Makefile in package rosclean
[rosmake-2] Finished <<< geometry_msgs ROS_NOBUILD in package geometry_msgs No Makefile in package geometry_msgs [rosmake-2] Starting >>> sensor_msgs [ make ]
[rosmake-2] Finished <<< sensor_msgs ROS_NOBUILD in package sensor_msgs No Makefile in package sensor_msgs
[rosmake-0] Starting >>> class_loader [ make ]
[rosmake-3] Finished <<< rosgraph_msgs ROS_NOBUILD in package rosgraph_msgs No Makefile in package rosgraph_msgs [rosmake-2] Starting >>> pcl_msgs [ make ]
[rosmake-2] Finished <<< pcl_msgs ROS_NOBUILD in package pcl_msgs No Makefile in package pcl_msgs
[rosmake-2] Starting >>> cmake_modules [ make ]
[rosmake-3] Starting >>> roscpp [ make ]
[rosmake-3] Finished <<< roscpp ROS_NOBUILD in package roscpp No Makefile in package roscpp
[rosmake-2] Finished <<< cmake_modules ROS_NOBUILD in package cmake_modules No Makefile in package cmake_modules [rosmake-3] Starting >>> rosout [ make ]
[rosmake-0] Finished <<< class_loader ROS_NOBUILD in package class_loader No Makefile in package class_loader
[rosmake-2] Starting >>> smclib [ make ]
[rosmake-0] Starting >>> rospy [ make ]
[rosmake-2] Finished <<< smclib ROS_NOBUILD in package smclib No Makefile in package smclib
[rosmake-2] Starting >>> pcl_conversions [ make ]
[rosmake-0] Finished <<< rospy ROS_NOBUILD in package rospy No Makefile in package rospy
[rosmake-0] Starting >>> pluginlib [ make ]
[rosmake-2] Finished <<< pcl_conversions ROS_NOBUILD in package pcl_conversions No Makefile in package pcl_conversions [rosmake-3] Finished <<< rosout ROS_NOBUILD in package rosout No Makefile in package rosout
[rosmake-3] Starting >>> roslaunch [ make ]
[rosmake-2] Starting >>> bond [ make ]
[rosmake-0] Finished <<< pluginlib ROS_NOBUILD in package pluginlib No Makefile in package pluginlib
[rosmake-0] Starting >>> actionlib_msgs [ make ]
[rosmake-3] Finished <<< roslaunch ROS_NOBUILD in package roslaunch No Makefile in package roslaunch
[rosmake-3] Starting >>> rostest [ make ]
[rosmake-0] Finished <<< actionlib_msgs ROS_NOBUILD in package actionlib_msgs No Makefile in package actionlib_msgs [rosmake-2] Finished <<< bond ROS_NOBUILD in package bond No Makefile in package bond
[rosmake-2] Starting >>> bondcpp [ make ]
[rosmake-0] Starting >>> tf2_msgs [ make ]
[rosmake-3] Finished <<< rostest ROS_NOBUILD in package rostest No Makefile in package rostest
[rosmake-3] Starting >>> topic_tools [ make ]
[rosmake-2] Finished <<< bondcpp ROS_NOBUILD in package bondcpp No Makefile in package bondcpp
[rosmake-0] Finished <<< tf2_msgs ROS_NOBUILD in package tf2_msgs No Makefile in package tf2_msgs
[rosmake-2] Starting >>> message_filters [ make ]
[rosmake-0] Starting >>> nodelet [ make ]
[rosmake-3] Finished <<< topic_tools ROS_NOBUILD in package topic_tools No Makefile in package topic_tools
[rosmake-0] Finished <<< nodelet ROS_NOBUILD in package nodelet No Makefile in package nodelet
[rosmake-0] Starting >>> tf2 [ make ]
[rosmake-2] Finished <<< message_filters ROS_NOBUILD in package message_filters No Makefile in package message_filters [rosmake-2] Starting >>> angles [ make ]
[rosmake-3] Starting >>> rosbag [ make ]
[rosmake-0] Finished <<< tf2 ROS_NOBUILD in package tf20.0 sec ] [ rosbag: 0.0 sec... [ 4 Active 46/70 Complete ] No Makefile in package tf2
[rosmake-0] Starting >>> tf2_py [ make ]
[rosmake-2] Finished <<< angles ROS_NOBUILD in package angles No Makefile in package angles
[rosmake-3] Finished <<< rosbag ROS_NOBUILD in package rosbag No Makefile in package rosbag
[rosmake-2] Starting >>> nav_msgs [ make ]
[rosmake-0] Finished <<< tf2_py ROS_NOBUILD in package tf2_py No Makefile in package tf2_py
[rosmake-3] Starting >>> rosmsg [ make ]
[rosmake-0] Starting >>> rostopic [ make ]
[rosmake-3] Finished <<< rosmsg ROS_NOBUILD in package rosmsg No Makefile in package rosmsg
[rosmake-2] Finished <<< nav_msgs ROS_NOBUILD in package nav_msgs No Makefile in package nav_msgs
[rosmake-2] Starting >>> std_srvs [ make ]
[rosmake-3] Starting >>> rosservice [ make ]
[rosmake-0] Finished <<< rostopic ROS_NOBUILD in package rostopic No Makefile in package rostopic
[rosmake-0] Starting >>> rosnode [ make ]
[rosmake-2] Finished <<< std_srvs ROS_NOBUILD in package std_srvs No Makefile in package std_srvs
[rosmake-2] Starting >>> opencv2 [ make ]
[rosmake-3] Finished <<< rosservice ROS_NOBUILD in package rosservice No Makefile in package rosservice
[rosmake-0] Finished <<< rosnode ROS_NOBUILD in package rosnode No Makefile in package rosnode
[rosmake-3] Starting >>> dynamic_reconfigure [ make ]
[rosmake-0] Starting >>> actionlib [ make ]
[rosmake-2] Finished <<< opencv2 ROS_NOBUILD in package opencv2 No Makefile in package opencv2
[rosmake-3] Finished <<< dynamic_reconfigure ROS_NOBUILD in package dynamic_reconfigure No Makefile in package dynamic_reconfigure [rosmake-3] Starting >>> nodelet_topic_tools [ make ]
[rosmake-2] Starting >>> roswtf [ make ]
[rosmake-0] Finished <<< actionlib ROS_NOBUILD in package actionlib No Makefile in package actionlib
[rosmake-0] Starting >>> tf2_ros [ make ]
[rosmake-2] Finished <<< roswtf ROS_NOBUILD in package roswtfic_tools: 0.0 sec ] [... [ 4 Active 59/70 Complete ] No Makefile in package roswtf
[rosmake-2] Starting >>> cv_bridge [ make ]
[rosmake-3] Finished <<< nodelet_topic_tools ROS_NOBUILD in package nodelet_topic_tools No Makefile in package nodelet_topic_tools [rosmake-3] Starting >>> visualization_msgs [ make ]
[rosmake-0] Finished <<< tf2_ros ROS_NOBUILD in package tf2_ros No Makefile in package tf2_ros
[rosmake-3] Finished <<< visualization_msgs ROS_NOBUILD in package visualization_msgs No Makefile in package visualization_msgs [rosmake-0] Starting >>> tf [ make ]
[rosmake-3] Starting >>> image_transport [ make ]
[rosmake-2] Finished <<< cv_bridge ROS_NOBUILD in package cv_bridge No Makefile in package cv_bridge
[rosmake-2] Starting >>> image_geometry [ make ]
[rosmake-2] Finished <<< image_geometry ROS_NOBUILD in package image_geometry No Makefile in package image_geometry [rosmake-3] Finished <<< image_transport ROS_NOBUILD in package image_transport No Makefile in package image_transport [rosmake-0] Finished <<< tf ROS_NOBUILD in package tf No Makefile in package tf
[rosmake-0] Starting >>> pcl_ros [ make ]
[rosmake-0] Finished <<< pcl_ros ROS_NOBUILD in package pcl_ros No Makefile in package pcl_ros
[rosmake-1] Finished <<< lib_rgbdtools [PASS] [ 115.17 seconds ]
[rosmake-1] Starting >>> ccny_rgbd [ make ]
[ rosmake ] Last 40 linesny_rgbd: 78.6 sec ] [ 1 Active 69/70 Complete ] {------------------------------------------------------------------------------- /usr/include/boost/smart_ptr/sharedptr.hpp:391:9: error: comparison between distinct pointer types ‘int’ and ‘rgbdtools::FeatureDetector_’ lacks a cast [-fpermissive] /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::sharedptr(Y) [with Y = int, T = rgbdtools::FeatureDetector]’: /usr/include/boost/smart_ptr/shared_ptr.hpp:392:9: instantiated from ‘void boost::sharedptr::reset(Y) [with Y = int, T = rgbdtools::FeatureDetector]’ /home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/apps/feature_viewer.cpp:116:58: instantiated from here /usr/include/boost/smart_ptr/sharedptr.hpp:187:50: error: cannot convert ‘int’ to ‘rgbdtools::FeatureDetector_’ in initialization /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr::sharedptr(Y) [with Y = int, T = rgbdtools::FeatureDetector]’: /usr/include/boost/smart_ptr/shared_ptr.hpp:392:9: instantiated from ‘void boost::sharedptr::reset(Y) [with Y = int, T = rgbdtools::FeatureDetector]’ /home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/apps/visual_odometry.cpp:235:58: instantiated from here /usr/include/boost/smart_ptr/sharedptr.hpp:187:50: error: cannot convert ‘int’ to ‘rgbdtools::FeatureDetector_’ in initialization /home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/apps/keyframe_mapper.cpp: In member function ‘void ccny_rgbd::KeyframeMapper::buildOctomap(octomap::OcTree&)’: /home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/apps/keyframe_mapper.cpp:755:63: warning: ‘void octomap::OccupancyOcTreeBase::insertScan(const octomap::Pointcloud&, const point3d&, const pose6d&, double, bool, bool) [with NODE = octomap::OcTreeNode, octomap::point3d = octomath::Vector3, octomap::pose6d = octomath::Pose6D]’ is deprecated (declared at /opt/ros/hydro/include/octomap/OccupancyOcTreeBase.h:142) [-Wdeprecated-declarations] /home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/apps/keyframe_mapper.cpp: In member function ‘void ccny_rgbd::KeyframeMapper::buildColorOctomap(octomap::ColorOcTree&)’: /home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/apps/keyframe_mapper.cpp:796:63: warning: ‘void octomap::OccupancyOcTreeBase::insertScan(const octomap::Pointcloud&, const point3d&, const pose6d&, double, bool, bool) [with NODE = octomap::ColorOcTreeNode, octomap::point3d = octomath::Vector3, octomap::pose6d = octomath::Pose6D]’ is deprecated (declared at /opt/ros/hydro/include/octomap/OccupancyOcTreeBase.h:142) [-Wdeprecated-declarations] make[3]: * [CMakeFiles/feature_viewer_node.dir/src/apps/feature_viewer.cpp.o] Error 1 make[3]: Leaving directory `/home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/build' make[2]: ** [CMakeFiles/feature_viewer_node.dir/all] Error 2 make[2]: Waiting for unfinished jobs.... [ 87%] Building CXX object CMakeFiles/keyframe_mapper_node.dir/src/util.cpp.o make[3]: [CMakeFiles/visual_odometry_node.dir/src/apps/visual_odometry.cpp.o] Error 1 make[3]: Leaving directory`/home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/build' make[2]: \ [CMakeFiles/visual_odometry_node.dir/all] Error 2 [ 90%] Building CXX object CMakeFiles/rgbd_image_proc_app.dir/src/util.cpp.o /home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/util.cpp: In function ‘void ccny_rgbd::pathEigenAffineToROS(const AffineTransformVector&, ccny_rgbd::PathMsg&)’: /home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/util.cpp:333:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/util.cpp: In function ‘void ccny_rgbd::pathROSToEigenAffine(const PathMsg&, ccny_rgbd::AffineTransformVector&)’: /home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/util.cpp:347:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/util.cpp: In function ‘void ccny_rgbd::pathEigenAffineToROS(const AffineTransformVector&, ccny_rgbd::PathMsg&)’: /home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/util.cpp:333:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/util.cpp: In function ‘void ccny_rgbd::pathROSToEigenAffine(const PathMsg&, ccny_rgbd::AffineTransformVector&)’: /home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/src/util.cpp:347:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] Linking CXX shared library ../lib/librgbd_image_proc_app.so make[3]: Leaving directory /home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/build' [ 90%] Built target rgbd_image_proc_app Linking CXX executable ../bin/keyframe_mapper_node make[3]: Leaving directory/home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/build' [ 90%] Built target keyframe_mapper_node make[2]: Leaving directory /home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/build' make[1]: *** [all] Error 2 make[1]: Leaving directory/home/rd/catkin_ws/src/ccny_rgbd_tools/ccny_rgbd/build' -------------------------------------------------------------------------------} [ rosmake ] Output from build of package ccny_rgbd written to: [ rosmake ] /home/rd/.ros/rosmake/rosmake_output-20150313-162646/ccny_rgbd/build_output.log [rosmake-1] Finished <<< ccny_rgbd [FAIL] [ 78.72 seconds ]
[ rosmake ] Halting due to failure in package ccny_rgbd. [ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:
[ rosmake ] Built 70 packages with 1 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home/rd/.ros/rosmake/rosmake_output-20150313-162646

Can you help resolve this error. Thanks