openblas-src
openblas-src copied to clipboard
`error LNK2019: unresolved external symbol` when using `vcpkg`/Windows
When I followed the instructions to install openblas with vcpkg it produces a DLL which is about 1.7 MB and misses most of the functions. For example dgetrf_
, sgetrf_
and many other are missing. This leads to linker errors with ndarray-linalg
. See this issue for more information .
When I download the binary package from the OpenBLAS github I get a DLL which is about 50 MB. If I replace the DLL compiled via vcpkg with the downloaded one linking is successful and it works.
This is mainly due to the OpenBLAS does not compile most of LAPACK functions except for rewritten by OpenBLAS project if Fortran compiler not found.
How do I have to configure vcpkg so that it finds a Fortran compiler?