ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
If the issue is that it cannot find the mylibrary.hpp
file then you've probably not installed the header from the catkin package. This is typically how you'd install the headers in catkin:
## Install project namespaced headers
install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
FILES_MATCHING PATTERN "*.h"
PATTERN ".svn" EXCLUDE)
Note that the above assumes a structure for your headers as <package directory>/include/<package name>/mylibrary.hpp
.