prerelease test fails because it can't find library

asked 2023-03-24 08:03:30 -0500

adrisubi gravatar image

updated 2023-03-27 04:50:37 -0500

I'm trying to release this package, which is a ros driver for our library libL3Cam, following this tutorial and, on section 3.3, when running the prerelease test i get the following error:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: l3cam_LIBRARIES

The library, which should be previously installed with a deb package we provide here, is found with the following line in the CMakeLists file:

FIND_LIBRARY(l3cam_LIBRARIES libL3Cam.a /usr/local/lib/libl3cam/)

But when running the prerelease test I have no way of previously installing the library in docker.

What should be the procedure to release a package with this kind of dependency?

When building the package (previously installing the library) with catkin_make there are no errors or problems.

edit retag flag offensive close merge delete