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

cannot open file 'mkl_intel_c_dll.lib'

k_t2
Beginner
500 Views

I am currently using Visual Studio 2022 with oneAPI 2024 toolkit for c++ compilation. When running the code, I get the error, "Fatal error LNK1104: cannot open file 'mkl_intel_c_dll.lib" and message, "The oneMKLLibDir variable could not be expanded. The corresponding Intel(R) oneMKL version is not installed or the registry information may be incorrect."

The oneAPI base and HPC toolkit are fully installed.

From my research, it appears that the mkl_intel_c_dll.lib is not present in the 2024 version.

How can I run it without throwing an error?

0 Kudos
1 Reply
Gennady_F_Intel
Moderator
404 Views

it seems you link against 32 bit of MKL which is not installed by default. You need to get and install 32-bits MKL's package separately. The same topics were discussed into MKL Forum many times in the past.

E.x - https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/is-there-a-32-bit-version-of-the-2024-MKL-library/m-p/1546955#M35489



0 Kudos
Reply