Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
HaozhongXu opened this issue Nov 26, 2023 · 1 comment

Comments

@HaozhongXu
Copy link

自定义接口类型报错: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)

@Spidy2099
Copy link

碰到了同样的问题,怎么都找不出哪里有问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants