Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not build mbf_mesh_nav with catkin_make #23

Open
kintzhao opened this issue Dec 1, 2022 · 2 comments
Open

can not build mbf_mesh_nav with catkin_make #23

kintzhao opened this issue Dec 1, 2022 · 2 comments

Comments

@kintzhao
Copy link

kintzhao commented Dec 1, 2022

[ 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)), mesh_ptr
(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)’
, mesh_ptr
(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<tf2_ros::Buffer>}’ 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)), mesh_ptr
(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
Copy link
Author

@JACKLiuDay
Copy link

Hi, I have the same problem at my PC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants