moveit2编译过程中moveit_task_constructor_core失败
-
软件版本:ubuntu22.04+ros2 humble+moveit2
出现问题:今天尝试在虚拟机上安装moveit2,完全按照一个csdn的教程来的,但是到运行指令colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --parallel-workers 2
的时候编译到moveit_task_constructor_core就失败了,报错如下:
CMake Error at CMakeLists.txt:14 (find_package): By not providing "Findpy_binding_tools.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "py_binding_tools", but CMake did not find one. Could not find a package configuration file provided by "py_binding_tools" with any of the following names: py_binding_toolsConfig.cmake py_binding_tools-config.cmake Add the installation prefix of "py_binding_tools" to CMAKE_PREFIX_PATH or set "py_binding_tools_DIR" to a directory containing one of the above files. If "py_binding_tools" provides a separate development package or SDK, be sure it has been installed.
尝试的解决办法:
在电脑中搜索这个py_binding_tools什么都没有,然后尝试了pip3 install pybinding
安装,但是还是没有用
-
@3286029015 我和你的报错差不多,我的报错是这个:
CMake Error at CMakeLists.txt:13 (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.