Closed Nir-Az closed 2 years ago
Is it because I turn off the BUILD_TOOLS flag?
Yes. This will disable the generation of the container_node_sizes_impl.hpp
contents.
will it cause memory issues / performance issues on FastDDS runtime?
It will increase memory usage a bit, since Fast DDS will guess the node size here, which takes the size of a custom node that includes the fields of all the common implementations.
Thanks @MiguelCompany , So FastDDS recomendation is to turn on the tools build? Not sure why they coupled an executable build with a library feature..
@Nir-Az
If you don't want to (or cannot due to system requirements) build and run the tool, you could use the generous external contribution that was recently merged on foonathan/memory#129
@MiguelCompany I can turn the flag on and test if it builds OK, but what did you mean with running it?
I am consuming FastDDS library and use it's API. When/Why should I run this foonathan tool?
Didn't find something about it on FastDDS documentation.
@Nir-Az
The tool is run as a build step. See here. When cross-compiling, it can be run on an emulator.
foonathan/memory#129 changes this to use CMake machinery to generate container_node_sizes_impl.hpp
Great, thanks for the help.
Hi When configuring foonathan memory I get this CMake warning.
Is it because I turn off the BUILD_TOOLS flag? will it cause memory issues / performance issues on FastDDS runtime?