Note
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 the
compilervars.bat batch file at
<install-dir>\compilers_and_libraries_2016.x.xxx\windows\bin\
- On Linux OS* and OS X*, you can find the
compilervars.sh shell script at
<install-dir>\compilers_and_libraries_2016.x.xxx\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 the
ipp_blur_rotate_sample.zip archive located in
<install-dir>\samples_2016\en\ipp\.
- 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
ipp_blur_rotate_sample.zip archive.
- Run the
nmake -f Makefile_win command.
- On Linux* OS and OS X*:
- Unzip the
ipp_blur_rotate_sample.tgz archive located in
<install-dir>/samples_2016/en/ipp/ipp_blur_rotate_sample.tgz.
- Run the bash shell and change the directory to the
Makefile location. By default,
Makefile is located in the
root of the
ipp_blur_rotate_sample.tgz archive.
- Run the
make -f Makefile_lin command on Linux* OS and
make -f Makefile_mac on OS X*.
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 OS X*:
./ipp_blur_rotate.app/Contents/MacOS/ipp_blur_rotate