ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You should not modify the output directories for libraries and executables - remove the following lines from your CMakeLists.txt:
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
When invoking catkin_package()
the optional keyword argument is CATKIN_DEPENDS
(not CATKIN-DEPENDS
). Please consider reading http://docs.ros.org/api/catkin/html/howto/index.html for more information when to use DEPENDS
and when to use CATKIN_DEPENDS
.
You should also consider filling in the other optional arguments of catkin_package()
. While it will not affect your package directly it does affect packages which would depend on your package.