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/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?

3 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

it seems you have already asked this problem in OpenCV forum - http://answers.opencv.org/question/3871/opencv243-build-with-the-intel-i...
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: http://software.intel.com/en-us/search/site/?f0=bundle%3Aforum&f1=im_tax....

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-i..., 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

Deixar um comentário

Faça login para adicionar um comentário. Não é membro? Inscreva-se hoje mesmo!