Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

IPP Dynamic Link Problem Under Ubuntu

jiapei1001
Beginner
543 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
543 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

0 Kudos
Reply