Armadillo installation

尹钱青
2023-12-01

1.dependencies

sudo apt-get install libopenblas-dev
sudo apt-get install liblapack-dev
sudo apt-get install libarpack2-dev
sudo apt-get install libsuperlu-dev

2.download Armadillo

https://gitlab.com/conradsnicta/armadillo-code

3.combile and install

cmake .

make

sudo make install

然后就编译一下他的example

g++ example1.cpp -o example1 -O2 -larmadillo

转载于:https://www.cnblogs.com/gary-guo/p/9263101.html

 类似资料:

相关阅读

相关文章

相关问答