GeezerVison is showing github.com — error: ‘DDS_CDR’ is not a member of ‘eprosima::fastcdr::Cdr’ · Issue #711 · micro-ROS/micro_ros_setup
error: ‘DDS_CDR’ is not a member of ‘eprosima::fastcdr::Cdr’ #711DescriptionIssue 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


Actual behavior
Additional informationActivityTilgaard commented on Jul 15, 2024 tuananh0606-tech commented on Jul 24, 2024 MuhammadAbdullah-2001 commented on Aug 2, 2024 yes I have downloaded XCREDDS and is facing the same issue tuananh0606-tech commented on Aug 28, 2024 @NustAirworks2022 have you solved it? I don't know how to completely remove XCRE-DDS MuhammadAbdullah-2001 commented on Aug 28, 2024 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. tuananh0606-tech commented on Sep 5, 2024 @NustAirworks2022 Can you show me how you do it? thank you MuhammadAbdullah-2001 commented on Sep 5, 2024 Enter the following commands to fetch and build the micro XCRE-DDS agent from source:
git clone https://github.com/eProsima/Micro-XRCE-DDS-Agent.git cd Micro-XRCE-DDS-Agent mkdir build cd build cmake .. make sudo make install sudo ldconfig /usr/local/lib/
start the agent to connect to simulator
MicroXRCEAgent udp4 -p 8888 Varchasvin10 commented on Oct 3, 2024 Im getting the same build error while trying to setup micro_ros in ros2 humble. Has any solution been found? Before the micro ros was working fine but when I downloaded and used XRCE-DDS for PX4 as @NustAirworks2022 mentioned micro ros stopped publishing messages and when i tried to reinstall it showed the same error as @tuananh0606-tech.

I dont want to continue using XRCE DDS, is there a way to delete this, i tried deleting the folders but still doesnt work. Varchasvin10 commented on Oct 3, 2024
Im getting the same build error while trying to setup micro_ros in ros2 humble. Has any solution been found? Before the micro ros was working fine but when I downloaded and used XRCE-DDS for PX4 as @NustAirworks2022 mentioned micro ros stopped publishing messages and when i tried to reinstall it showed the same error as @tuananh0606-tech.

I dont want to continue using XRCE DDS, is there a way to delete this, i tried deleting the folders but still doesnt work.
Got it working just had to sudo rm -r the xrcedds packages in the root directory. Karthik03B commented on Oct 9, 2024 @Varchasvin10 I tried removing all the packages in the root directory, but still it doesn't work. It will help if you can give more details about how you did it and what are the packages that you installed and removed.
Thank you Varchasvin10 commented on Oct 9, 2024
@Varchasvin10 I tried removing all the packages in the root directory, but still it doesn't work. It will help if you can give more details about how you did it and what are the packages that you installed and removed. Thank you
Open up the terminal and try typing these,
sudo rm -r microxrcedds_agent
sudo rm -r microxrcedds_client
Ensure that you have manually deleted the MIcroXRCE-DDS packages from your home directory.
Let me know if this works, it worked for me. Karthik03B commented on Oct 9, 2024 @Varchasvin10 I manually deleted all the DDS packages. It didn't work for me. Varchasvin10 commented on Oct 9, 2024 @Karthik03B DId you run the commands to remove it from your root directory? Karthik03B commented on Oct 9, 2024 yes I did. there were no such files in the root. Varchasvin10 commented on Oct 9, 2024
yes I did. there were no such files in the root.
Delete your current microros workspace and Retry the microros setup and installation guidelines, you might have built the workspace before and that might not be allowing you to build it again as it might be saved with the previous setup. Karthik03B commented on Oct 10, 2024 @Varchasvin10 I tried that also. Before this i installed XRCE DDS in the root , I think i installed it Globally. It's just my assumption.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|