Error while running catkin_make during formation of action msg

asked 2021-09-30 02:44:28 -0600

Tanishq Chaudhary gravatar image

updated 2021-09-30 03:38:05 -0600

gvdhoorn gravatar image

Terminal copy-paste:

tanishq@tanishq-laptop-ubuntu:~$ cd ROS_Projects/mocha_ws/
tanishq@tanishq-laptop-ubuntu:~/ROS_Projects/mocha_ws$ source devel/setup.bash
tanishq@tanishq-laptop-ubuntu:~/ROS_Projects/mocha_ws$ echo $ROS_PACKAGe_PATH

tanishq@tanishq-laptop-ubuntu:~/ROS_Projects/mocha_ws$ echo $ROS_PACKAGE_PATH
/home/tanishq/ROS_Projects/mocha_ws/src:/opt/ros/melodic/share
tanishq@tanishq-laptop-ubuntu:~/ROS_Projects/mocha_ws$ catkin_make
Base path: /home/tanishq/ROS_Projects/mocha_ws
Source space: /home/tanishq/ROS_Projects/mocha_ws/src
Build space: /home/tanishq/ROS_Projects/mocha_ws/build
Devel space: /home/tanishq/ROS_Projects/mocha_ws/devel
Install space: /home/tanishq/ROS_Projects/mocha_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/tanishq/ROS_Projects/mocha_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/tanishq/ROS_Projects/mocha_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/tanishq/ROS_Projects/mocha_ws/devel;/opt/ros/melodic
-- This workspace overlays: /home/tanishq/ROS_Projects/mocha_ws/devel;/opt/ros/melodic
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.17", minimum required is "2") 
-- Using PYTHON_EXECUTABLE: /usr/bin/python2
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/tanishq/ROS_Projects/mocha_ws/build/test_results
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python2 (found version "2.7.17") 
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.29
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 1 packages in topological order:
-- ~~  - action_pkg
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'action_pkg'
-- ==> add_subdirectory(action_pkg)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Generating .msg files for action action_pkg/CWD /home/tanishq/ROS_Projects/mocha_ws/src/action_pkg/action/CWD.action
CMake Error at /opt/ros/melodic/share/genmsg/cmake/genmsg-extras.cmake:271 (message):
  Could not find 'share/rospy/cmake/rospy-msg-paths.cmake' (searched in
  '/home/tanishq/ROS_Projects/mocha_ws/devel;/opt/ros/melodic').
Call Stack (most recent call first):
  action_pkg/CMakeLists.txt:72 (generate_messages)


-- Configuring incomplete, errors occurred!
See also "/home/tanishq/ROS_Projects/mocha_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/tanishq/ROS_Projects/mocha_ws/build/CMakeFiles/CMakeError.log".
Makefile:684: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
tanishq@tanishq-laptop-ubuntu:~/ROS_Projects/mocha_ws$
edit retag flag offensive close merge delete

Comments

Could you please add your CMakeLists.txt to your question? Use the edit button/link. Don't include all the boilerplate comments (ie: lines starting with #).

gvdhoorn gravatar image gvdhoorn  ( 2021-09-30 03:36:43 -0600 )edit