Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

issue with setting /MT flag while building

$
0
0
I am having problems while building OpenCV with /MT flags using Intel Compiler for Windows. OpenCV version: 3.1 Host OS: Windows 7 Compiler: Intel Compiler In which part of the OpenCV library you got the issue? Building OpenCV Expected behaviour: To be able to build with /MT flag Actual behaviour: the /nodefaultlib:libcmt.lib causes my links to fail with unresolved C runtime symbols If I remove the /nodefault:libcmt.lib flags from the CMakeLists.txt files, then my build is successful. Why is this flag present, and can it be removed to allow static-runtime builds without requiring modifications?

Viewing all articles
Browse latest Browse all 19555

Trending Articles



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