When compiling the package, I got the below error. I cannot figure out where is wrong.
Could not find messages which
** ‘/home/user/catkin_ws/devel/share/turtlebot3_move/msg/OdomRecordAction.msg’**
** depends on. Did you forget to specify generate_messages(DEPENDENCIES …)?**
** Cannot locate message [Point] in package [turtlebot3_move] with paths**
** [[’/home/user/catkin_ws/devel/share/turtlebot3_move/msg’]]**
Call Stack (most recent call first):
** /opt/ros/noetic/share/genmsg/cmake/genmsg-extras.cmake:307 (include)**
** turtlebot3_move/CMakeLists.txt:75 (generate_messages)**
Here is my Cmakefilelist;
find_package(catkin REQUIRED COMPONENTS
rospy
std_msgs
message_generation
actionlib_msgs
geometry_msgs
)
add_action_files(
FILES
OdomRecord.action
# Action2.action
)
## Generate added messages and services with any dependencies listed here
generate_messages(
DEPENDENCIES
std_msgs
actionlib_msgs
geometry_msgs
)
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES turtlebot3_move
CATKIN_DEPENDS rospy std_msgs
# DEPENDS system_lib
)
include_directories(
# include
${catkin_INCLUDE_DIRS}
)
Thanks for help~