Could not find a package configuration file provided by “libcaer“(DAVIS to ROS)

在运行catkin如下代码段时:

catkin build davis_ros_driver

出现了错误:

Could not find a package configuration file provided by "libcaer" with any
  of the following names:

    libcaerConfig.cmake
    libcaer-config.cmake

截图如下:

 用网上的解决办法都不行!!!(这是一个ros外的库)经过两天的试验,根据错误后面给出的解决办法,我把 libcaerConfig.cmake的路径添加到了CMakeLists.txt文件中,即下图的第六行:

 参考:OpenCV中CMakeLists.txt:“OpenCV“ to CMAKE_PREFIX_PATH_CSS360的博客-CSDN博客

猜你喜欢

转载自blog.csdn.net/weixin_44570845/article/details/121659605