ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Put the name of the package you built the library into a <build_depend> in package.xml and in the list of packages in find_package list in your CMakeLists.txt. The actual name of the library doesn't matter (just the name of the package that built it), it will get included in ${catkin_LIBRARIES}.

Put the name of the package you built the library into a <build_depend> in package.xml and put it into in the list of packages in find_package list find_package() in your CMakeLists.txt. The actual name of the library doesn't matter (just the name of the package that built it), it will get included in ${catkin_LIBRARIES}.

http://docs.ros.org/kinetic/api/catkin/html/howto/format2/building_libraries.html

Put the name of the package you built the library into a <build_depend> in package.xml and put it into in the list of packages in find_package() in your CMakeLists.txt. The actual name of the library doesn't matter (just the name of the package that built it), it will get included in ${catkin_LIBRARIES}.

http://docs.ros.org/kinetic/api/catkin/html/howto/format2/building_libraries.html

In the library building package be sure to have your library listed as something other projects can use:

catkin_package(
               ...
               LIBRARIES MYLIB)

Put the name of the package you built the library into a <build_depend> in package.xml and put it into in the list of packages in find_package() in your CMakeLists.txt. The actual name of the library doesn't matter (just the name of the package that built it), it will get included in ${catkin_LIBRARIES}.