Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

IPP Dynamic Link Problem Under Ubuntu

jiapei1001
Beginner
124 Views

I'm wondering whether IPP could be dynamically linked? Those libipp**merged.a files are really annoying... I mean, I just don't wanna link those .a files, instead, I'm wondering whether I can linke those .so files?

My code is as simple as

#include
#include
#include // only for direct call to ippiMedianFilter_8u_C3R!
#include

int main(int,char**)
{

cvUseOptimized(1); // load IPP
const char* opencv_libraries = 0;
const char* addon_modules = 0;
cvGetModuleInfo( 0, &opencv_libraries, &addon_modules );
printf( "OpenCV: %s\nAdd-on Modules: %s\n", opencv_libraries, addon_modules );

}

And,if I link the static library "libippcore.a" , I could get the program running:

OpenCV: cxcore: 1.1.0, cv: 1.1.0
Add-on Modules: libippcv.so, libippi.so, libipps.so, libippvm.so, libippcc.so

But, if I link the dynami library "libippcore.so", I failed to link the program as:

/usr/bin/ld: cannot find -lippcore

Can anybody give me a clue?

Best Regards

JIA

0 Kudos
1 Reply
Vladimir_Dudnik
Employee
124 Views
You have to use dynamic IPP libraries in OpenCV. This is OpenCV requirement. Please make sure you specfied linker where it should look for libraries
Vladimir

Reply