How can I install/configure OpenCV3.2.0 with C++, Visual Studio 2017?
Since the Doc from official OpenCV tutorial is outdated, I will suggest:
get VS-2017 with full compiler like:
get the newest CMake (uninstall older versions)
get from github the sourceCode here and here and place those in C:/openCV folder, create a BUILD folder there too
open Cmake, select the opencv master folder... in the build write the build directory like:
- click configure, select visual studio 15 2017 and leave selected "use default native compilers", then press "finish"...
6.1 now you should see cmake doing its job :)
once configuration is done set the opencv extra modules path and click configure again, and when is done click generate! :)
when generation is done click "open project", this will open a huge project in visual studio named "opencv", now you can close cmake, we dont need that anymore.
now, when the solution is ready, be sure you are in "debug" conf and do right click on "ALL_BUILD" and then "build" (that can take a while) once build succeed change to "release" config and do right click on "ALL_BUILD" and then "build" again.
now,be sure you are in "debug" conf and do right click on "INSTALL" and then "build" (that can take a while) once build succeed change to "release" config and do right click on "INSTALL" and then "build" again.
opencv3.2 compilation with debug mode x64 not possible on visual studio 2017
I re-configured with cmake and generated the project using
Visual Studio 15 2017 Win64, now I find x64 in debug and my problem is resolved. Before, I selected Visual Studio 15 2017 without precision Win64.
many missing .lib files in the installed OpenCV3.2.0 for Windows 10 64bit
I'm not familiar with openvc, but you could try to remove all these libs and replace with new single lib:
From What is opencv_world:
The new super-module modestly called opencv_world has been introduced.
It combines all the other modules selected by user and thus it's much
more convenient for redistribution, comparing to ~20 shared libraries
libopencv_core, libopencv_imgproc etc.
Looks like opencv_world now replaces all that zoo of libs that used to come with opencv.
Failed to run conda install -c menpo opencv3=3.2.0 in Windows7
run the following command
conda install -c conda-forge opencv=3.2.0