ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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}.
2 | No.2 Revision |
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}.
3 | No.3 Revision |
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}.
4 | No.4 Revision |
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}.