Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Log/Pow conflict with ICC16 Update 2 + Visual C++ 2015 Update 1 on Win32

$
0
0

Dear Intel Compiler Experts,

 

Even if the Update 2 fixed most of the issue, there is still one important problem I'm not able to find out how to fix it.

As usual, I have a project composed on two static libraries, one compiled with ICC and the other one with the Microsoft VC++ Compiler. Both are using the math function log/pow. When I build the project on Win64, everything is linking correctly. Unfortunately it is not the case for Win32...

3>libucrt.lib(pow.obj) : error LNK2005: _pow already defined in libmmt.lib(pow_iface.obj)
3>libucrt.lib(pow.obj) : error LNK2005: __CIpow already defined in libmmt.lib(pow_iface.obj)
3>libucrt.lib(log.obj) : error LNK2005: _log already defined in libmmt.lib(log_iface.obj)
3>libucrt.lib(log.obj) : error LNK2005: __CIlog already defined in libmmt.lib(log_iface.obj)

 

Of course, if I exclude libucrt or libmmt from the compilation I have some missing symbols.

 

This error seems analog to http://siliconandlithium.blogspot.de/2014/04/intel-and-microsoft-compile... but in my case there is no such floating point representation difference or whatever.

 

Is it a configuration problem from my side, or is there a known conflict between libmmt and libucrt that will be solved in further updates?

 

Thanks in advance!

 

Best Regards,

JbR


Viewing all articles
Browse latest Browse all 1616

Trending Articles



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