-
Notifications
You must be signed in to change notification settings - Fork 10
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
Building on Humble #70
Comments
Do you have changes in a forked repo? |
Woops, forgot to link the fork, https://github.com/tmayoff/rmw_opendds/tree/humble. I didn't use that repo to test, but our repo for work. On humble there were a bunch of build errors, changes to the rmw.h header (and others) |
There's a lot that needs to be done as prerequisites for getting rmw_build to work in humble When going through the rmw_build repo I eventually get these build errors, I feel like this might be due to the opendds install I have in the image, being a custom debian repo I'm adding.
I might try getting the proper docker image/install setup on a ROS2 humble base image first |
I setup this repo, https://github.com/tmayoff/opendds_ros_infra, can run the enter_workspace.sh script and follow the rest of the rmw_build instructions. Contains the currently failing workflows to build: https://github.com/tmayoff/opendds_ros_infra/actions/runs/7234496020/job/19710940967 |
This error
looks like it could be related to code generation when one idl |
The previous error ( |
I have the file |
@tmayoff Whats setting are required to make the ROS build infrastructure log the compilation commands? |
I'm not sure the command itself but I think it's the |
This is the latest run with the debug logging and command outputs: https://github.com/tmayoff/opendds_ros_infra/actions/runs/7564009620/job/20597425937 |
It shows what colcon is running:
I think this is essentially running make on the results of CMake's "Unix Makefiles" generator. So I think we're looking for a way to see the commands that GNU Make is running. |
I'm not sure it can be outputted to the screen, this is from the log file.
|
Thanks.
However, Since I'll keep digging. |
Some more oddities, generated header for the GoalInfo has this set of includes
There's duplicated headers, When I try to add the
|
So, did this work, not work, or just weird? |
More just weird. This was a different error than the Time_C.h ones from before I thought I had gotten further with this, but I tried again and for now fails for the previous reasons Time_C.h related. I tried doing as you suggested changing the include to just |
These duplicated includes are all in the same file written by opendds_idl? Which one? Maybe there's a bug in |
They are duplicated regardless of the - -filename-only-include. But only some of them change, when that flag is set, there are some other includes coming somewhere else |
I think I found the header include issue. After that, locally I ran into an include problem with the idl compilation step, but the CI passed, needs further investigation. These are the changes so far to rosidl_typesupport_opendds, https://github.com/OpenDDS/rosidl_typesupport_opendds/pull/50/files |
Okay so that did fix the build. It now crashes when trying to run anything, I added the run_ci_test.sh to CI, for now I can work through these problems, thanks for the help so far! |
Okay so I didn't get that much further before getting hit with this series of errors
The error is coming from this line. And this now only happens from the publisher in the test node EDIT: |
I'd like to be able to use OpenDDS with ROS humble, I've put some time to get the library to build on humble (just marking things as unimplemented for now).
I'm getting this error now when trying to use it (launching the topic monitor in rqt), I'm struggling to find some clear documentation to 'creating a rmw' and what needs to be set/enabled or implemented to get something to work.
The text was updated successfully, but these errors were encountered: