System:
Windows 7 64bit
Mingw:
version : MinGW-W64-builds-4.2.0
date : 09.01.2015-12:22:14 PM
args : --mode=gcc-4.9.2
--buildroot=/c/mingw492--buildroot=/c/mingw492
opencv:
v 3.4.0
with opencv-contrib 3.4.0
compiling with mingw24-make gives me following error:
C:\opencv (v 3.4.0)\opencv\sources\modules\videoio\src\cap_vfw.cpp:648:37: warni
ng: missing initializer for member 'tagCapStatus::hPalCurrent' [-Wmissing-field-
initializers]
C:\opencv (v 3.4.0)\opencv\sources\modules\videoio\src\cap_vfw.cpp:648:37: warni
ng: missing initializer for member 'tagCapStatus::fCapturingNow' [-Wmissing-fiel
d-initializers]
C:\opencv (v 3.4.0)\opencv\sources\modules\videoio\src\cap_vfw.cpp:648:37: warni
ng: missing initializer for member 'tagCapStatus::dwReturn' [-Wmissing-field-ini
tializers]
C:\opencv (v 3.4.0)\opencv\sources\modules\videoio\src\cap_vfw.cpp:648:37: warni
ng: missing initializer for member 'tagCapStatus::wNumVideoAllocated' [-Wmissing
-field-initializers]
C:\opencv (v 3.4.0)\opencv\sources\modules\videoio\src\cap_vfw.cpp:648:37: warni
ng: missing initializer for member 'tagCapStatus::wNumAudioAllocated' [-Wmissing
-field-initializers]
[ 35%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap
_ffmpeg.cpp.obj
C:\opencv (v 3.4.0)\opencv\sources\modules\videoio\src\cap_ffmpeg.cpp:65:42: war
ning: type qualifiers ignored on function return type [-Wignored-qualifiers]
static const HMODULE cv_GetCurrentModule()
^
[ 35%] Building RC object modules/videoio/CMakeFiles/opencv_videoio.dir/vs_versi
on.rc.obj
gcc: error:
(v\: \(v\: No such file or directory
gcc: error:
3.4.0)\opencv\sources\3rdparty\include\ffmpeg_: 3.4.0\)\opencv\sources\3rdparty\include\ffmpeg_: No such file or dir
ectory
C:\MinGW\bin\windres.exe: preprocessing failed.
modules\videoio\CMakeFiles\opencv_videoio.dir\build.make:261: recipe for target
'modules/videoio/CMakeFiles/opencv_videoio.dir/vs_version.rc.obj' failed
mingw32-make[2]:
* *** [modules/videoio/CMakeFiles/opencv_videoio.dir/vs_version.r
c.obj] Error 1
CMakeFiles\Makefile2:4508: recipe for target 'modules/videoio/CMakeFiles/opencv_
videoio.dir/all' failed
mingw32-make[1]:
* *** [modules/videoio/CMakeFiles/opencv_videoio.dir/all] Error
2 2
makefile:161: recipe for target 'all' failed
mingw32-make:
* *** [all] Error
2 2
C:\opencv (v
3.4.0)\opencv\build\x64\mingw>3.4.0)\opencv\build\x64\mingw>
cmake-output
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7")
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.6")
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "3.4")
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "3.2")
CUDA compilation is disabled (due to only Visual Studio compiler supported on your platform).
Could not find OpenBLAS include. Turning OpenBLAS_FOUND off
Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
A library with BLAS API not found. Please specify library location.
LAPACK requires BLAS
A library with LAPACK API not found. Please specify library location.
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
Could NOT find Pylint (missing: PYLINT_EXECUTABLE)
Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN)
VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
Caffe: NO
Protobuf: NO
Glog: NO
tiny-dnn: Download: v1.0.0a3.tar.gz
Looking for tiny_dnn.h
Looking for tiny_dnn.h - found
Found tiny-dnn in: C:/temp/opencv/build/x64/mingw/3rdparty/tinydnn/tiny-dnn-1.0.0a3
Performing Test COMPILER_SUPPORTS_CXX11
Performing Test COMPILER_SUPPORTS_CXX11 - Success
The protocol buffer compiler is not found (PROTOBUF_PROTOC_EXECUTABLE='')
freetype2: NO
harfbuzz: NO
Module opencv_ovis disabled because OGRE3D was not found
No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake.
Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components.
Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h
Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h
Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags
Excluding from source files list: C:/temp/opencv/build/x64/mingw/modules/imgproc/accum.neon.cpp
Tesseract: NO
xfeatures2d/boostdesc: Download: boostdesc_bgm.i
xfeatures2d/boostdesc: Download: boostdesc_bgm_bi.i
xfeatures2d/boostdesc: Download: boostdesc_bgm_hd.i
xfeatures2d/boostdesc: Download: boostdesc_binboost_064.i
xfeatures2d/boostdesc: Download: boostdesc_binboost_128.i
xfeatures2d/boostdesc: Download: boostdesc_binboost_256.i
xfeatures2d/boostdesc: Download: boostdesc_lbgm.i
xfeatures2d/vgg: Download: vgg_generated_48.i
xfeatures2d/vgg: Download: vgg_generated_64.i
xfeatures2d/vgg: Download: vgg_generated_80.i
xfeatures2d/vgg: Download: vgg_generated_120.i
data: Download:
face_landmark_model.dat face_landmark_model.dat
General configuration for OpenCV 3.4.0 =====================================
Version control:
unknown unknown
Extra modules:
Location (extra): C:/temp/opencv (contrib)/modules
Version control (extra):
unknown unknown
Platform:
Timestamp: 2018-01-19T10:51:39Z
Host: Windows 6.1.7601 AMD64
CMake: 3.10.0
CMake generator: MinGW Makefiles
CMake build tool: C:/MinGW/bin/mingw32-make.exe
Configuration:
Release Release
CPU/HW features:
Baseline: SSE SSE2
requested: SSE2
Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2
requested: SSE4_1 SSE4_2 AVX FP16 AVX2
SSE4_1 (3 files): + SSE3 SSSE3 SSE4_1
SSE4_2 (1 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2
FP16 (2 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
AVX (5 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 AVX
AVX2 (9 files): + SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX
AVX2 AVX2
C/C++:
Built as dynamic libs?: YES
C++ Compiler: C:/MinGW/bin/g++.exe (ver 4.9.2)
C++ flags (Release): -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -mfpmath=sse -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
C++ flags (Debug): -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -mfpmath=sse -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG
C Compiler: C:/MinGW/bin/gcc.exe
C flags (Release): -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -mfpmath=sse -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG
C flags (Debug): -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -mfpmath=sse -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG
Linker flags (Release): -Wl,--gc-sections
Linker flags (Debug): -Wl,--gc-sections
ccache: NO
Precompiled headers: NO
Extra dependencies:
3rdparty
dependencies: dependencies:
OpenCV modules:
To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dpm face features2d flann fuzzy highgui img_hash imgcodecs imgproc line_descriptor ml objdetect optflow phase_unwrapping photo plot python_bindings_generator reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab xfeatures2d ximgproc xobjdetect xphoto
Disabled: js world
Disabled by dependency: -
Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv dnn_modern freetype hdf java matlab ovis python2 python3 sfm viz
Applications: tests perf_tests apps
Documentation: NO
Non-free algorithms:
NO NO
Windows RT support:
NO NO
GUI:
Win32 UI: YES
VTK support:
NO NO
Media I/O:
ZLib: build (ver 1.2.11)
JPEG: build (ver 90)
WEBP: build (ver encoder: 0x020e)
PNG: build (ver 1.6.34)
TIFF: build (ver 42 - 4.0.9)
JPEG 2000: build (ver 1.900.1)
OpenEXR: build (ver
1.7.1) 1.7.1)
Video I/O:
Video for Windows: YES
DC1394: NO
FFMPEG: YES (prebuilt binaries)
avcodec: YES (ver 57.89.100)
avformat: YES (ver 57.71.100)
avutil: YES (ver 55.58.100)
swscale: YES (ver 4.6.100)
avresample: YES (ver 3.5.0)
GStreamer: NO
DirectShow:
YES YES
Parallel framework:
none none
Trace: YES
(built-in) (built-in)
Other third-party libraries:
Lapack: NO
Eigen: NO
Custom HAL:
NO NO
NVIDIA CUDA:
NO NO
OpenCL: YES (no extra features)
Include path: C:/temp/opencv/sources/3rdparty/include/opencl/1.2
Link libraries: Dynamic
load load
Python (for build):
NO NO
Java:
ant: NO
JNI: NO
Java wrappers: NO
Java tests:
NO NO
Matlab:
NO NO
Install to:
C:/temp/opencv/build/x64/mingw/install C:/temp/opencv/build/x64/mingw/install
-----------------------------------------------------------------
Configuring done
Generating
donedone