Open Zhenyu1 opened 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
Hi, has anyone encountered this problem, when you are doing catkin_make? Ros version : melodic thx
/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