HERE IS MY CMAKE CONFIGURATION
General configuration for OpenCV 4.0.0-alpha ===================================== Version control: unknown
Extra modules: Location (extra): C:/Users/sergio/Downloads/opencv_contrib-master/opencv_contrib-master/modules Version control (extra): unknown
Platform: Timestamp: 2019-03-22T17:33:51Z Host: Windows 10.0.17134 AMD64 CMake: 3.14.0-rc1 CMake generator: MinGW Makefiles CMake build tool: C:/mingw/mingw64/bin/mingw32-make.exe Configuration: Release
CPU/HW features: Baseline: SSE SSE2 SSE3 requested: SSE3 Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX SSE4_1 (4 files): + SSSE3 SSE4_1 SSE4_2 (2 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX AVX (6 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX AVX2 (10 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
C/C++:
Built as dynamic libs?: YES
C++ Compiler: C:/mingw/mingw64/bin/x86_64-w64-mingw32-g++.exe (ver 8.1.0)
C++ flags (Release): -std=c++11 -fsigned-char -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 -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
C++ flags (Debug): -std=c++11 -fsigned-char -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 -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG
C Compiler: C:/mingw/mingw64/bin/x86_64-w64-mingw32-gcc-8.1.0.exe
C flags (Release): -fsigned-char -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 -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG
C flags (Debug): -fsigned-char -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 -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -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:
OpenCV modules: To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dpm face features2d flann fuzzy hfs highgui img_hash imgcodecs imgproc java_bindings_generator js line_descriptor ml objdetect optflow phase_unwrapping photo plot python_bindings_generator quality reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab world xfeatures2d ximgproc xobjdetect xphoto Disabled: - Disabled by dependency: - Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv freetype hdf java matlab ovis python2 python3 sfm viz Applications: tests perf_tests apps Documentation: js Non-free algorithms: NO
Windows RT support: NO
GUI: Win32 UI: YES VTK support: NO
Media I/O: ZLib: build (ver 1.2.11) JPEG: build-libjpeg-turbo (ver 1.5.3-62) 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) HDR: YES SUNRASTER: YES PXM: YES PFM: YES
Video I/O: Video for Windows: YES DC1394: NO FFMPEG: YES (prebuilt binaries) avcodec: YES (ver 58.18.100) avformat: YES (ver 58.12.100) avutil: YES (ver 56.14.100) swscale: YES (ver 5.1.100) avresample: YES (ver 4.0.0) GStreamer: NO DirectShow: YES XIMEA: NO
Parallel framework: none
Trace: YES (built-in)
Other third-party libraries: Lapack: NO Eigen: NO Custom HAL: NO Protobuf: build (3.5.1)
OpenCL: YES (no extra features) Include path: C:/OpenCV4.0/opencv/sources/3rdparty/include/opencl/1.2 Link libraries: Dynamic load
Python (for build): NO
Install to: C:/ocvbuild/install
HERE IS THE ISSUE
||=== Build: all in OpenCV (compiler: GNU GCC Compiler) ===| C:\Users\sergio\Downloads\opencv_contrib-master\opencv_contrib-master\modules\xphoto\src\grayworld_white_balance.cpp||In function 'void cv::xphoto::calculateChannelSums(uint&, uint&, uint&, uchar*, int, float)':| C:\Users\sergio\Downloads\opencv_contrib-master\opencv_contrib-master\modules\xphoto\src\grayworld_white_balance.cpp|133|error: 'v_mul_wrap' was not declared in this scope| C:\Users\sergio\Downloads\opencv_contrib-master\opencv_contrib-master\modules\xphoto\src\grayworld_white_balance.cpp|133|note: suggested alternative: 'v_max_val'| C:\Users\sergio\Downloads\opencv_contrib-master\opencv_contrib-master\modules\xphoto\src\grayworld_white_balance.cpp||In function 'void cv::xphoto::applyChannelGains(cv::InputArray, cv::OutputArray, float, float, float)':| C:\Users\sergio\Downloads\opencv_contrib-master\opencv_contrib-master\modules\xphoto\src\grayworld_white_balance.cpp|285|error: 'v_mul_wrap' was not declared in this scope| [modules\world\CMakeFiles\opencv_world.dir\build.make|3062|modules/world/CMakeFiles/opencv_world.dir/C_/Users/sergio/Downloads/opencv_contrib-master/opencv_contrib-master/modules/xphoto/src/grayworld_white_balance.cpp.obj] Error 1| [CMakeFiles\Makefile2|4491|modules/world/CMakeFiles/opencv_world.dir/all] Error 2| [C:\ocvbuild\Makefile|162|all] Error 2| ||=== Build failed: 5 error(s), 0 warning(s) (19 minute(s), 27 second(s)) ===|