micro-ROS / micro_ros_setup

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

error: field 'platform' has incomplete type #713

Open caesar-ROS opened 1 month ago

caesar-ROS commented 1 month ago

Issue template

Steps to reproduce the issue

I'm a beginner doing tutorials on the "micro.ros.org " site. Among them, an error occurs during the "How to include a custom ROS message in micro-ROS" process and asks questions. An error occurs while building micro-ROS workspace, and it does not work. I'd appreciate your help.

Actual behavior

The error contents are as follows.

firmware/mcu_ws/eProsima/Micro-XRCE-DDS-Client/include/uxr/client/profile/transport/serial/serial_transport.h:39:30: error: field 'platform' has incomplete type struct uxrSerialPlatform platform; ^~~~

Additional information

I attach the details as a picture.

1 2 3 4 5 7 8 9 10 11

meetgandhi-dev commented 3 weeks ago

It seems the issue you're encountering is likely related to the transport configuration rather than the custom message. Could you share what type of transport you’re using when running the configure_firmware.sh command?