Ask Your Question

Revision history [back]

Fail to link ippcoremt.lib with OpenCV provided library ippicvmt.lib

Hi,

I am using Visual Studio 2015 community edition. My application are using Intel IPP 8.2.3 so I have to link with ippcoremt.lib.

After upgrade to OpenCV 3.0 I need to link to the library ippicvmt.lib to resolve undefined symbol.

However if I do that will get the error

ippicvmt.lib(ippinit.obj) : error LNK2005: _ippSetCpuFeatures@8 already defined in ippcoremt.lib(ippinit.obj) ippicvmt.lib(ippinit.obj) : error LNK2005: _ownippStaticInitCpu already defined in ippcoremt.lib(ippinit.obj)

I understand there is duplicate function exists. But other than disable the IPP support in OpenCV and recompile it, do I have any other choice ?

I appreciate any feedback.

  • Kelvin