-
Notifications
You must be signed in to change notification settings - Fork 58
Common errors faced while running `catkin_make`
Obtained by: Removing blob
from 11398bb2/vision_stack/task_marker/CMakeLists.txt#L31
Fixed by: Adding the appropriate library to the target_link_libraries
call of the appropriate executable in CMakeLists.txt
file.
Error: Could not find the file actionmsg/buoyAction.h
Fixed by:
-
Ensure that the CPP code for the messages is being generated by going to the package that has the definition for the
.msg
or the.action
file. There, see ifadd_message_files
andadd_action_files
function calls are properly written. Also, uncomment the call togenerate_messages(DEPENDENCIES std_msgs actionlib_msgs)
-
In this package, call
add_dependencies
with the executable name as first argument and thegencpp
target as second argument. (Example: marker CMakeLists )
This string is the name of the package where the .action
or .msg
file is present, followed by _gencpp
.