Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.

build opencv2.4.3 with IPP7.1 failed

Xu_X_
Beginner
153 Views

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

  • Linking CXX shared library ../../lib/libopencv_imgproc.so /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/libopencv_imgproc.so.2.4.3] 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?

0 Kudos
2 Replies
Gennady_F_Intel
Moderator
153 Views
it seems you have already asked this problem in OpenCV forum - http://answers.opencv.org/question/3871/opencv243-build-with-the-intel-ipp-failed/ pls, check if ipp's shared libs are available in sytems paths
Ying_H_Intel
Employee
153 Views
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: http://software.intel.com/en-us/search/site/?f0=bundle%3Aforum&f1=im_taxonomy_forums%3A36218&f2=im_t.... 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 http://answers.opencv.org/question/3871/opencv243-build-with-the-intel-ipp-failed/, 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, Ying
Reply