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

I was getting the same kind of errors. After stripping the problem down to a very basic setup I found out that for some reason catkin doesn't like catkin_package being after add_library. If it is, you get these kind of errors.

add_library(a_library_name)
catkin_package(LIBRARIES a_library_name) # WRONG

catkin_package(LIBRARIES a_library_name) # CORRECT
add_library(a_library_name)