我正在通过CMAKE 3.10.1
使用MinGW
配置项目。我也从源代码安装BLAS
(使用CMAKE编译)。我有两个DLL
个文件。 libblas.dll
和liblapack.dll
。我发现只有BLAS_blas_LIBRARY
指向C:/Windows/System32/libblas.dll
。其他人没有。例如:
BLAS_Accelerate_LIBRARY-NOTFOUND
BLAS_acml_LIBRARY-NOTFOUND
BLAS_acml_mp_LIBRARY-NOTFOUND
BLAS_complib.sgimath_LIBRARY-NOTFOUND
BLAS_cxml_LIBRARY-NOTFOUND
BLAS_dxml_LIBRARY-NOTFOUND
BLAS_essl_LIBRARY-NOTFOUND
BLAS_f77blas_LIBRARY-NOTFOUND
BLAS_goto2_LIBRARY-NOTFOUND
BLAS_mkl_intel_c_dll_LIBRARY-NOTFOUND
BLAS_mkl_intel_lp64_dll_LIBRARY-NOTFOUND
BLAS_openblas_LIBRARY-NOTFOUND
BLAS_scsl_LIBRARY-NOTFOUND
BLAS_sgemm_LIBRARY-NOTFOUND
BLAS_sunperf_LIBRARY-NOTFOUND
BLAS_vecLib_LIBRARY-NOTFOUND
仅
BLAS_blas_LIBRARY C:/Windows/System32/libblas.dll
CMake因此错误停止:
CMake Error at C:/Program Files/CMake/share/cmake-3.10/Modules/FindBLAS.cmake:699 (message):
A required library with BLAS API not found. Please specify library
location.
Call Stack (most recent call first):
CMakeLists.txt:155 (FIND_PACKAGE)
所以我应该分别安装所有这些DLL
(我搜索和搜索了很多,没有集成)或者有一个完整的BLAS
包?或者问题是其他的。< / p>
这里是: my Cmake snapshot
这里是: all my instruction