Xavier入门教程软件篇-升级为Eigen3.3.7
Xavier入门教程软件篇-升级为Eigen3.3.7
说明:
- 介绍如何升级为Eigen3.3.7
步骤:
- 查看目前版本
vim /usr/include/eigen3/Eigen/src/Core/util/Macros.h
#define EIGEN_WORLD_VERSION 3
#define EIGEN_MAJOR_VERSION 3
#define EIGEN_MINOR_VERSION 4
- 即为版本3.3.4
- 下载Eigen3.3.7
mkdir ~/eigen
cd ~/eigen
wget http://bitbucket.org/eigen/eigen/get/3.3.7.tar.gz
tar zxvf 3.3.7.tar.gz
- 得到eigen-eigen-323c052e1731目录
- 先备份
sudo mv /usr/include/eigen3 ~/eigen3.old
- 移动位置
sudo mv ~/eigen/eigen-eigen-323c052e1731 /usr/include/eigen3
- 兼容处理
sudo cp -r /usr/include/eigen3/Eigen /usr/include
sudo ln -s /usr/include/eigen3 /usr/local/include/eigen3
sudo ln -s /usr/include/eigen3/Eigen /usr/local/include/Eigen
- 验证
locate eigen3
获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号