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: opencv_world320.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
Related Topics
Counting the Number of Lines in a Text File
C++ Linking Error After Upgrading to MAC Os X 10.9/Xcode 5.0.1
Increment Void Pointer by One Byte? by Two
Concatenating Strings Doesn't Work as Expected
Error for Hash Function of Pair of Ints
Serial Port (Rs -232) Connection in C++
C++ Most Efficient Way to Convert String to Int (Faster Than Atoi)
Element at Index in a Std::Set
In Cmake, How to Work Around the Debug and Release Directories Visual Studio 2010 Tries to Add
How to Iterate Over a Constant Vector
C++ Object Created with New, Destroyed with Free(); How Bad Is This
How to Safely Average Two Unsigned Ints in C++
How to Forward Declare a Template Class in Namespace Std
Idiomatic Way to Declare C++ Immutable Classes