I'm trying to compile opencv 2.4.5 on Ubuntu (12.10) with TBB and IPP 7.1. I'm using cmake to configure the makefiles, with this command:
cmake -D WITH_TBB=ON -D WITH_IPP=ON ../opencv-2.4.5
Having previosly set the IPPROOT variable:
setenv IPPROOT=/opt/intel/ipp/
(The documentation states USE_IPP instead WITH_IPP, but this is incorrect as CMake prints out that it disregards the switch.) The cmake utility seems to recognize the IPP libraries and prints out:
...
-- found IPP: 7.1.1 [7.1.1]
-- at: /opt/intel/composerxe/ipp
-- IPP libs: libippvm_l.a;libippcc_l.a;libippcv_l.a;libippi_l.a;libipps_l.a;libippcore_l.a
...
-- Other third-party libraries:
-- Use IPP: 7.1.1 [7.1.1]
-- at: /opt/intel/composerxe/ipp
Cmake succeeds, and so does the build (make). The problem is that the output files are not linked to IPP in any way, and are actually the same as if built without IPP, using
cmake -D WITH_TBB=ON ../opencv-2.4.5
(IPP is off by default).
Has anyone been able to successfully build OpenCV so that it actually utilizes IPP?