installation OpenCV3 on windows using prebuilt binaries
Hi,
I had trouble compiling on windows for x64 so I thought I would try just using the binaries (using the following guide).
http://docs.opencv.org/3.0-last-rst/d...
I downloaded version 3.1.0 ran the setup then saw that there are directories
C:\OpenCV\sources\include
and
C:\OpenCV\build\x64\vc14\lib
The lib directory only includes one lib file (and the debug version)
opencv_world310.lib
I was expecting to use
-lopencv_shape310 -lopencv_core310 -lopencv_highgui310 -lopencv_imgproc310 -lopencv_imgcodecs310
So either the libraries have changed and there is only one file to link against or the distribution is incomplete or there are no pre-built binaries and you have to build them yourself. Either way the documentation is not correct.
Anyway so I tried to build using CMAKE everything goes ok, but everything is built for WIN32 which is not compatible with my QT version and is anyway not really the latest technology. I changed all the WIN32 flags in CMAKE to be WIN64, better but still compiles certain libraries as X86 (actually on the last attempt I got 319 errors - see comment below). Surely a simple install of the latest opencv version on the most popular OS should not be so difficult and poorly explained.
Thanks for any help
Cheers Dave
Just want to mention that when I try to build using MSVC++ 15 using the CMAKE generated solution file I get 319 errors! here a 3 examples
Severity Code Description Project File Line Suppression State Error C1083 Cannot open include file: 'pthread.h': No such file or directory opencv_core C:\OpenCV\modules\core\src\rand.cpp 58
Severity Code Description Project File Line Suppression State Error C2146 syntax error: missing ';' before identifier 'sysinfo' opencv_core C:\OpenCV\modules\core\src\parallel.cpp 523
Severity Code Description Project File Line Suppression State Error LNK1104 cannot open file '....\lib\Debug\opencv_core310d.lib' opencv_imgproc C:\opencv-msvc\modules\imgproc\LINK 1