Building Intel® IPP 7.1 Samples

The build process for Intel® IPP samples has recieved a major upgrade. Instead of install scripts the process is automated with cmake*. There are several advantages to cmake, including

  • Automatic generation of build files across all permutations of samples, operating systems, architectures, IDE versions, static/dynamic linkage, single/multithreaded functions, and debug/release.
  • Configuration files are cross platform, simplifying maintenance of consistent behavior across all operating systems that Intel® IPP supports.
  • Build files can be created for a wide variety of IDEs including modern versions of Microsoft* Visual Studio, Xcode*, and Eclipse*.
  • Build files are created specifically for your environment, so no messy conversions.

 

Build System Requirements

  • CMake* 2.8.8. Download from http://www.cmake.org/.
  • Perl 5.12.2.
    • For Linux*/OS X*: a suitable perl is probably already in your environment. Otherwise, please update to the latest version.
    • For Windows*: validated with the community edition of ActiveState* perl. Other implementations such as Strawberry* perl are also expected to work.
  • To build the picnic application you must download and install the Nokia* Qt* GUI library appropriate for your OS from www.qtsoftware.com

Using the Intel® IPP 7.1 Sample Build System

A few initial steps are required:

  • In Windows*, open a command shell window. In Linux*/OS X* open a terminal.
  • Make sure all environment variables are set by running the ippvars or compilervars script.

Type perl build.pl for more information:

Copyright (c) 2012 Intel Corporation. All rights reserved.
This script performs Intel(R) IPP Samples projects creation and build.

Usage: perl build.pl --cmake=SAMPLE,ARCH,GENERATOR,LINKAGE,THREADING,CONFIG [--clean] [--build] [--msdk] [--comp=native/intel]
Required variants:

SAMPLE

ARCH

GENERATOR

LINKAGE

THREADING

CONFIG

advanced-usage

audio-video-codecs

computer-vision

vc2012

data-compression

vc2010

image-codecs

vc2008

image-processing

ia32

nmake

s =static

st =single

debug

language-interface

intel64

make

d =dynamic

mt =multi

release

signal-processing

eclipse

speech-codecs

xcode

string-processing

uic

Optional flags:

--clean - clean build directory before projects generation / build
--build - try to build projects before generation
--comp - try to use custom compiler, native(=gcc/cl.exe) or intel(=icc/icl.exe). Need to call environment!


Examples:

perl build.pl --cmake=audio-video-codecs,ia32,vc2010,s,st,release [only generate projects]
perl build.pl --cmake=uic,intel64,make,s,mt,debug --build [generate and then build]
perl build.pl --cmake=uic,intel64,make,d,mt,debug --build --clean [generate, clean and build]

For more complete information about compiler optimizations, see our Optimization Notice.

Comments


Hi,

Hi,

I am trying to build the examples for IPP 8 on linux. But the build.pl file is missing.

I extracted the archived examples to my home directory and get in sources directory and call "cmake .".

I got something like this:

include can not find load file

buildfunctions

and append command is not recognized.

My computer is offline that's why I can not copy/paste the results.

lines 35, 126 of buildsettings.cmake are the sources of errors.

 

I use cmake 2.8.12.2

I also manage to obtain the ipptest executable from the ipptest.cpp example given in the documentation. I am sure that the bash variables for IPP are correct.

 

Can you help me in building the examples of IPP 8.

 

Thanks in advance.

 

Burak



Hi Munish,

Hi Munish,

Could you pease post your question to IPP forum, where some developer will help you.

http://software.intel.com/en-us/forums/intel-integrated-performance-primitives

@ Nilesh,
The cryptography is not availible in ipp-sample 7.1.1.013 package. They are in http://software.intel.com/en-us/articles/intel-ipp-71-other-legacy-samples

Thanks
Ying


Hi,

Hi,

I have downloaded ipp-samples.7.1.1.013 and trying to build it using above mentioned 'cryptography' option. But it fails with below error. Is the 'cryptography' option removed now? Is there some other way I can get the cryptography-samples version 7.1?

# perl build.pl --cmake=cryptography,intel64,make,s,mt,release
ERROR: invalid configuration! Please call script without argument for usage.

--
Regards,
Nilesh


Hi Jeff, I am trying to build

Hi Jeff, I am trying to build using the build process mentioned above, but I am getting the following error:

Build command: perl build.pl --cmake=audio-video-codecs,ia32,vc2010,s,st,release

Error: Not searching for unused variables given on the command line.
CMake Error: The source directory "E:/Software/Intel/Intel IPP/w_ipp-samples_p_7.1.0.011/__cmake/audio-video-codecs.ia32.vc2010.s.st/IPP/w_ipp-samples_p_7.1.0.011/sources/audio-video-codecs" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.

Please help me in building. I want to use VS2010 IDE for working with IPP.