配置环境:
Windows10 系统
Visio studio 2017
64位程序代码
配置步骤:
1.下载armadillo
地址是:http://arma.sourceforge.net/download.html
我下载的是当时的最新版本armadillo-9.800.2.tar.xz
2.新版本不需要修改config.hpp项目
与其他教程不一样的地方。很多教程分享说,需要找到文件\include\armadillo_bits 中的config.hpp项目,注释掉ARMA_USE_LAPACK和ARMA_USE_BLAS的define,我打开了源文件,发现新版本已经将ARMA_USE_LAPACK和ARMA_USE_BLAS的define注释去掉了。