colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
Starting >>> moveit_common
Starting >>> moveit_configs_utils
Starting >>> moveit_resources_prbt_support
Finished <<< moveit_common [0.22s]
Starting >>> moveit_core
Finished <<< moveit_resources_prbt_support [0.25s]
Finished <<< moveit_configs_utils [0.62s]
--- stderr: moveit_core
In file included from /home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/planning_interface/include/moveit/planning_interface/planning_response.h:40,
from /home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/planning_interface/src/planning_response.cpp:37:
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h:50:72: error: ‘UNDEFINED’ is not a member of ‘moveit_msgs::msg::MoveItErrorCodes’ {aka ‘moveit_msgs::msg::MoveItErrorCodes_<std::allocator<void> >’}
50 | MoveItErrorCode(const int code = moveit_msgs::msg::MoveItErrorCodes::UNDEFINED, const std::string& error_message = "",
| ^~~~~~~~~
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h: In constructor ‘moveit::core::MoveItErrorCode::MoveItErrorCode(int, const string&, const string&)’:
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h:54:5: error: ‘message’ was not declared in this scope
54 | message = error_message;
| ^~~~~~~
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h:55:5: error: ‘source’ was not declared in this scope
55 | source = error_source;
| ^~~~~~
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h: In constructor ‘moveit::core::MoveItErrorCode::MoveItErrorCode(const MoveItErrorCodes&)’:
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h:60:5: error: ‘message’ was not declared in this scope
60 | message = code.message;
| ^~~~~~~
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h:60:20: error: ‘const MoveItErrorCodes’ {aka ‘const struct moveit_msgs::msg::MoveItErrorCodes_<std::allocator<void> >’} has no member named ‘message’
60 | message = code.message;
| ^~~~~~~
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h:61:5: error: ‘source’ was not declared in this scope
61 | source = code.source;
| ^~~~~~
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h:61:19: error: ‘const MoveItErrorCodes’ {aka ‘const struct moveit_msgs::msg::MoveItErrorCodes_<std::allocator<void> >’} has no member named ‘source’
61 | source = code.source;
| ^~~~~~
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h: In function ‘std::string moveit::core::errorCodeToString(const moveit::core::MoveItErrorCode&)’:
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h:88:41: error: ‘UNDEFINED’ is not a member of ‘moveit::core::MoveItErrorCode’
88 | case moveit::core::MoveItErrorCode::UNDEFINED:
| ^~~~~~~~~
In file included from /home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/planning_interface/include/moveit/planning_interface/planning_response.h:40,
from /home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/planning_interface/include/moveit/planning_interface/planning_interface.h:41,
from /home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/planning_interface/src/planning_interface.cpp:37:
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h:50:72: error: ‘UNDEFINED’ is not a member of ‘moveit_msgs::msg::MoveItErrorCodes’ {aka ‘moveit_msgs::msg::MoveItErrorCodes_<std::allocator<void> >’}
50 | MoveItErrorCode(const int code = moveit_msgs::msg::MoveItErrorCodes::UNDEFINED, const std::string& error_message = "",
| ^~~~~~~~~
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h: In constructor ‘moveit::core::MoveItErrorCode::MoveItErrorCode(int, const string&, const string&)’:
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h:54:5: error: ‘message’ was not declared in this scope
54 | message = error_message;
| ^~~~~~~
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h:55:5: error: ‘source’ was not declared in this scope
55 | source = error_source;
| ^~~~~~
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h: In constructor ‘moveit::core::MoveItErrorCode::MoveItErrorCode(const MoveItErrorCodes&)’:
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h:60:5: error: ‘message’ was not declared in this scope
60 | message = code.message;
| ^~~~~~~
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h:60:20: error: ‘const MoveItErrorCodes’ {aka ‘const struct moveit_msgs::msg::MoveItErrorCodes_<std::allocator<void> >’} has no member named ‘message’
60 | message = code.message;
| ^~~~~~~
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h:61:5: error: ‘source’ was not declared in this scope
61 | source = code.source;
| ^~~~~~
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h:61:19: error: ‘const MoveItErrorCodes’ {aka ‘const struct moveit_msgs::msg::MoveItErrorCodes_<std::allocator<void> >’} has no member named ‘source’
61 | source = code.source;
| ^~~~~~
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h: In function ‘std::string moveit::core::errorCodeToString(const moveit::core::MoveItErrorCode&)’:
/home/wwwyyy/ws_moveit2/src/moveit2/moveit_core/utils/include/moveit/utils/moveit_error_code.h:88:41: error: ‘UNDEFINED’ is not a member of ‘moveit::core::MoveItErrorCode’
88 | case moveit::core::MoveItErrorCode::UNDEFINED:
| ^~~~~~~~~
gmake[2]: *** [planning_interface/CMakeFiles/moveit_planning_interface.dir/build.make:90:planning_interface/CMakeFiles/moveit_planning_interface.dir/src/planning_response.cpp.o] 错误 1
gmake[2]: *** 正在等待未完成的任务....
gmake[2]: *** [planning_interface/CMakeFiles/moveit_planning_interface.dir/build.make:76:planning_interface/CMakeFiles/moveit_planning_interface.dir/src/planning_interface.cpp.o] 错误 1
gmake[1]: *** [CMakeFiles/Makefile2:2020:planning_interface/CMakeFiles/moveit_planning_interface.dir/all] 错误 2
gmake: *** [Makefile:146:all] 错误 2
Failed <<< moveit_core [4.32s, exited with code 2]
Summary: 3 packages finished [4.78s]
1 package failed: moveit_core
1 package had stderr output: moveit_core
37 packages not processed