Do I need to install a ros package in order to use its libraries in the same catkinws?
I have a project in a catkin workspace. I'm developing it inside a docker container and this is my only alternative. For this reason I do not want to install any package, as the containers are not persistent.
I have several packages inside the catkin directory and some of then are plugins libraries. I would like to use the libraries of my package A in the package B without installing the package A. I have not been able to do this using the cmake command
find_package(catkin REQUIRED COMPONENTS packageA)
include_directories(${catkin_INCLUDE_DIRS})
target_link_libraries(package_B_node ${catkin_LIBRARIES})
to add the required includes and the libraries
Can you git clone or otherwise copy the source of package A into the catkin_ws alongside package B?
Or create a new docker image that uses the base docker image you can't alter as a starting point in the Dockerfile and then install package A as the only additional step?