OpenCV Build on Windows
It is such a rarity to actually find instructions on how to properly build libraries in that development earthquake that is Windows. I have to commend the “Learn OpenCV” blog on being one of the only end to end guides on how to successfully build the library on Windows as things currently stand. Just be sure to install VS 2015 with complete with the accompanying C++ tools as shown. In case you’re wondering if VS2017 will work here the answer is a definitive no. I can attest to this.
On top of many other associated issues, the real brunt of the problem there comes from difficulty CUDA 9.1 has with VS 2017. The two are incompatible. I’m hoping Nvidia will do something about this, but since we’ve already seen a patch come and go since the problem was identified in September 2017, this is starting to look more and more unlikely.
I’ve had success using this same build guide with versions 3.3.1 and 3.4.0.

















