ament / ament/ament_cmake

packages that create shared libraries and msgs/srvs/actions with ROS IDL do not expose the shared libraries

Offen
#320 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug more-information-needed
Vorherrschende Sprache
CMake
Sterne
125
Forks
147
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I am writing a foxy package that uses some of the classes in https://github.com/SteveMacenski/spatio_temporal_voxel_layer, and links the shared library produced by spatio_temporal_voxel_layer in order to do that.

My package built fine, but when I run the navstack, and the navstack dynamically loads the shared library I produce, it complains about missing symbols from spatio_temporal_voxel_layer.

I couldn't see anything wrong with the CMake file for spatio_temporal_voxel_layer, but one thing different from the other packages I work with is spatio_temporal_voxel_layer uses the ros idl to create a service in the same cmake project that creates the shared library. I yanked this service and all the idl cmake directives from the package, and rebuilt. Then, I no longer get a missing symbol crash at run-time.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.