eProsima / Fast-DDS-Gen

Fast-DDS IDL code generator tool. Looking for commercial support? Contact info@eprosima.com
Apache License 2.0
82 stars 62 forks source link

union file #420

Open zhangjun0307 opened 2 weeks ago

zhangjun0307 commented 2 weeks ago

fastddsgen (4.0.2 version), based on struct.idl (include union.idl) file, generated cmake example, ld reported an error undefined reference calculate_serialized_size (union), the reason is that the union.idl file did not generate the unionPubSubTypes.cxx file, resulting in the unionCdrAux.ipp file not being included, ld reported an error, how to solve it, thank you