ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Change
include_directories(
${catkin_INCLUDE_DIRS}
)
for
include_directories(
${catkin_INCLUDE_DIRS}
include
)
Note that
catkin_package( INCLUDE_DIRS include LIBRARIES LogixEIP CATKIN_DEPENDS roscpp DEPENDS system_lib )
makes source files in dependend packages of your first package finding the headers in the include folder of your first package while
include_directories(
${catkin_INCLUDE_DIRS}
include
)
makes source files in your first package finding the headers in the include folder of your first package. Source files in your package most likely also use the headers in the same package.....
2 | No.2 Revision |
Change
include_directories(
${catkin_INCLUDE_DIRS}
)
for
include_directories(
${catkin_INCLUDE_DIRS}
include
)
Note that
catkin_package(
INCLUDE_DIRS include
LIBRARIES LogixEIP
CATKIN_DEPENDS roscpp
DEPENDS system_lib
makes source files in dependend packages of your first package finding the headers in the include folder of your first package while
include_directories(
${catkin_INCLUDE_DIRS}
include
)
makes source files in your first package finding the headers in the include folder of your first package. Source files in your package most likely also use the headers in the same package.....