1>LIBCMTD.lib(sprintf.obj) : error LNK2005: _sprintf already defined in MSVCRTD.lib(MSVCR100D.dll)
1>LIBCMTD.lib(crt0dat.obj) : error LNK2005: _exit already defined in MSVCRTD.lib(MSVCR100D.dll)
These are the libs I added as described in manual:
However with non-multithreaded static linkage without libiomp5mt.lib all compiles perfectly
Why you are linking to different versions of same library? ex: ippcc you are doing a static linkage with dispatching as well as static linkage without dispatching !!
Please refer to IPP linkage models and choose the one that suites your application version.
Static Linkage with Dispatching
To use the static linking libraries, you need link to ipp*emerged.lib, ipp*merged.lib,
ippsemerged.lib, ippsmerged.lib, and ippcorel.lib.
If you want to use the Intel IPP functions threaded with the OpenMP*, you need link to
ipp*emerged.lib, ipp*merged_t.lib, ippsemerged.lib, ippsmerged_t.lib,
ippcore_t.lib, and additionally libiomp.lib.
For example, your application uses three Intel IPP functions ippiCopy_8u_C1R,
ippiCanny_16s8u_C1R and ippmMul_mc_32f. These three functions belong to the image
processing, computer vision, and small matrix operations domains respectively. If you
want to use the threaded functions, you must link the following libraries to your
ippcvemerged.lib and ippcvmerged_t.lib
ippmemerged.lib and ippmmerged_t.lib
ippiemerged.lib and ippimerged_t.lib
ippsemerged.lib and ippsmerged_t.lib
So I added those ipp*emerged.lib and ipp*merged.lib libraries
What is the discrepancy with the manual?
Also there is no libiomp5.lib present, only libiomp5d.lib and libiomp5t.lib.
What is the difference between the two?