Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
10 Views

Custom DLL Linking Issue

We are struggling with strange issue related to IPP lib linking.

We have one .Net Exe which uses managed (C#) DLL which interns calls intel custom DLL (C++ unmanaged) through pInvoke.

If we use intel custom DLL with ‘Multi-thread Static Lib’ or ‘Single Thread Static Lib’ it works fine.

But when we use intel custom DLL with ‘Multi-threaded DLL’ or ‘Default Linking Method (which is /MD)’  it does not work as expected.

Following project setting we are using -

Include path: ‘$(INTEL_DEF_X64_INSTALL_DIR)ipp\include’

Lib path: $(INTEL_DEF_X64_INSTALL_DIR)ipp\lib\intel64

No lib name has been added in input lib path.

 

Could you please tell what exactly we need to do for intel custom lib compile for dynamic lib? 

0 Kudos
1 Reply
Highlighted
Employee
10 Views

Hi,

if I understand correctly that you build custom DLL from IPP libraries? If yes you should use IPP static libraries only to link your custom DLL. It is impossible to build custom DLL from IPP DLLs.

Pavel

0 Kudos