Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6677 Discussions

Unresolved External Problems with LAPACKE Functions in Visual Studio 2020 C++

CraigP
Beginner
213 Views

I'm using C++ in Visual Studio 2022.

I installed the MKL oneAPI libraries and rebuilt my application. I'm getting these messages from the linker. 


Can you tell which library file contains these functions and where I can find it in the oneAPI folders.

error LNK2019: unresolved external symbol _LAPACKE_dgeev referenced in function
error LNK2019: unresolved external symbol _LAPACKE_dgetrf referenced in function
error LNK2019: unresolved external symbol _LAPACKE_dgetrs referenced in function
error LNK2019: unresolved external symbol _LAPACKE_dpotrf referenced in function
error LNK2019: unresolved external symbol _LAPACKE_dpotrs referenced in function

Thank you for your help.
Craig

0 Kudos
3 Replies
Gennady_F_Intel
Moderator
203 Views

Craig,

you might check MKL Linker Adviser to see which mkl's libraries are recommended for your case

Gennady_F_Intel
Moderator
179 Views

Are there any updates on this matter?


Gennady_F_Intel
Moderator
162 Views

The thread is closing and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.



Reply