Building the Application
The
ipp_blur_rotate.cpp
sample code has been developed for Intel® IPP installed within Intel® Parallel Studio XE. You can use the provided code, except for the graphical rendering part, as a starting point for your application that can be built within other product suites like Intel® System Studio.
Setting Up the Build Environment
Before you invoke the compiler component of the suite that you installed with Intel® IPP, you must set certain environment variables that define the location of compiler-related components. The Intel® C++ Compiler includes the
compilervars
scripts that you can run to set environment variables:
- On Windows*, you can find thecompilervars.batbatch file at<install-dir>\compilers_and_libraries_<version>\windows\bin\
- On Linux OS* and macOS*, you can find thecompilervars.shshell script at<install-dir>\compilers_and_libraries_<version>\<linux|mac>\bin\
For more information about setting environment variables for different product suites, refer to
https://software.intel.com/en-us/articles/setting-up-the-build-environment-for-using-intel-c-or-fortran-compilers.
Compile and Link Your Code
To compile and link the code examples in this tutorial, do the following:
- On Windows*:
- Unzip theipp_blur_rotate_sample.ziparchive downloaded from the Intel® Software Product Samples and Tutorials website.
- Run the Microsoft* Visual Studio* command prompt and change the directory to theMakefilelocation. By default,Makefileis located in the root of theipp_blur_rotate_sample.ziparchive.
- Run thenmake -f Makefile_wincommand.
- On Linux* OS and macOS*:
- Unzip theipp_blur_rotate_sample.tgzarchive downloaded from the Intel® Software Product Samples and Tutorials website.
- Run the bash shell and change the directory to theMakefilelocation. By default,Makefileis located in the root of theipp_blur_rotate_sample.tgzarchive.
- Run themake -f Makefile_lincommand on Linux* OS andmake -f Makefile_macon macOS*.
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
- On macOS*:./ipp_blur_rotate.app/Contents/MacOS/ipp_blur_rotate