rst-tu-dortmund / mpc_local_planner

The mpc_local_planner package implements a plugin to the base_local_planner of the 2D navigation stack. It provides a generic and versatile model predictive control implementation with minimum-time and quadratic-form receding-horizon configurations.
http://wiki.ros.org/mpc_local_planner
GNU General Public License v3.0
557 stars 143 forks source link

catkin_make error #38

Open Zhenyu1 opened 3 years ago

Zhenyu1 commented 3 years ago

/home/dell/ws/src/mpc_local_planner/mpc_local_planner/src/test_mpc_optim_node.cpp:184:111: error: ‘boost::placeholders’ has not been declared marker_server->setCallback(i_marker.name, boost::bind(&TestMpcOptimNode::CB_obstacle_marker, this, boost::placeholders::_1)); ^~~~ mpc_local_planner/mpc_local_planner/CMakeFiles/test_mpc_optim_node.dir/build.make:62: recipe for target 'mpc_local_planner/mpc_local_planner/CMakeFiles/test_mpc_optim_node.dir/src/test_mpc_optim_node.cpp.o' failed make[2]: [mpc_local_planner/mpc_local_planner/CMakeFiles/test_mpc_optim_node.dir/src/test_mpc_optim_node.cpp.o] Error 1 CMakeFiles/Makefile2:9542: recipe for target 'mpc_local_planner/mpc_local_planner/CMakeFiles/test_mpc_optim_node.dir/all' failed make[1]: [mpc_local_planner/mpc_local_planner/CMakeFiles/test_mpc_optim_node.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j8 -l8" failed

Zhenyu1 commented 3 years ago

Hi, has anyone encountered this problem, when you are doing catkin_make? Ros version : melodic thx