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

Revision history [back]

click to hide/show revision 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.