您的位置:首页 > 编程语言 > Go语言

安装goolge cartographer提示无法找到Eigen3的解决办法之一

2017-06-27 09:15 901 查看
原链接:http://community.bwbot.org/topic/135

cartographer安装步骤一般为

cd cartographer
mkdir build
cd build
cmake ..
make  -j
sudo make install


执行cmake ..时如果提示如下错误

CMake Error at CMakeLists.txt:32 (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


如果系统确实已经安装过Eigen3 (sudo apt-get install libeigen3-dev),请点击下载本文件 ,然后放入cartographer源码目录下的cmake文件夹内的modules内,例如/home/xiaoqiang/Documents/cartographer/cmake/modules

现在再次执行cmake .. 问题应该已解决
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  cmake eigen
相关文章推荐