CMake Error: not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH
来源:互联网 发布:linux中的pwd命令 编辑:程序博客网 时间:2024/06/01 14:10
编译VINS-Mono (catkin_make
)的时候,出现了这个错误,具体的错误如下:
CMake Error at VINS-Mono/vins_estimator/CMakeLists.txt:26 (find_package): By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Eigen3", but CMake did not find one. Could not find a package configuration file provided by "Eigen3" with any of the following names: Eigen3Config.cmake eigen3-config.cmake Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set "Eigen3_DIR" to a directory containing one of the above files. If "Eigen3" provides a separate development package or SDK, be sure it has been installed.
百度了一下,找到一个解决方法,链接:
FindEigen3.cmake缺失解决办法
根据这个答案,以及查看对应工程的CMakeLists.txt文件,发现里面定义了CMAKE_MODULE_PATH但是没有相应的文件夹和文件,所以我搜索了一个FindEigen3.cmake文件放在一个新建的cmake文件夹里,然后放到工程目录下面,就搞定了。
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)find_package(Eigen3 REQUIRED)
ar_demo, benchmark_publisher, feature_tracker, vins_estimator 这四个工程都有这个问题,将带FindEiegn3.cmake文件的cmake文件夹复制到这四个文件夹就解决了,然后继续编译,没问题。
阅读全文
0 0
- CMake Error: not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH
- Ubuntu14.04 :By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH
- Ubuntu 安装QT5 后编译程序报错: "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project has asked CMake t
- CMake Error: CMake can not determine linker language for target
- cmake error
- CMAKE error
- CMake Error at cmake/readline.cmake:83(MESSAGE):Curses library not found.
- cmake安装mysql出错 ---CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installe
- CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modul
- CMake Error: cmake_symlink_library: System Error: Operation not supported
- cmake
- cMAKE
- cmake
- CMake
- Cmake
- cmake
- cmake
- CMake
- (10)映射继承关系一之继承关系都映射在一张表中(@Inheritance(strategy=InheritanceType.SINGLE_TABLE))
- ios-音乐播放器的简单实现
- Python模块matlotlib之pylot.plot()
- Qt编写自定义控件及插件的使用
- 全局作用域,局部作用域,语句作用域,类作用域,命名作用域和文件作用域(转载)
- CMake Error: not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH
- 这可能是最好的RxJava 2.x 教程(完结版)
- UVA 10106 Product (高精度乘法)
- VS2013+opencv3.0+QT5.7编译ok但是运行产生0xc000007b错误的解决方法
- DML与DDL
- unity蒙皮网格的换装实现
- php.ini中配置错误信息/笔记
- 模糊查询某个字段除以100去查询,处理特殊字符和0值
- Git简单使用