Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Linking OpenCV and IPP and MKL staticly

Klaas
Beginner
446 Views
Hi

I've been trying to use OpenCV, IPP and MKL staticly.
The problem is I can get OpenCV to be a static library and IPP to be a static library but I can't get OpenCV to use the static IPP library because OpenCV searches for the dll's at startup.
Is there any way to link OpenCV, IPP and MKL together so there are no dll's required and OpenCV does use the optimized functions of IPP and MKL?

Thanks in advance,
Klaas
0 Kudos
3 Replies
Vladimir_Dudnik
Employee
446 Views

Hi Klaas,

as far as I know there is no such possibility in current OpenCV package. You may ask for that on OpenCV forum.

Regards,
Vladimir

0 Kudos
Intel_C_Intel
Employee
446 Views
Right, now it is impossible to use IPP/MKL functions from statically linked libraries.
If you just want to decrease footprint, you may consider building custom DLL
(ippopencv100.dll) that will include only the functions that are used by OpenCV.

Vadim
0 Kudos
Klaas
Beginner
446 Views
Hi,

Thank you for the reply.
I'll look into making custom DLL's
0 Kudos
Reply