怎么解决这个问题:> [CMake] CMake Error at D:\downloads\s-msckf_-noted-master\CMakeLists.txt:12 (find_package): 1> [CMake] By not providing "Findcatkin.cmake" in CMAKE_MODULE_PATH this project has 1> [CMake] asked CMake to find a package configuration file provided by "catkin", but 1> [CMake] CMake did not find one. 1> [CMake] 1> [CMake] Could not find a package configuration file provided by "catkin" with any 1> [CMake] of the following names: 1> [CMake] 1> [CMake] catkinConfig.cmake 1> [CMake] catkin-config.cmake 1> [CMake] 1> [CMake] Add the installation prefix of "catkin" to CMAKE_PREFIX_PATH or set 1> [CMake] "catkin_DIR" to a directory containing one of the above files. If "catkin" 1> [CMake] provides a separate development package or SDK, be sure it has been 1> [CMake] installed.
时间: 2024-04-18 11:24:39 浏览: 135
cmake-3.30.1-windows-x86_64.zip
5星 · 资源好评率100%
这个问题是由于在CMakeLists.txt文件中找不到"catkin"的包配置文件引起的。解决这个问题的方法是将"catkin"的安装路径添加到CMAKE_PREFIX_PATH变量中,或者设置"catkin_DIR"为包含上述文件之一的目录。如果"catkin"提供了单独的开发包或SDK,请确保已经安装了该包。
阅读全文