Skip to content

add_custom_target called with invalid target name "msg/RobotPose.msg". #27

@HaozhongXu

Description

@HaozhongXu

自定义接口类型报错:colcon 编译之后报错:
CMake Error at /opt/ros/humble/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:213 (add_custom_target):
add_custom_target called with invalid target name "msg/RobotPose.msg".
Target names may not contain a slash. Use ADD_CUSTOM_COMMAND to generate
files.
Call Stack (most recent call first):
CMakeLists.txt:12 (rosidl_generate_interfaces)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions