问题描述
Could not find a package configuration file provided by “geographic_msgs”
with any of the following names:
geographic_msgsConfig.cmake
geographic_msgs-config.cmake
Add the installation prefix of “geographic_msgs” to CMAKE_PREFIX_PATH or
set “geographic_msgs_DIR” to a directory containing one of the above files.
If “geographic_msgs” provides a separate development package or SDK, be
sure it has been installed.
解决方法
安装依赖库文件
sudo apt-get install ros-foxy-geographic-msgs
sudo apt-get install ros-[对应ros版本]-geographic-msgs
查看ros版本
rosversion -d