CMake Error (find_package):Could not find a package configuration

ros cmakelists 报错

Could not find a package configuration file provided by “******” with any of the following names:

****Config.cmake
****config.cmake

Add the installation prefix of “hark_msgs” to CMAKE_PREFIX_PATH or set
“hark_msgs_DIR” to a directory containing one of the above files. If
“hark_msgs” provides a separate development package or SDK, be sure it has
been installed

sudo apt install ros-kinetic-hark-msgs

上述例子仅供参考,缺什么加什么,注意包的下划线改为连字符

你可能感兴趣的:(日常使用类)