Linking OpenCV and IPP and MKL staticly

Linking OpenCV and IPP and MKL staticly


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,

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi Klaas,

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


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.



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

Leave a Comment

Please sign in to add a comment. Not a member? Join today