Problem with actionlib_msgs
Hello, I installed ROS noetic on my raspberry pi,then I created a Catkin workplace and after that I cloned a repository from github. git clone -b ros-noetic https://github.com/aniskoubaa/ros_ess... then I ran the two following commands as below:
pi@raspberrypi:~ $ cd catkin_ws/
pi@raspberrypi:~/catkin_ws $ catkin_make
Base path: /home/pi/catkin_ws
Source space: /home/pi/catkin_ws/src
Build space: /home/pi/catkin_ws/build
Devel space: /home/pi/catkin_ws/devel
Install space: /home/pi/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/pi/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/pi/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/pi/catkin_ws/devel;/opt/ros/noetic
-- This workspace overlays: /home/pi/catkin_ws/devel;/opt/ros/noetic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/lib/python3/dist-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/pi/catkin_ws/build/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- 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/python3 (found version "3.7.3")
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - ros_essentials_cpp
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'ros_essentials_cpp'
-- ==> add_subdirectory(ros_essentials_cpp)
-- Could NOT find actionlib_msgs (missing: actionlib_msgs_DIR)
-- Could not find the required component 'actionlib_msgs'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "actionlib_msgs"
with any of the following names:
actionlib_msgsConfig.cmake
actionlib_msgs-config.cmake
Add the installation prefix of "actionlib_msgs" to CMAKE_PREFIX_PATH or set
"actionlib_msgs_DIR" to a directory containing one of the above files. If
"actionlib_msgs" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
ros_essentials_cpp/CMakeLists.txt:5 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/pi/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/pi/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [Makefile:320: cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
Do you know how I can solve the problem?
Thanks
Hi @sm75, you are missing
actionlib_msgs
package. You can install:sudo apt install ros-noetic-actionlib-msgs
then you can compile again.I ran what you said: pi@raspberrypi:~ $ cd catkin_ws/ pi@raspberrypi:~/catkin_ws $ sudo apt install ros-noetic-actionlib-msgs Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package ros-noetic-actionlib-msgs pi@raspberrypi:~/catkin_ws $ cd opt/ros/noetic/share/catkin/cmake bash: cd: opt/ros/noetic/share/catkin/cmake: No such file or directory pi@raspberrypi:~/catkin_ws $ cd /opt/ros/noetic/share/catkin/cmake pi@raspberrypi:/opt/ros/noetic/share/catkin/cmake $ sudo apt install ros-noetic-actionlib-msgs Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package ros-noetic-actionlib-msgs pi@raspberrypi:/opt/ros/noetic/share/catkin/cmake $
any idea?
Regards,
Try to build from source then: https://github.com/ros/common_msgs
or maybe
sudo apt install ros-noetic-common-msgs
asactionlib-msgs
are includedHow to build it from that source?I am not professional in linux.
Check this tutorial: http://wiki.ros.org/ROS/Tutorials/Bui...