I wanted to try Intel Integrated Performance Primitives (IPP) with OpenCV. I installed IPP with these steps:
Intel IPP can be downloaded from here. If you are using it for non-commercial purposes, you can get it for free through Intel's Non-Commercial Software Development webpage. You need to register with an email address. You will be sent an email with the download link and a registration key.
Download the Intel IPP version you want, beware that its a huge download. I downloaded Intel IPP 7.1, which ships as a 777MB
Unzip the downloaded
.tgz file. Run the
install.sh file. You will be asked to enter your registration key.
The installer walks you through the steps of installing IPP. I was asked to install the
gcc-multilib package, before I could proceed. So, I did:
$ sudo apt-get install gcc-multilib
By default, the IPP files are installed to
ippvars.shscript, which is in the
/opt/intel/ipp/bindirectory. It sets the following environment variables:
LD_LIBRARY_PATH. This script failed to work for me. So, I set those manually in my
# My .bashrc export IPPROOT=/opt/intel/composer_xe_2013.1.117/ipp export LIBRARY_PATH=$LIBRARY_PATH:/opt/intel/composer_xe_2013.1.117/ipp/lib/intel64:/opt/intel/composer_xe_2013.1.117/compiler/lib/intel64 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/composer_xe_2013.1.117/ipp/lib/intel64:/opt/intel/composer_xe_2013.1.117/compiler/lib/intel64
After this, I was able to use Intel IPP to compile OpenCV successfully as explained here.
Tried with: Intel IPP 7.1 and Ubuntu 12.04 LTS