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

You must link against the library that contains the code for those functions.

target_link_libraries(sweepLaserInterface_node ${catkin_LIBRARIES} some_library)

OR

Include the code for those functions in the executable.

add_executable(sweepLaserInterface_node src/sweepLaserInterface.cpp src/motorInterface.cpp)