Robotics StackExchange | Archived questions

prerelease test fails because it can't find library

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:

FINDLIBRARY(l3camLIBRARIES 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.

Asked by adrisubi on 2023-03-24 08:03:30 UTC

Comments

Answers