问题描述:编译chapter3_tutorials工作包时出现如下报错:
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- chapter2_tutorials: 1 messages, 1 services
-- +++ processing catkin package: 'chapter3_tutorials'
-- ==> add_subdirectory(chapter3_tutorials)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Could NOT find driver_base (missing: driver_base_DIR)
-- Could not find the required component 'driver_base'. 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 "driver_base" with
any of the following names:
driver_baseConfig.cmake
driver_base-config.cmake
Add the installation prefix of "driver_base" to CMAKE_PREFIX_PAT