Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error LNK2019: unresolved external symbol when using vcpkg/Windows #111

Open
Danvil opened this issue Jan 20, 2024 · 2 comments
Open

error LNK2019: unresolved external symbol when using vcpkg/Windows #111

Danvil opened this issue Jan 20, 2024 · 2 comments
Labels

Comments

@Danvil
Copy link

Danvil commented Jan 20, 2024

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.

@termoshtt
Copy link
Member

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.

@Danvil
Copy link
Author

Danvil commented Feb 12, 2024

How do I have to configure vcpkg so that it finds a Fortran compiler?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants