A Simple Script to Build OpenCV 3.4.3 for Windows

Update 2019-05-25: Added notes to help with changes and possible issues caused with more recent versions of CMake.

Over the years I have written quite a few guides and tutorials that describe building OpenCV from sources for Windows, however they were mostly done using the GUI. It means you’d have to be using CMake GUI to set some parameters and then a few other actions and you’d end up building OpenCV using Visual Studio like any other VS solution. Even though it’s quite simple to build OpenCV like this, you can’t automate it and you need to perform all the required actions manually. In this post though, I’ll be sharing a few simple commands that can be put inside a batch script that will allow you to build OpenCV for any platform you like, simply by executing (or double clicking) that script!



Continue reading “A Simple Script to Build OpenCV 3.4.3 for Windows”