link2005 error with libmmd.lib (linmmd.dll)

link2005 error with libmmd.lib (linmmd.dll)

Hello,

I've recently upgraded to a newer version of the Intel Compiler (from 12.1.3.300 to the latest - 14.0.3.202) and I seem to have a bunch of LINK2005 errors that I never had before - partial snippet below:

"
p.cu.obj) : error LNK2005: _cosf already defined in libmmd.lib(libmmd.dll)
p.cu.obj) : error LNK2005: _powf already defined in libmmd.lib(libmmd.dll)
p.cu.obj) : error LNK2005: _sinf already defined in libmmd.lib(libmmd.dll)
p.cu.obj) : error LNK2005: _cosf already defined in libmmd.lib(libmmd.dll)
p.cu.obj) : error LNK2005: _powf already defined in libmmd.lib(libmmd.dll)
p.cu.obj) : error LNK2005: _sinf already defined in libmmd.lib(libmmd.dll)
"

I'm not entirely sure why these are clashing now and not before.  Any ideas?

 

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi Scott,

It might be related to the MSFT libraries you were linking with.  I didn't a search and found a similar issue at <http://stackoverflow.com/questions/925540/how-to-resolve-the-following-l....  Please see if it solves the problem you reported.  If not, please upload a small project, so that we can reproduce the problem.

Thanks.

Login to leave a comment.