C++ Armadillo 与 ATLAS/LAPACK 的联系

C++ Armadillo's connection with ATLAS/LAPACK

我是 运行 一些使用犰狳的 C++ 代码, 我手动将犰狳下载到同一个文件夹中。

而 运行 我得到的代码:

       error: inv(): use of ATLAS or LAPACK needs to be enabled

犰狳和这些图书馆有什么关系?

我搜索了 google,但没有找到好的解决方案或方法来加载这些库中的任何一个。

我正在使用 kali linux 2.0

A​​rmadillo 主要是 LAPACK 或 ATLAS Armadillo webpage with explanation of what it is 等低级线性代数库的 C++ 包装器。由于它是一个包装器,因此您需要包装一些东西,即安装 LAPACK 等。相关安装说明(README.txt):

On Linux systems it is recommended that the following libraries are present: LAPACK, BLAS, ARPACK, SuperLU and ATLAS. LAPACK and BLAS are the most important. It is also necessary to install the corresponding development files for each library. For example, when installing the "lapack" package, also install the "lapack-devel" or "lapack-dev" package.

我强烈建议阅读整个自述文件。

LAPACK 是一个相当流行的库,因此它应该在您的包存储库中。