eProsima / Fast-DDS-Gen

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

Dependency of generated code to FastDDS #183

Closed ma30002000 closed 1 year ago

ma30002000 commented 1 year ago

I was under impression that the generated code with Fast-DDS-Get would depend on FastCDR only (thereotically it could be used to serialize/deserialize data independently from using DDS).

However, TypesHeader.std adds #include <fastrtps/utils/fixed_size_string.hpp> to the generated code. This file is only supplied via FastDDS.

Is this dependency intended? The generated code is compilable and functional with the FastCDR lib and this single additional file only.

JLBuenoLopez commented 1 year ago

@ma30002000

Fast DDS-Gen latest release (v3.0.0) has moved this dependency to Fast CDR.

ma30002000 commented 1 year ago

Thanks a lot for addressing this issue!