Community
cancel
Showing results for 
Search instead for 
Did you mean: 
matse
Beginner
156 Views

Strange warning with Visual Studio 2010

Hello,
at the momemt I'm trying to compile a linux project (static library) on windows with virual studio 2010. The program runs fine, just one compiler warning worries me:
[cpp]mkl_intel_thread_dll.lib(mkl_intel_thread.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined in "mkl_intel_c_dll.lib(libimalloc.dll)"; second definition ignored.

libiomp5md.lib(libiomp5md.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined in "mkl_intel_c_dll.lib(libimalloc.dll)"; second definition ignored.[/cpp]

I tried the "automatic" VS linker and manually changed the options as proposed by the linking advisor (dynamic linking).
Has anybody a suggestion how to resolve this issue?
Greetings,
matse
0 Kudos
2 Replies
Joel_V_1
Beginner
156 Views

I have the same problem.....anyone know a solution?

SergeyKostrov
Valued Contributor II
156 Views

>>...warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined... The warning informed already that the second symbol is ignored. If the warning is related ( for example ) to a mkl_intel_c_dll.lib library then you could try to add that library to a list of Ignored Libraries at: Project Properties -> Configuration Properties -> Linker -> General -> Ignore Import Library
Reply