Skip to content

OpenCV Codeblocks and MSYS

bluehazzard edited this page May 2, 2020 · 3 revisions

Building OpenCV

  1. Download OpenCV source code and OpenCV contrib source code
  2. Run CMake and disable ENABLE_ALLOCATOR_STATS because this will lead to a problem with winres.exe
  3. Enable ENABLE_NONFREE
  4. Do not forget to add the contrib modules to the CMake script EXTRA_MODULES_PATH
Clone this wiki locally