Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How do you build OpenCV with LAPACK on Windows 10 via CMake?

Hello,

I've been having trouble getting CMake to cooperate when telling it to build with LAPACK on Windows 10.

I've tried downloading the prebuilt files from LAPACK for Windows.

I downloaded the files that correspond to version 3.7.0 that are supposedly for the Intel compilers, which I have.

However, I am unsure what files I am supposed to point CMake to. To the DLLs or the LIBs?

I followed some advice from here that says to install OpenBLAS, which I did via vcpkg. I pointed CMake to the appropriate file and location but I receive a complaint from CMake:

can't build lapack check code. this lapack version is not supported.

This happens with the prebuilt libraries as well as libraries built from scratch, which I did using the Intel C and Fortran compilers and instructions from the LAPACK for Windows website mentioned above (which is version 3.8.0).

Maybe the new OpenBLAS doesn't work with this version? What do I need; BLAS or OpenBLAS? What do I point to? Here are my missing fields so far:

image description

I have decided not to point CMake to the OpenBLAS file and location but it is still installed.

Any help would be appreciated.

How do you build OpenCV with LAPACK on Windows 10 via CMake?

Hello,

I've been having trouble getting CMake to cooperate when telling it to build with LAPACK on Windows 10.

I've tried downloading the prebuilt files from LAPACK for Windows.

I downloaded the files that correspond to version 3.7.0 that are supposedly for the Intel compilers, which I have.

However, I am unsure what files I am supposed to point CMake to. To the DLLs or the LIBs?

I followed some advice from here that says to install OpenBLAS, which I did via vcpkg. I pointed CMake to the appropriate file and location but I receive a complaint from CMake:

can't build lapack check code. this lapack version is not supported.

This happens with the prebuilt libraries as well as libraries built from scratch, which I did using the Intel C and Fortran compilers and instructions from the LAPACK for Windows website mentioned above (which is version 3.8.0).

Maybe the new OpenBLAS doesn't work with this version? What do I need; BLAS or OpenBLAS? What do I point to? Here are my missing fields so far:

image description

I have decided not to point CMake to the OpenBLAS file and location but it is still installed.

Any help would be appreciated.