0

我正在尝试参与开源,并且对机器人技术也很感兴趣,因此我考虑为 MoveIt 2 做出贡献。作为第一步,我在 VirtualBox 中的 Ubuntu 20.04 VM 上从源代码安装 MoveIt 2。

我已经阅读了这里的所有说明:https ://moveit.ros.org/install-moveit2/source/#:~:text=colcon%20build%20%2D%2Devent%2Dhandlers%20desktop_notification%2D%20status% 2D%20%2D%2Dcmake%2Dargs%20%2DDCMAKE_BUILD_TYPE%3DRelease

但是,构建在突出显示的部分失败。错误信息如下:

Starting >>> geometric_shapes
--- stderr: geometric_shapes
CMake Error at CMakeLists.txt:47 (find_package):
  By not providing "Findeigen3_cmake_module.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "eigen3_cmake_module", but CMake did not find one.

  Could not find a package configuration file provided by
  "eigen3_cmake_module" with any of the following names:

    eigen3_cmake_moduleConfig.cmake
    eigen3_cmake_module-config.cmake

  Add the installation prefix of "eigen3_cmake_module" to CMAKE_PREFIX_PATH
  or set "eigen3_cmake_module_DIR" to a directory containing one of the above
  files.  If "eigen3_cmake_module" provides a separate development package or
  SDK, be sure it has been installed.


---
Failed   <<< geometric_shapes [1.20s, exited with code 1]

Summary: 0 packages finished [1.46s]
  1 package failed: geometric_shapes
  1 package had stderr output: geometric_shapes
  33 packages not processed

非常感谢任何帮助。谢谢!

4

1 回答 1

0

您必须在构建 Move It 2 之前安装 ROS2。安装 ROS2 二进制文件后,该错误不会发生。

于 2022-01-04T20:52:38.243 回答