Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

How to link OpenCV statically to VC++ libraries on Windows

$
0
0
Version 3.0 By default cmake creates a build project where the VC++ libraries are linked dynamically. Is there a way to link statically to the VC++ libraries instead? (somehow looking at compilation flags /MT instead of /MD). This would allow to give a bundled OpenCV application to someone who does not have the VC++ redistributable packages installed.

Viewing all articles
Browse latest Browse all 41027

Trending Articles



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