Skip to content

colcon build --symlink-install编译报错 #14

@jackylove-ios

Description

@jackylove-ios

cj@jackeylove:~/ros2_ws$ colcon build --symlink-install
Starting >>> wpr_simulation2
[Processing: wpr_simulation2]
--- stderr: wpr_simulation2
Traceback (most recent call last):
File "/opt/ros/humble/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py", line 22, in
from catkin_pkg.package import parse_package_string
ModuleNotFoundError: No module named 'catkin_pkg'
CMake Error at /opt/ros/humble/share/ament_cmake_core/cmake/core/ament_package_xml.cmake:95 (message):
execute_process(/home/cj/miniconda3/bin/python3
/opt/ros/humble/share/ament_cmake_core/cmake/core/package_xml_2_cmake.py
/home/cj/ros2_ws/src/wpr_simulation2/package.xml
/home/cj/ros2_ws/build/wpr_simulation2/ament_cmake_core/package.cmake)
returned error code 1
Call Stack (most recent call first):
/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_package_xml.cmake:49 (_ament_package_xml)
/opt/ros/humble/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:226 (ament_package_xml)
CMakeLists.txt:29 (rosidl_generate_interfaces)


Failed <<< wpr_simulation2 [39.7s, exited with code 1]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions