Compiling and Linking Intel® IPP with Intel® C++ Compilers

Submit New Article

October 28, 2008 1:00 AM PDT


Using Intel ® Compiler 11.0 Professional Editions as sample

First, Intel C++ Compiler 11.0 Professional Edition integrated Intel® IPP library. After install Intel® C++ Compiler, Intel® IPP library are also installed in subfolder of C++ Compiler install directory.

Secondly, the Intel® C++ Compiler provides integration with Microsoft Visual C++ .NET 2003/2005/2008. In Microsoft Visual C++* environment, using Intel® C++ Compiler with Intel® IPP is similar as using Intel® IPP with Microsoft C++ Compiler. You can refer to Compiling and Linking with Microsoft Visual C++*

In Microsoft Visual C++* .NET environment, instead of providing settings at “Tools » Options » Projects » VC++ Directories“, you can choose to provide settings at “Tools » Options » Intel® C++” by the following steps:

1. Select View » Solution Explorer (and make sure this window is active)

IPP-ICL11-1.JPG

 2. Select Menu - Tools » Options » Intel® C++ » Intel® C++ 11.x

IPP-ICL11-2.JPG

3. In the “Includes” path, type in the directory for the Intel® IPP header files -for example, default is $(ICInstallDir)ipp\ia32\include
or C:\Program Files\Intel\IPP\6.X\ia32\include if you have intel® ipp standalone installed

IPP-ICL11-3.JPG
4. In the “Library” path, type in the directory for the Intel® IPP library files - for example, default is: $(ICInstallDir)ipp\ia32\stublib and $(ICInstallDir)ipp\ia32\lib or
C:\Program Files\Intel\IPP\6.x\ia32\stublib;C:\Program Files\Intel\IPP\6.x\ia32\lib

IPP-ICL11-4.JPG

5. In the “Library” path, type in the directory for the Intel® IPP executable files - for example, default is $(ICInstallDir)ipp\ia32\bin or C:\Program Files\Intel\IPP\6.X\ia32\bin).

IPP-ICL11-5.JPG

6. On the main toolbar select Project » Properties » Linker » Input and in the Additional Dependencies line, add the libraries you wish to link to (e.g. ipps.lib ippcore.lib or ippsemerged.lib, ippsmerged.lib,ippcorel.lib). Please refer to a document to find appropriate libraries for your application-"Intel® IPP Libraries Needed by your Application".

IPP-ICL11-6.JPG



Do you need more help?


This article applies to: Intel® Integrated Performance Primitives Knowledge Base