1 package failed: irobot_create_toolbox why?
I'm trying to build my workspace using colcon build, but I fail to install the last package: irobotcreatetoolbox
somewhere in the error it states:
/home/matt/ros2_ws/build/irobot_create_toolbox/ament_cmake_package_templates/templates.cmake)
returned error code No such file or directory
However, I am able to find this folder and file.
Underneath is the commands i used and the error.
matt@matt-VirtualBox:~$ cd ros2_ws
matt@matt-VirtualBox:~/ros2_ws$ rosdep install --from-path src -yi
#All required rosdeps installed successfully
matt@matt-VirtualBox:~/ros2_ws$ colcon build --symlink-install
Starting >>> irobot_create_toolbox
--- stderr: irobot_create_toolbox
CMake Error at /opt/ros/galactic/share/ament_cmake_core/cmake/ament_cmake_package_templates-extras.cmake:41 (message):
execute_process(/home/matt/miniconda3/bin/python3
/opt/ros/galactic/share/ament_cmake_core/cmake/package_templates/templates_2_cmake.py
/home/matt/ros2_ws/build/irobot_create_toolbox/ament_cmake_package_templates/templates.cmake)
returned error code No such file or directory
Call Stack (most recent call first):
/opt/ros/galactic/share/ament_cmake_core/cmake/ament_cmake_coreConfig.cmake:41 (include)
/opt/ros/galactic/share/ament_cmake/cmake/ament_cmake_export_dependencies-extras.cmake:15 (find_package)
/opt/ros/galactic/share/ament_cmake/cmake/ament_cmakeConfig.cmake:41 (include)
CMakeLists.txt:13 (find_package)
---
Failed <<< irobot_create_toolbox [0.06s, exited with code 1]
Summary: 0 packages finished [0.24s]
1 package failed: irobot_create_toolbox
1 package had stderr output: irobot_create_toolbox
16 packages not processed
Edit 11-10-2022: I reinstalled ubuntu and followed all the steps very precise this time. I get not errors and it seems to work.
Asked by mateistro on 2022-10-10 14:39:26 UTC
Comments