micro-ROS / micro_ros_setup

Support macros for building micro-ROS-based firmware.
Apache License 2.0
354 stars 131 forks source link

error: ‘DDS_CDR’ is not a member of ‘eprosima::fastcdr::Cdr’ #711

Open tuananh0606-tech opened 1 month ago

tuananh0606-tech commented 1 month ago

Issue template

-Hardware description: Dell G5 -RTOS: Linux -Installation type: micro_ros_setup -Version or commit hash: humble

Steps to reproduce the issue

I'm trying to install micro_ros_setup but when it comes to ros2 run micro_ros_setup build_agent.sh it gives me this error, I've tried many ways but it doesn't work, I've installed MicroXrceDDS before, is this the cause, if not, is there another way to fix it. Help me, please! Thanks.

Expected behavior

Screenshot from 2024-07-11 00-43-02 Screenshot from 2024-07-11 00-42-00

Actual behavior

Additional information

Tilgaard commented 1 month ago

Hey tuananh0606-tech

Any progress? I have the same issue.

tuananh0606-tech commented 1 month ago

@Tilgaard Have you ever downloaded xcredds?

NustAirworks2022 commented 1 month ago

yes I have downloaded XCREDDS and is facing the same issue

tuananh0606-tech commented 4 days ago

@NustAirworks2022 have you solved it? I don't know how to completely remove XCRE-DDS

NustAirworks2022 commented 4 days ago

No I haven't solved it yet. But now instead of using micro Ros agent I am using XCRE-DDS and it's working fine for me. Using it for PX4 Ros2 bridge.