You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to integrate FastDDS into a cross compiled project and I am having an issue with the library name.
On Windows the library name is versioned i.e. : libfastrtpsd-2.5.lib
On Linux the library name is not versioned, i.e. : libfastrtps.a
Why do you OS dependently change the name of the library?
I also see that I have to link libfastcdr-1.0 (also versioned..)
That means the if a user want to use CMake ExternalProject_Add for integrating FastDDS he need to hard-coded the fast-cdr version
for linking the lib..
This make all user add a condition and to have special cases on their CMake link target for both FastDDS & FastCDR.
EDIT:
Now when I took a deeper look, it more complicated than that,
The submodule takes the latest fastcdr version so I cannot even hard-code the fastcdr library name..
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am trying to integrate FastDDS into a cross compiled project and I am having an issue with the library name.
On Windows the library name is versioned i.e. :
libfastrtpsd-2.5.lib
On Linux the library name is not versioned, i.e. :
libfastrtps.a
Why do you OS dependently change the name of the library?
Fast-DDS/src/cpp/CMakeLists.txt
Line 486 in 94f9ed8
I also see that I have to link libfastcdr-1.0 (also versioned..)
That means the if a user want to use CMake
ExternalProject_Add
for integratingFastDDS
he need to hard-coded thefast-cdr
versionfor linking the lib..
This make all user add a condition and to have special cases on their CMake link target for both FastDDS & FastCDR.
EDIT:
Now when I took a deeper look, it more complicated than that,
The submodule takes the latest fastcdr version so I cannot even hard-code the fastcdr library name..
Thanks
Beta Was this translation helpful? Give feedback.
All reactions