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