ZettaScaleLabs / cyclors

Low level RUST APIs for cyclone
Apache License 2.0
6 stars 11 forks source link

Allow multiple versions of the Cyclors library to be used simultaneously #24

Open gmartin82 opened 1 week ago

gmartin82 commented 1 week ago

Due to its dependence on the Iceoryx, Cyclone DDS, and Cyclocut static C libraries, it is not currently possible to load multiple versions of the Cyclors library simultaneously within a static binary. For example, the Zenoh DDS and ROS2 plugins cannot both be present within the same static executable due to this issue.

This ticket will look at mangling certain symbols within the C libraries to make them unique to a specific version of Cyclors.

gmartin82 commented 6 days ago

Two PR's submitted to fix the issue on Linux without Iceoryx. More work is required to support Windows, MacOS and Iceoryx.

25

26