ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The INCLUDE_DIRS
directive to catkin_package
is not intended to add include directories to your package; you should use include_directories
for that, as you've found.
The catkin_package
function specifies which dependencies your package exports to its dependencies. In particular, INCLUDE_DIRS
specifies which directory in your package contains the header directory that should be on the include path for any packages that compile against your package.