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

Intel OneAPI Base Toolkit 2025.3 Visual Studio 2026 Integration error

Divyanshu1
Beginner
1,687 Views

My corporation is using Intel OneApi Mkl toolkit in one of our projects, VS 2026 professional is not able to read following header files:

- mkl_vsl_types.h
- mkl_dfti.h

- mkl_df.h

- mkl.h

- mkl_service.h

- mkl_vml.h

We are also using VS 2022 and it reads all header files perfectly, I am sharing screenshot of the error. Please provide solution for the same.

 
0 Kudos
2 Replies
danielbrown8998
1,600 Views

Issue occurs because Intel oneAPI Base Toolkit 2025.3 does not automatically integrate with Visual Studio 2026. As a result, Visual Studio cannot locate MKL header files like mkl.h, mkl_dfti.h, mkl_vml.h, etc.

Fix:

Add the MKL include path manually.

Project → Properties → C/C++ → General → Additional Include Directories

Add:
C:\Program Files (x86)\Intel\oneAPI\mkl\latest\include

Also add library path:

Project → Properties → Linker → General → Additional Library Directories

Add:
C:\Program Files (x86)\Intel\oneAPI\mkl\latest\lib\intel64

After adding these paths, Visual Studio 2026 should be able to detect all MKL header files.

Divyanshu1
Beginner
1,469 Views

It detected the mkl header files but now I am seeing linker errors, also 1 strange thing is my cpp project properties in VS 2026 doesnt show settings option for Intel performance libraries but in VS 2022 i see that..(Please see screenshot)

Linker errors are related to Convolution, FFT, Interpolation, LinearAlgebra, MatrixMath etc, all these object files - See screenshot

0 Kudos
Reply