Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

/Qx cause LNK2005 libcmt.lib clash with libmmt.lib

$
0
0

Hello all,

When I turn intel-processor specific optimization in release builds I get the following linker errors :

LIBCMT.lib(pow.obj) : error LNK2005: _pow already defined in libmmt.lib(pow_stub.obj)
LIBCMT.lib(pow.obj) : error LNK2005: __CIpow already defined in libmmt.lib(pow_msci.obj)

Using

MSVS 2012 - Update 2
Intel(R) Visual Fortran Compiler XE for applications running on IA-32, Version 13.1.1.171 Build 20130313

The compiler options are :

/nologo /O2 /QxHost /Qipo /fpp /DNDEBUG /Qopenmp /module:"Release\\" /object:"Release\\" /Fd"Release\vc110.pdb" /libs:static /threads /c

and the linker options are :

/OUT:"Release\cli.exe" /INCREMENTAL:NO /NOLOGO uiAccess='false'" /SUBSYSTEM:CONSOLE netcdf.lib netcdff.lib hdf5.lib hdf5_hl.lib szip.lib zlib.lib proj4.lib

Nothing fancy here... Note that :

  • I do not get this problem with MSVS 2010.
  • The issue is x86 specific (x64 links fine)

Any ideas ?
Regards, Samuel


Viewing all articles
Browse latest Browse all 5691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>