Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Lefteris_K_
Beginner
33 Views

Best practice for custom static library with static linking

Hi,

I've been trying to create a custom (static) library of DSP classes in C++ that utilize IPP and MKL (as well as Eigen). The issue I run into is that of exceeded symbols (LNK1189 error). Even though my classes use probably really few functions from all these libraries, it has been impossible to overcome the issue, unless I employ dynamic linking. Namely, it is an issue of bundling in my custom .lib file only used code instead of the whole IPP/MKL libraries. Any help would be much appreciated.

Lefteris

0 Kudos
1 Reply
Shaojuan_Z_Intel
Employee
33 Views

Hi Lefteris,

You can create some custom dynamic libraries for the functions that you'll need in IPP/MKL, so that you don't have to link the whole IPP/MKL libraries. Here is the link as how to build a custom DLL: https://software.intel.com/en-us/node/528363. Hope this helps. Thanks!

Reply