My colleague can successfully catkin_make the package, while I failed in both of my computers. What is the problem and how should I resolve it?
[ 0%] [ 14%] Built target visualization_msgs_generate_messages_lisp
Built target SRLGLOBALPLANNER_KDTREE_LIB
[ 14%] [ 14%] [ 14%] [ 14%] [ 14%] [ 14%] Built target geometry_msgs_generate_messages_cpp
Built target costmap_2d_generate_messages_py
Built target visualization_msgs_generate_messages_py
Built target geometry_msgs_generate_messages_lisp
Built target geometry_msgs_generate_messages_py
Built target map_msgs_generate_messages_cpp
[ 14%] [ 14%] [ 14%] [ 14%] [ 14%] [ 14%] Built target map_msgs_generate_messages_lisp
Built target sensor_msgs_generate_messages_lisp
Built target roscpp_generate_messages_cpp
Built target tf_generate_messages_cpp
Built target actionlib_generate_messages_cpp
Built target tf_generate_messages_lisp
[ 14%] [ 14%] Built target actionlib_generate_messages_lisp
Built target actionlib_generate_messages_py
[ 14%] [ 14%] [ 14%] Built target rosgraph_msgs_generate_messages_cpp
Built target tf_generate_messages_py
Built target std_msgs_generate_messages_lisp
[ 14%] [ 14%] Built target actionlib_msgs_generate_messages_cpp
Built target std_msgs_generate_messages_cpp
[ 14%] [ 14%] [ 14%] Built target roscpp_generate_messages_py
Built target roscpp_generate_messages_lisp
Built target std_msgs_generate_messages_py
[ 14%] Built target costmap_2d_generate_messages_cpp
[ 14%] [ 14%] [ 14%] [ 14%] [ 14%] [ 14%] Built target dynamic_reconfigure_generate_messages_py
Built target dynamic_reconfigure_generate_messages_lisp
Built target sensor_msgs_generate_messages_py
Built target dynamic_reconfigure_generate_messages_cpp
[ 14%] Built target sensor_msgs_generate_messages_cpp
Built target rosgraph_msgs_generate_messages_lisp
Built target rosgraph_msgs_generate_messages_py
[ 14%] Built target tf2_msgs_generate_messages_cpp
[ 14%] [ 14%] [ 14%] [ 14%] [ 14%] Built target tf2_msgs_generate_messages_py
Built target costmap_2d_generate_messages_lisp
Built target actionlib_msgs_generate_messages_lisp
Built target dynamic_reconfigure_gencfg
Built target map_msgs_generate_messages_py
[ 14%] [ 14%] Built target nav_msgs_generate_messages_cpp
Built target actionlib_msgs_generate_messages_py
[ 14%] [ 14%] Built target nodelet_generate_messages_cpp
Built target costmap_2d_gencfg
[ 14%] [ 14%] [ 14%] [ 14%] Built target nodelet_generate_messages_lisp
Built target pcl_msgs_generate_messages_lisp
Built target tf2_msgs_generate_messages_lisp
Built target nav_msgs_generate_messages_lisp
[ 14%] [ 14%] Built target pcl_ros_gencfg
Built target nodelet_generate_messages_py
[ 14%] [ 14%] Built target visualization_msgs_generate_messages_cpp
Built target nav_msgs_generate_messages_py
[ 14%] Built target pcl_msgs_generate_messages_py
[ 14%] [ 14%] [ 14%] Built target bond_generate_messages_cpp
Built target bond_generate_messages_lisp
[ 14%] Built target bond_generate_messages_py
Built target topic_tools_generate_messages_py
[ 14%] [ 14%] [ 14%] Built target pcl_msgs_generate_messages_cpp
Built target topic_tools_generate_messages_cpp
Built target topic_tools_generate_messages_lisp
[ 28%] Building CXX object srl_global_planner/CMakeFiles/srl_global_planner.dir/src/srl_global_planner.cpp.o
In file included from /home/charly/indigo_ws2/src/srl_global_planner/include/srl_global_planner/srl_global_planner.h:75:0,
from /home/charly/indigo_ws2/src/srl_global_planner/src/srl_global_planner.cpp:1:
/home/charly/indigo_ws2/src/srl_global_planner/include/smp/components/collision_checkers/collisionCostMap.hpp: In member function ‘int smp::collision_checker_costmap<typeparams, NUM_DIMENSIONS>::check_collision_state(smp::collision_checker_costmap<typeparams, NUM_DIMENSIONS>::state_t*)’:
/home/charly/indigo_ws2/src/srl_global_planner/include/smp/components/collision_checkers/collisionCostMap.hpp:155:82: error: no matching function for call to ‘costmap_2d::Costmap2DROS::getOrientedFootprint(double&, double&, double&, std::vector<geometry_msgs::Point_<std::allocator<void> > >&)’
costmap_ros_->getOrientedFootprint(x_bot , y_bot , orient_bot, footprint_spec);
^
/home/charly/indigo_ws2/src/srl_global_planner/include/smp/components/collision_checkers/collisionCostMap.hpp:155:82: note: candidate is:
In file included from /home/charly/indigo_ws2/src/srl_global_planner/include/srl_global_planner/costmap_model.h:43:0,
from /home/charly/indigo_ws2/src/srl_global_planner/include/srl_global_planner/thetastar_leading_rrt.h:4,
from /home/charly/indigo_ws2/src/srl_global_planner/include/srl_global_planner/srl_global_planner.h:14,
from /home/charly/indigo_ws2/src/srl_global_planner/src/srl_global_planner.cpp:1:
/opt/ros/indigo/include/costmap_2d/costmap_2d_ros.h:190:8: note: void costmap_2d::Costmap2DROS::getOrientedFootprint(std::vector<geometry_msgs::Point_<std::allocator<void> > >&) const
void getOrientedFootprint(std::vector<geometry_msgs::Point>& oriented_footprint) const;
^
/opt/ros/indigo/include/costmap_2d/costmap_2d_ros.h:190:8: note: candidate expects 1 argument, 4 provided
In file included from /home/charly/indigo_ws2/src/srl_global_planner/include/srl_global_planner/srl_global_planner.h:79:0,
from /home/charly/indigo_ws2/src/srl_global_planner/src/srl_global_planner.cpp:1:
/home/charly/indigo_ws2/src/srl_global_planner/include/smp/components/multipurpose/minimum_time_reachability_thetastar.hpp: In member function ‘int smp::minimum_time_reachability<typeparams, NUM_DIMENSIONS>::getCostFromMap(double, double, double)’:
/home/charly/indigo_ws2/src/srl_global_planner/include/smp/components/multipurpose/minimum_time_reachability_thetastar.hpp:127:82: error: no matching function for call to ‘costmap_2d::Costmap2DROS::getOrientedFootprint(double&, double&, double&, std::vector<geometry_msgs::Point_<std::allocator<void> > >&)’
costmap_ros_->getOrientedFootprint(x_bot , y_bot , orient_bot, footprint_spec);
^
/home/charly/indigo_ws2/src/srl_global_planner/include/smp/components/multipurpose/minimum_time_reachability_thetastar.hpp:127:82: note: candidate is:
In file included from /home/charly/indigo_ws2/src/srl_global_planner/include/srl_global_planner/costmap_model.h:43:0,
from /home/charly/indigo_ws2/src/srl_global_planner/include/srl_global_planner/thetastar_leading_rrt.h:4,
from /home/charly/indigo_ws2/src/srl_global_planner/include/srl_global_planner/srl_global_planner.h:14,
from /home/charly/indigo_ws2/src/srl_global_planner/src/srl_global_planner.cpp:1:
/opt/ros/indigo/include/costmap_2d/costmap_2d_ros.h:190:8: note: void costmap_2d::Costmap2DROS::getOrientedFootprint(std::vector<geometry_msgs::Point_<std::allocator<void> > >&) const
void getOrientedFootprint(std::vector<geometry_msgs::Point>& oriented_footprint) const;
^
/opt/ros/indigo/include/costmap_2d/costmap_2d_ros.h:190:8: note: candidate expects 1 argument, 4 provided
make[2]: *** [srl_global_planner/CMakeFiles/srl_global_planner.dir/src/srl_global_planner.cpp.o] Error 1
make[1]: *** [srl_global_planner/CMakeFiles/srl_global_planner.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j8 -l8" failed