[문제 해결] CMake Error at/opt/ros/melodic/catkin...Could not find a package..by ackermann_msgs

1968 단어 삽입식
이 블로그의 운영 환경은 Ubuntu 18.04입니다.
오늘 ROS 작업 영역 아래에서 컴파일할 때 다음과 같은 오류가 발생했습니다. – Could NOT find ackermann_msgs (missing: ackermann_msgs_DIR) – Could not find the required component ‘ackermann_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/melodic/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "ackermann_msgs"with any of the following names: ackermann_msgsConfig.cmake ackermann_msgs-config.cmake
Add the installation prefix of “ackermann_msgs” to CMAKE_PREFIX_PATH or set “ackermann_msgs_DIR” to a directory containing one of the above files. If “ackermann_msgs” provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): racecar_simulator-master/CMakeLists.txt:43 (find_package)
– Configuring incomplete, errors occurred! See also “/home/hadoop/catkin_wsild/CMakeFiles/CMakeOutput.log”. See also “/home/hadoop/catkin_wsild/CMakeFiles/CMakeError.log”. Invoking “cmake” failed

솔루션


설치 내용: ros-melodic-tf2-geometry-msgs ros-melodic-ackermann-msgs ros-melodic-joy ros-melodic-map-server
다음 명령을 사용합니다.
sudo apt-get install ros-melodic-tf2-geometry-msgs ros-melodic-ackermann-msgs ros-melodic-joy ros-melodic-map-server

설치가 끝난 후에 다시 돌아가서 번역하면 된다.

좋은 웹페이지 즐겨찾기