build opencv2.4.3 with IPP7.1 failed

build opencv2.4.3 with IPP7.1 failed

I was building OpenCV2.4.3 with the Intel IPP7.1, but I failed.

  • Linking CXX shared library ../../lib/ /usr/bin/ld: /opt/intel/ipp/lib/ia32/libippcv_l.a(ippcv00242as.o): relocation R_386_GOTOFF against undefined symbol `ippJumpIndexForMergedLibs' can not be used when making a shared object
  • /usr/bin/ld: final link failed: Bad valuecollect2: ld return 1
  • make[2]: * [lib/] error 1
  • make[1]:[modules/imgproc/CMakeFiles/opencv_imgproc.dir/all] error 2
  • make: ** [all] error 2

I built opencv with BUILD_SHARED_LIBS = ON.

How to solve it?

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

it seems you have already asked this problem in OpenCV forum -
pls, check if ipp's shared libs are available in sytems paths

Hi Xu,

Just for your reference. I had build OpenCV and IPP 7.0 under Redhad linux without problem long time befre, but i heards some users ran into the same problem. Search in particular forums from here:

The problem should happened only on special OS, like 32bit Ubuntu , right?.
Some possible solution,
1) build openCV with IPP dynamic (shared) library. (libippcv_l.a is static library)

2) to use IPP static libraries before the OpenCV with built-in-IPP
gcc -o ***. -I/opt/intel/ipp/include -I/home/yhu5/OpenCVxxx/include/opencv -L/opt/intel/ipp/lib/ia32 -lippcv_l -lippi_l -lipps_l -lippcore_l -L/home/yhu5/OpenCVxxx/IPPxxx_Static32/lib -lhighgui -lcv -lcxcore.

3) link the library under nonpic IPP provide non-pic library under /opt/intel/ipp/lib/ia32/nonpic.

On the other hand, as, the latest OpenCV use very little IPP domain, like haar classifier, DFT etc. In general, It is better to use IPP and OpenCV together and seperately, it is not needed to build OpenCV with IPP. (we call it OpenCV with build-in-IPP)

Best Regards,

Leave a Comment

Please sign in to add a comment. Not a member? Join today