我刚刚下载了最新版本的ArrayFire(3.3.1),我正在尝试构建它。我虽然坚持cmake .
。我安装了一堆丢失的库,重新编写它,现在我得到了:
-- Could NOT find LAPACK (missing: LAPACK_LIBRARIES) CMake Warning at src/backend/opencl/CMakeLists.txt:38 (MESSAGE): LAPACK not found. Functionality will be disabled
和
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GLEWmxd_LIBRARY linked by target "afcpu" in directory /home/joeuser/src/arrayfire-full-3.3.1/src/backend/cpu linked by target "afcuda" in directory /home/joeuser/src/arrayfire-full-3.3.1/src/backend/cuda linked by target "afopencl" in directory /home/joeuser/src/arrayfire-full-3.3.1/src/backend/opencl
我已经安装了lapack,它位于/usr/lib/liblapack.so(这是一个替代符号链接,但它没有被破坏)。还安装了lapacke。
答案 0 :(得分:2)
ArrayFire需要LAPACKE库(在Ubuntu上,liblapacke-dev,图形部分需要GLEW-MX(在Ubuntu上,libglewmx-dev)。