Robotics StackExchange | Archived questions

Error in Cmake lists for custom messages ?

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

Asked by Vrushabh Jain on 2023-02-14 09:34:06 UTC

Comments

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

Asked by Ranjit Kathiriya on 2023-02-15 12:01:19 UTC

Answers