求 ros2 moveit2 编译错误
-
编译机械臂的功能包的时候显示
错误::
tarting >>> moveit2_tutorials
--- stderr: moveit2_tutorials
CMake Error at CMakeLists.txt:5 (find_package):
By not providing "Findmoveit_common.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"moveit_common", but CMake did not find one.Could not find a package configuration file provided by "moveit_common"
with any of the following names:moveit_commonConfig.cmake moveit_common-config.cmake
Add the installation prefix of "moveit_common" to CMAKE_PREFIX_PATH or set
"moveit_common_DIR" to a directory containing one of the above files. If
"moveit_common" provides a separate development package or SDK, be sure it
has been installed.
Failed <<< moveit2_tutorials [0.08s, exited with code 1]
最后运行:sudo apt install ros-foxy-moveit-common
结果显示CMake Error at CMakeLists.txt:35 (find_package):
By not providing "Findmoveit_servo.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"moveit_servo", but CMake did not find one.Could not find a package configuration file provided by "moveit_servo" with
any of the following names:moveit_servoConfig.cmake moveit_servo-config.cmake
Add the installation prefix of "moveit_servo" to CMAKE_PREFIX_PATH or set
"moveit_servo_DIR" to a directory containing one of the above files. If
"moveit_servo" provides a separate development package or SDK, be sure it
has been installed. -
-
此回复已被删除! -
@小鱼 ros2 foxy
-
@小鱼 安装依赖 运行
rosdepc install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y
后现在是:Make Error at CMakeLists.txt:35 (find_package):
By not providing "Findmoveit_task_constructor_core.cmake" in
CMAKE_MODULE_PATH this project has asked CMake to find a package
configuration file provided by "moveit_task_constructor_core", but CMake
did not find one.Could not find a package configuration file provided by
"moveit_task_constructor_core" with any of the following names:moveit_task_constructor_coreConfig.cmake moveit_task_constructor_core-config.cmake
Add the installation prefix of "moveit_task_constructor_core" to
CMAKE_PREFIX_PATH or set "moveit_task_constructor_core_DIR" to a directory
containing one of the above files. If "moveit_task_constructor_core"
provides a separate development package or SDK, be sure it has been
installed. -
@572871692 请问是怎么解决的?
-
@小鱼 在 求 ros2 moveit2 编译错误 中说:
一下
这个问题你解决了吗?