小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
ros2 foxy moveit2 编译错误
-
系统: ubontu20.04 ros2 foxy版本
根据帖子:动手学moveit2 探索篇1
一步一步运行:
在运行到
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
发生一下错误:
--- stderr: moveit_core
CMake Warning (dev) at /usr/local/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed tofind_package_handle_standard_args
(libdw) does
not match the name of the calling package (backward_ros). This can lead to
problems in calling code that expectsfind_package
result variables
(e.g.,_FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
/opt/ros/foxy/share/backward_ros/cmake/BackwardConfig.cmake:55 (find_package_handle_standard_args)
/opt/ros/foxy/share/backward_ros/cmake/backward_rosConfig.cmake:41 (include)
/home/z/moveit2/install/moveit_common/share/moveit_common/cmake/moveit_package.cmake:36 (find_package)
CMakeLists.txt:6 (moveit_package)
This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at /usr/local/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed tofind_package_handle_standard_args
(libbfd)
does not match the name of the calling package (backward_ros). This can
lead to problems in calling code that expectsfind_package
result
variables (e.g.,_FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
/opt/ros/foxy/share/backward_ros/cmake/BackwardConfig.cmake:66 (find_package_handle_standard_args)
/opt/ros/foxy/share/backward_ros/cmake/backward_rosConfig.cmake:41 (include)
/home/z/moveit2/install/moveit_common/share/moveit_common/cmake/moveit_package.cmake:36 (find_package)
CMakeLists.txt:6 (moveit_package)
This warning is for project developers. Use -Wno-dev to suppress it.CMake Warning (dev) at /usr/local/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed tofind_package_handle_standard_args
(Backward)
does not match the name of the calling package (backward_ros). This can
lead to problems in calling code that expectsfind_package
result
variables (e.g.,_FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
/opt/ros/foxy/share/backward_ros/cmake/BackwardConfig.cmake:128 (find_package_handle_standard_args)
/opt/ros/foxy/share/backward_ros/cmake/backward_rosConfig.cmake:41 (include)
/home/z/moveit2/install/moveit_common/share/moveit_common/cmake/moveit_package.cmake:36 (find_package)
CMakeLists.txt:6 (moveit_package)
This warning is for project developers. Use -Wno-dev to suppress it.CMake Error at CMakeLists.txt:25 (find_package):
By not providing "Findgenerate_parameter_library.cmake" in
CMAKE_MODULE_PATH this project has asked CMake to find a package
configuration file provided by "generate_parameter_library", but CMake did
not find one.Could not find a package configuration file provided by
"generate_parameter_library" with any of the following names:generate_parameter_libraryConfig.cmake generate_parameter_library-config.cmake
Add the installation prefix of "generate_parameter_library" to
CMAKE_PREFIX_PATH or set "generate_parameter_library_DIR" to a directory
containing one of the above files. If "generate_parameter_library"
provides a separate development package or SDK, be sure it has been
installed.
Failed <<< moveit_core [0.88s, exited with code 1]
Aborted <<< moveit_resources [0.86s]
Aborted <<< rosparam_shortcuts [2.56s]
Aborted <<< rviz_visual_tools [4.85s]
Aborted <<< moveit_task_constructor_msgs [5.16s]
Aborted <<< rviz_marker_tools [7.44s]Summary: 10 packages finished [8.92s]
1 package failed: moveit_core
5 packages aborted: moveit_resources moveit_task_constructor_msgs rosparam_shortcuts rviz_marker_tools rviz_visual_tools
2 packages had stderr output: moveit_core rviz_marker_tools
41 packages not processed -
-
@572871692 请问这个问题解决了吗