naturerobots / mesh_navigation

Mesh Navigation Stack
BSD 3-Clause "New" or "Revised" License
504 stars 64 forks source link

can not build mbf_mesh_nav with catkin_make #23

Open kintzhao opened 1 year ago

kintzhao commented 1 year ago

[ 93%] Building CXX object mesh_navigation/mbf_mesh_nav/CMakeFiles/mbf_mesh_server.dir/src/mesh_planner_execution.cpp.o [ 96%] Built target rviz_map_plugin [ 96%] Building CXX object mesh_navigation/mbf_mesh_nav/CMakeFiles/mbf_mesh_server.dir/src/mesh_recovery_execution.cpp.o [ 96%] Built target mbf_simple_nav [ 98%] Built target mbf_costmap_server [ 98%] Built target mbf_costmap_nav /media/kint/E06A82386A820B8A/mesh_nav_ws/src/mesh_navigation/mbf_mesh_nav/src/mesh_recovery_execution.cpp: In constructor ‘mbf_mesh_nav::MeshRecoveryExecution::MeshRecoveryExecution(std::cxx11::string, const Ptr&, const TFPtr&, const MeshPtr&, const mbf_mesh_nav::MoveBaseFlexConfig&)’: /media/kint/E06A82386A820B8A/mesh_nav_ws/src/mesh_navigation/mbf_mesh_nav/src/mesh_recovery_execution.cpp:45:107: error: no matching function for call to ‘mbf_abstract_nav::AbstractRecoveryExecution::AbstractRecoveryExecution(const string&, const Ptr&, const TFPtr&, mbf_abstract_nav::MoveBaseFlexConfig)’ : AbstractRecoveryExecution(name, recovery_ptr, tf_listener_ptr, toAbstract(config)), meshptr(mesh_ptr) ^ /media/kint/E06A82386A820B8A/mesh_nav_ws/src/mesh_navigation/mbf_mesh_nav/src/mesh_controller_execution.cpp: In constructor ‘mbf_mesh_nav::MeshControllerExecution::MeshControllerExecution(std::cxx11::string, const Ptr&, const ros::Publisher&, const ros::Publisher&, const TFPtr&, const MeshPtr&, const mbf_mesh_nav::MoveBaseFlexConfig&)’: /media/kint/E06A82386A820B8A/mesh_nav_ws/src/mesh_navigation/mbf_mesh_nav/src/mesh_controller_execution.cpp:47:23: error: no matching function for call to ‘mbf_abstract_nav::AbstractControllerExecution::AbstractControllerExecution(const string&, const Ptr&, const ros::Publisher&, const ros::Publisher&, const TFPtr&, mbf_abstract_nav::MoveBaseFlexConfig)’ , meshptr(mesh_ptr) ^ In file included from /media/kint/E06A82386A820B8A/mesh_nav_ws/src/mesh_navigation/mbf_mesh_nav/include/mbf_mesh_nav/mesh_recovery_execution.h:41:0, from /media/kint/E06A82386A820B8A/mesh_nav_ws/src/mesh_navigation/mbf_mesh_nav/src/mesh_recovery_execution.cpp:37: /media/kint/E06A82386A820B8A/mesh_nav_ws/src/move_base_flex/mbf_abstract_nav/include/mbf_abstract_nav/abstract_recovery_execution.h:87:5: note: candidate: mbf_abstract_nav::AbstractRecoveryExecution::AbstractRecoveryExecution(const string&, const Ptr&, const mbf_utility::RobotInformation&, const mbf_abstract_nav::MoveBaseFlexConfig&) AbstractRecoveryExecution(const std::string &name, ^~~~~~~~~ /media/kint/E06A82386A820B8A/mesh_nav_ws/src/move_base_flex/mbf_abstract_nav/include/mbf_abstract_nav/abstract_recovery_execution.h:87:5: note: no known conversion for argument 3 from ‘const TFPtr {aka const boost::shared_ptr}’ to ‘const mbf_utility::RobotInformation&’ In file included from /media/kint/E06A82386A820B8A/mesh_nav_ws/src/mesh_navigation/mbf_mesh_nav/include/mbf_mesh_nav/mesh_controller_execution.h:41:0, from /media/kint/E06A82386A820B8A/mesh_nav_ws/src/mesh_navigation/mbf_mesh_nav/src/mesh_controller_execution.cpp:37: /media/kint/E06A82386A820B8A/mesh_nav_ws/src/move_base_flex/mbf_abstract_nav/include/mbf_abstract_nav/abstract_controller_execution.h:91:5: note: candidate: mbf_abstract_nav::AbstractControllerExecution::AbstractControllerExecution(const string&, const Ptr&, const mbf_utility::RobotInformation&, const ros::Publisher&, const ros::Publisher&, const mbf_abstract_nav::MoveBaseFlexConfig&) AbstractControllerExecution( ^~~~~~~ /media/kint/E06A82386A820B8A/mesh_nav_ws/src/move_base_flex/mbf_abstract_nav/include/mbf_abstract_nav/abstract_controller_execution.h:91:5: note: no known conversion for argument 3 from ‘const ros::Publisher’ to ‘const mbf_utility::RobotInformation&’ /media/kint/E06A82386A820B8A/mesh_nav_ws/src/mesh_navigation/mbf_mesh_nav/src/mesh_planner_execution.cpp: In constructor ‘mbf_mesh_nav::MeshPlannerExecution::MeshPlannerExecution(std::__cxx11::string, const Ptr&, const MeshPtr&, const mbf_mesh_nav::MoveBaseFlexConfig&)’: /media/kint/E06A82386A820B8A/mesh_nav_ws/src/mesh_navigation/mbf_mesh_nav/src/mesh_planner_execution.cpp:43:88: error: no matching function for call to ‘mbf_abstract_nav::AbstractPlannerExecution::AbstractPlannerExecution(const string&, const Ptr&, mbf_abstract_nav::MoveBaseFlexConfig)’ : AbstractPlannerExecution(name, planner_ptr, toAbstract(config)), meshptr(mesh_ptr) ^ In file included from /media/kint/E06A82386A820B8A/mesh_nav_ws/src/mesh_navigation/mbf_mesh_nav/include/mbf_mesh_nav/mesh_planner_execution.h:41:0, from /media/kint/E06A82386A820B8A/mesh_nav_ws/src/mesh_navigation/mbf_mesh_nav/src/mesh_planner_execution.cpp:37: /media/kint/E06A82386A820B8A/mesh_nav_ws/src/move_base_flex/mbf_abstract_nav/include/mbf_abstract_nav/abstract_planner_execution.h:88:5: note: candidate: mbf_abstract_nav::AbstractPlannerExecution::AbstractPlannerExecution(const string&, const Ptr&, const mbf_utility::RobotInformation&, const mbf_abstract_nav::MoveBaseFlexConfig&) AbstractPlannerExecution(const std::string& name, ^~~~~~~~ /media/kint/E06A82386A820B8A/mesh_nav_ws/src/move_base_flex/mbf_abstract_nav/include/mbf_abstract_nav/abstract_planner_execution.h:88:5: note: candidate expects 4 arguments, 3 provided mesh_navigation/mbf_mesh_nav/CMakeFiles/mbf_mesh_server.dir/build.make:134: recipe for target 'mesh_navigation/mbf_mesh_nav/CMakeFiles/mbf_mesh_server.dir/src/mesh_recovery_execution.cpp.o' failed make[2]: [mesh_navigation/mbf_mesh_nav/CMakeFiles/mbf_mesh_server.dir/src/mesh_recovery_execution.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... mesh_navigation/mbf_mesh_nav/CMakeFiles/mbf_mesh_server.dir/build.make:62: recipe for target 'mesh_navigation/mbf_mesh_nav/CMakeFiles/mbf_mesh_server.dir/src/mesh_controller_execution.cpp.o' failed make[2]: [mesh_navigation/mbf_mesh_nav/CMakeFiles/mbf_mesh_server.dir/src/mesh_controller_execution.cpp.o] Error 1 mesh_navigation/mbf_mesh_nav/CMakeFiles/mbf_mesh_server.dir/build.make:110: recipe for target 'mesh_navigation/mbf_mesh_nav/CMakeFiles/mbf_mesh_server.dir/src/mesh_planner_execution.cpp.o' failed make[2]: [mesh_navigation/mbf_mesh_nav/CMakeFiles/mbf_mesh_server.dir/src/mesh_planner_execution.cpp.o] Error 1 CMakeFiles/Makefile2:8638: recipe for target 'mesh_navigation/mbf_mesh_nav/CMakeFiles/mbf_mesh_server.dir/all' failed make[1]: [mesh_navigation/mbf_mesh_nav/CMakeFiles/mbf_mesh_server.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: [all] Error 2 Invoking "make -j4" failed

kintzhao commented 1 year ago

@mintar @jspricke @v4hn @hdeeken

JACKLiuDay commented 1 year ago

Hi, I have the same problem at my PC.