Error in Cmake lists for custom messages ?

asked 2023-02-14 08:34:06 -0500

Vrushabh Jain gravatar image

updated 2023-02-15 11:01:46 -0500

Ranjit Kathiriya gravatar image

i made custom message folder msg in package in msg folder i define flie name .msg then added package message generation dependencies in xml file and made changes in cmake list. error is

CMake Error at /opt/ros/noetic/share/genmsg/cmake/genmsg-extras.cmake:271 (message):
  Could not find 'share/rospy/cmake/rospy-msg-paths.cmake' (searched in
  '/home/vrushabh/v1_wiki_ws/devel;/opt/ros/noetic').
Call Stack (most recent call first):
  robot_pkg/CMakeLists.txt:69 (generate_messages)


-- Configuring incomplete, errors occurred!
See also "/home/vrushabh/v1_wiki_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/vrushabh/v1_wiki_ws/build/CMakeFiles/CMakeError.log".
make: *** [Makefile:1440: cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
edit retag flag offensive close merge delete

Comments

Can you please, upload your full code XML and Cmake file also.

Ranjit Kathiriya gravatar image Ranjit Kathiriya  ( 2023-02-15 11:01:19 -0500 )edit