ament / ament/ament_cmake

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

Abierto
#320 1 comentario 0 reacciones 0 asignados Ver en GitHub
bug more-information-needed
Lenguaje dominante
CMake
Estrellas
125
Forks
147
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.