Search
Support & Downloads
All of Support
This Category
This Product
Software Products
Intel® Math Kernel Library (Intel® MKL) for Windows*
Compiling and Linking with Microsoft* Visual C/C++*

The following provides hints for linking your program with Intel® MKL from the Microsoft* Visual C/C++*:

Intel® MKL 9.0 with Microsoft* Visual C++* .NET 2003 or Microsoft* Visual C++* 2005

  1. Select View » Solution Explorer (and make sure this window is active).
  2. Select Tools » Options » Projects » VC++ Directories.
  3. In the drop down menu titled Show directories for:, select Include Files, and then type in the directory for the Intel MKL include files (e.g. default: C:\Program Files\Intel\MKL\9.0\include).
  4. In the drop down menu titled Show directories for:, select Library Files, and then type in the directory for the Intel MKL library files (e.g. default: C:\Program Files\Intel\MKL\9.0\ia32\lib).
  5. In the drop down menu titled Show directories for:, select Executable Files, and then type in the directory for the Intel MKL executable files (e.g. default: C:\Program Files\Intel\MKL\9.0\ia32\bin).
  6. On the main toolbar select Project » Properties » Configuration Properties » Linker » Input and in the "Additional Dependencies" line, add the libraries you require (e.g. mkl_c.lib).

Intel® MKL 8.1 with Microsoft* Visual C++* 6.0

In Project Settings, add the location (path) of Intel MKL sub-library in the link properties, for example, in Microsoft Visual Studio/Microsoft Visual C++ 6.0 with Intel MKL 8.1:

  1. Select Project » Settings.
  2. Select the Link tab.
  3. In the Category drop-down menu, select Input.
  4. In the Object/library modules section add mkl_c.lib or mkl_s.lib
    • Note: If you need LAPACK support you must also add mkl_lapack library.
  5. You must also add the library path to the location of these libraries. In the Additional library path section, add the location of the Intel MKL sub-libraries. For example, on an IA32 system, you would add C:\Program Files\intel\MKL\8.1\ia32\lib (for the default install location).

This applies to:
Intel® Math Kernel Library (Intel® MKL) for Windows*

Solution ID: CS-017282
Date Created: 22-Nov-2004
Last Modified: 06-Mar-2007
Back to Top