ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I guess you need to change
target_link_libraries(hello ${catkin_LIBRARIES})
for
target_link_libraries(hello ${catkin_LIBRARIES} roboteq_motor )
.
Note that:
catkin_package(
INCLUDE_DIRS include/${PROJECT_NAME}/
LIBRARIES roboteq_motor
CATKIN_DEPENDS roscpp std_msgs
DEPENDS system_lib
)
makes packages that depend on this package implicitly linking their executables / libs against the roboteq_motor library but for the execs/libs in this you still need to add the lib to target_link_libraries