Ubuntu18.04 两种方式安装eigen3

it2022-05-24  75

1.源码安装: sudo apt-get install libeigen3-dev 1 若出错则需要更换源 参考:Ubuntu学习系列——添加源

2.官网下载本地安装 #github 有个mirror,版本3.3.4 from 2017 git clone https://github.com/eigenteam/eigen-git-mirror

#安装 cd eigen-git-mirror mkdir build cd build cmake .. sudo make install

#安装后,头文件安装在/usr/local/include/eigen3/ 1 2 3 4 5 6 7 8 9 10 11 笔者建议采用源码安装 ---------------------  作者:dont quit  来源:  原文:https://blog.csdn.net/weixin_44354586/article/details/89396357  版权声明:本文为博主原创文章,转载请附上博文链接!


最新回复(0)