[rospack] Error: package ‘learning_communication‘ not found

出现问题:

[rospack] Error: package 'learning_communication' not found

yf@yf:~/Alltest/catkin_ws/src$ rosrun learning_communication talker
[rospack] Error: package 'learning_communication' not found

在最后运行时,出现error: package ‘***’ not found错误

       解决方法:source devel/setup.bash

mymymy@raspberrypi:~/catkin_ws$ catkin_make Base path: /home/mymymy/catkin_ws Source space: /home/mymymy/catkin_ws/src Build space: /home/mymymy/catkin_ws/build Devel space: /home/mymymy/catkin_ws/devel Install space: /home/mymymy/catkin_ws/install #### #### Running command: "make cmake_check_build_system" in "/home/mymymy/catkin_ws/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/mymymy/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /home/mymymy/catkin_ws/devel;/opt/ros/noetic -- This workspace overlays: /home/mymymy/catkin_ws/devel;/opt/ros/noetic -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", 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/mymymy/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.8.10") -- Using Python nosetests: /usr/bin/nosetests3 -- catkin 0.8.12 -- BUILD_SHARED_LIBS is on -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 4 packages in topological order: -- ~~ - learning_communication1 -- ~~ - livox_ros_driver2 -- ~~ - point_lio -- ~~ - learning_tf -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'learning_communication1' -- ==> add_subdirectory(learning_communication1) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- learning_communication1: 1 messages, 1 services -- +++ processing catkin package: 'livox_ros_driver2' -- ==> add_subdirectory(livox_ros_driver2/livox_ros_driver2) -- livox_ros_driver2 version: 1.2.4 CMake Error at livox_ros_driver2/livox_ros_driver2/CMakeLists.txt:224 (find_package): By not providing "Findament_cmake_auto.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "ament_cmake_auto", but CMake did not find one. Could not find a package configuration file provided by "ament_cmake_auto" with any of the following names: ament_cmake_autoConfig.cmake ament_cmake_auto-config.cmake Add the installation prefix of "ament_cmake_auto" to CMAKE_PREFIX_PATH or set "ament_cmake_auto_DIR" to a directory containing one of the above files. If "ament_cmake_auto" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! See also "/home/mymymy/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/mymymy/catkin_ws/build/CMakeFiles/CMakeError.log". make: *** [Makefile:1356:cmake_check_build_system] 错误 1 Invoking "make cmake_check_build_system" failed mymymy@raspberrypi:~/catkin_ws$
07-21
Base path: /home/u20ros/catkin_ws Source space: /home/u20ros/catkin_ws/src Build space: /home/u20ros/catkin_ws/build Devel space: /home/u20ros/catkin_ws/devel Install space: /home/u20ros/catkin_ws/install #### #### Running command: "make cmake_check_build_system" in "/home/u20ros/catkin_ws/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/u20ros/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/noetic -- This workspace overlays: /opt/ros/noetic -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", 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/u20ros/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.8.10") -- 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: -- ~~ - learning_communication -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'learning_communication' -- ==> add_subdirectory(learning_communication) -- Could NOT find std_msgsrospy (missing: std_msgsrospy_DIR) -- Could not find the required component 'std_msgsrospy'. 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 "std_msgsrospy" with any of the following names: std_msgsro
06-29
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值