I have a custom IPP project with a custom 32-bit DLL setup.
I have a problem in IPP 8.1/8.2 in which memzero (and memset) cannot be found by the linker, and it is only in PNG module pngrtran.c it isn't resolved, assuming memset is used several other places.
If I compile using Visual Studio 2010 I haven't got this problem, but compiling with Intel Compiler 10.1.0.13 I do.
In IPP 6 and 7 I haven't got this problem.
I do use the same lib and include folders in both environments.
I tried using /verbose and I see lots of other code referring to memset and those are resolved, and also the memset referred to in pngrtran.c is actually resolved and loaded from libircmt.lib. However, the linker still reports this:
Creating library xxxx.exp
pngrtran.obj : error LNK2019: unresolved external symbol ___intel_VEC_memzero referenced in function _png_set_dither
pngrtran.obj : error LNK2019: unresolved external symbol ___intel_VEC_memset referenced in function _png_set_dither
xxxx.dll : fatal error LNK1120: 2 unresolved externals
The libircmt.lib file is taken from Intel Compiler 10.1.0.13, and it also contains the ___intel_VEC_memset functions.
Any ideas?