|
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
- Select View » Solution Explorer (and make sure this window is active).
- Select Tools » Options » Projects » VC++ Directories.
- 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).
- 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).
- 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).
- 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:
- Select Project » Settings.
- Select the Link tab.
- In the Category drop-down menu, select Input.
- 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.
- 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:
|