rules_ros icon indicating copy to clipboard operation
rules_ros copied to clipboard

[BUG] rosidl msg_library failed.

Open ZhenshengLee opened this issue 1 year ago • 4 comments

I have seemed to run into a different issue:

fatal error: rosgraph_msgs/msg/detail/clock__rmw_cyclonedds_cpp.h: No such file or directory
   10 | #include "rosgraph_msgs/msg/detail/clock__rmw_cyclonedds_cpp.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

I have created a repo to help those interested in trying to reproduce. https://github.com/willcbaker/ros2_bazel The project uses a osrf/ros:humble-deskptop container with bazel v5.3.2 and the WORKSPACE file as instructed in https://github.com/ApexAI/rules_ros#workspace-setup

Originally posted by @willcbaker in https://github.com/ApexAI/rules_ros/issues/1#issuecomment-1317655573

ZhenshengLee avatar Apr 10 '24 08:04 ZhenshengLee

The root cause is clear: this repo still lacks the middleware configuration of bazel to get rmw_xxx_typesupport_c.

ZhenshengLee avatar Apr 12 '24 02:04 ZhenshengLee

@ZhenshengLee Thank you for your bug report. You are right, this project is missing some final support for the middleware. Unfortunately, we had to deprioritize this effort. It is currently unclear when we will pick up speed again. Sorry for the inconvenience.

kilian-funk avatar May 25 '24 17:05 kilian-funk

Unfortunately, we had to deprioritize this effort. It is currently unclear when we will pick up speed again.

@kilian-funk Do you mind if I add the rosidl_typesupport_fastrtps_c.BUILD rosidl_typesupport_fastrtps_cpp.BUILD to the repo?

ZhenshengLee avatar May 27 '24 01:05 ZhenshengLee

@ZhenshengLee I am happy to review your pull request.

kilian-funk avatar May 27 '24 02:05 kilian-funk