Colcon build --packages-up-to ardupilot_dds_tests failed

Hello! I try to install ROS2 from this guide ROS 2 — Dev documentation.
I did it step by step but on colcon build --packages-up-to ardupilot_dds_tests i have a mistake


1 Like

@rhys @rfriedman,

Any chance you could look into this issue?

Note that we have a similar discussion here.

1 Like

Hello,

Can you please copy the entire logs including the command you used?

Please also share the output of git status?

As it stands, there is not enough information for me to tell what’s broken.

2 Likes

Hello! Yes, thank you very much, I found the solution there. I replaced the line inside /ros2_ws/src/ardupilot/libraries/AP_DDS/wscript as stated in that post on
gen_cmd = f"{bld.env.MICROXRCEDDSGEN[0]} -cs -replace -d {dst_dir} -I {idl_include_path} {idl}"
and everything worked now!

1 Like

@rhys @rfriedman,

Do you think we need any more changes to the wiki or setup or build scripts?

I’m wondering if I can mark this item as closed?

Just for admin purposes I’m going to consider this issue closed on the Copter-4.5.0 issues list. Please tell me if I’ve got this wrong though.

1 Like

Yes, everything is fine, thank you

1 Like

No, users aren’t updating to the latest code across repos. We had an ABI break before 4.5, but users have set up the environments before that and then are expecting it to work without updates. CI tests the new versions of both.

1 Like