Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
7293 ディスカッション

Intel OneAPI Base Toolkit 2025.3 Visual Studio 2026 Integration error

Divyanshu1
ビギナー
2,219件の閲覧回数

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 件の賞賛
2 返答(返信)
danielbrown8998
初心者
2,132件の閲覧回数

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
ビギナー
2,001件の閲覧回数

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

返信