I am playing around with NVIDIA CUDA technology (v4.2). I have link conflict:
libmmdd.lib(libmmdd.dll) : error LNK2005: lrint already defined in test.cu.obj
libmmdd.lib(libmmdd.dll) : error LNK2005: lrintf already defined in test.cu.obj
using MSVC 2010, ICC XE 13.0.
tcprince wrote:OIC. Thanks. Though I feel, this is a cosmetic issue, rather than a bug, that can be resolved easily. But much more: it is problem of mixing different C standards. Thank you for make me see clearly what is happening.
Yes, because MSVC hasn't included those std=c99 functions, it's not surprising that a library intended for Visual Studio compatibility might provide its own. It would be preferable if that library could arrange to link the versions provided by ICL when those are present. Perhaps you could run library manager and separate them from that library.