Tutorial: Image Blurring and Rotation with Intel® Integrated Performance Primitives

ID 751830
Date 6/30/2025
Public

Building the Application

NOTE:
The ipp_blur_rotate.cpp sample code has been developed for Intel® Integrated Performance Primitives (Intel® IPP). Intel® IPP can be installed as a standalone package or as a component in the oneAPI package.

Set Up the Build Environment

Before running the tutorial, the environment variables should be initialized. If the standalone Intel IPP installation is used, refer to the Setting Environment Variables page of the Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference for more information. If working on Windows*, initialize the Microsoft* Visual Studio* environment to use the Microsoft Visual Studio C++ (MSVC)* compiler. On Linux*, use the system compiler. If the oneAPI installation is used, refer to the Use the setvars and oneapi-vars Scripts with Linux* or the Use the setvars and oneapi-vars Scripts with Windows* page of the Intel® oneAPI Programming Guide.

Compile and Link Your Code

To compile and link the code examples in this tutorial, do the following:

  • On Windows:
    1. Unzip the archive downloaded from the Intel IPP installation (<ipp_install_dir>/share/doc/ipp/components_and_examples_win.zip) and open the tutorials folder.
    2. Run the Microsoft Visual Studio command prompt and change the directory to the Makefile location. By default, Makefile is located in the root of the archive.
    3. Run the nmake -f Makefile_win command.
  • On Linux:
    1. Unzip the archive downloaded from the Intel IPP installation (<ipp_install_dir>/share/doc/ipp/components_and_examples_lin.tgz) and open the tutorials folder.
    2. Run the bash shell and change the directory to the Makefile location. By default, Makefile is located in the root of the archive.
    3. Run the make -f Makefile_lin command.

To run the application, run the following command from the directory where Makefile resides:

  • On Windows: ipp_blur_rotate.exe
  • On Linux: ./ipp_blur_rotate