- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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_taxonomy_forums%3A36938&retain-filters=1.
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page