Dear All, I am using: Operating System: Windows 10 Professional 64 bits french version CodeBlocks-16.01 mingw-setup opencv-2.4.13 cmake-3.8.2-win64-x64
I installed codeblocks, cmake and opencv. I launched cmake configuration with the code source in c:/opencv/sources and the libraries to be built in c:/opencv/build/x64/MinGW
The CXX compiler identification is GNU 4.9.2 The C compiler identification is GNU 4.9.2 Check for working CXX compiler: C:/Program Files (x86)/CodeBlocks/MinGW/bin/g++.exe Check for working CXX compiler: C:/Program Files (x86)/CodeBlocks/MinGW/bin/g++.exe -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Detecting CXX compile features Detecting CXX compile features - done Check for working C compiler: C:/Program Files (x86)/CodeBlocks/MinGW/bin/gcc.exe Check for working C compiler: C:/Program Files (x86)/CodeBlocks/MinGW/bin/gcc.exe -- works Detecting C compiler ABI info Detecting C compiler ABI info - done Detecting C compile features Detecting C compile features - done Detected version of GNU GCC: 49 (409) Performing Test HAVE_CXX_FSIGNED_CHAR Performing Test HAVE_CXX_FSIGNED_CHAR - Success Performing Test HAVE_C_FSIGNED_CHAR Performing Test HAVE_C_FSIGNED_CHAR - Success Performing Test HAVE_CXX_MSTACKREALIGN Performing Test HAVE_CXX_MSTACKREALIGN - Success Performing Test HAVE_C_MSTACKREALIGN Performing Test HAVE_C_MSTACKREALIGN - Success Performing Test HAVE_CXX_W Performing Test HAVE_CXX_W - Success Performing Test HAVE_C_W Performing Test HAVE_C_W - Success Performing Test HAVE_CXX_WALL Performing Test HAVE_CXX_WALL - Success Performing Test HAVE_C_WALL Performing Test HAVE_C_WALL - Success Performing Test HAVE_CXX_WERROR_RETURN_TYPE Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success Performing Test HAVE_C_WERROR_RETURN_TYPE Performing Test HAVE_C_WERROR_RETURN_TYPE - Success Performing Test HAVE_CXX_WERROR_ADDRESS Performing Test HAVE_CXX_WERROR_ADDRESS - Success Performing Test HAVE_C_WERROR_ADDRESS Performing Test HAVE_C_WERROR_ADDRESS - Success Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success Performing Test HAVE_C_WERROR_SEQUENCE_POINT Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success Performing Test HAVE_CXX_WFORMAT Performing Test HAVE_CXX_WFORMAT - Success Performing Test HAVE_C_WFORMAT Performing Test HAVE_C_WFORMAT - Success Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success Performing Test HAVE_C_WERROR_FORMAT_SECURITY Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success Performing Test HAVE_CXX_WMISSING_DECLARATIONS Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success Performing Test HAVE_C_WMISSING_DECLARATIONS Performing Test HAVE_C_WMISSING_DECLARATIONS - Success Performing Test HAVE_CXX_WMISSING_PROTOTYPES Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Failed Performing Test HAVE_C_WMISSING_PROTOTYPES Performing Test HAVE_C_WMISSING_PROTOTYPES - Success Performing Test HAVE_CXX_WSTRICT_PROTOTYPES Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Failed Performing Test HAVE_C_WSTRICT_PROTOTYPES Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success Performing Test HAVE_CXX_WUNDEF Performing Test HAVE_CXX_WUNDEF - Success Performing Test HAVE_C_WUNDEF Performing Test HAVE_C_WUNDEF - Success Performing Test HAVE_CXX_WINIT_SELF Performing Test HAVE_CXX_WINIT_SELF - Success Performing Test HAVE_C_WINIT_SELF Performing Test HAVE_C_WINIT_SELF - Success Performing Test HAVE_CXX_WPOINTER_ARITH Performing Test HAVE_CXX_WPOINTER_ARITH - Success Performing Test HAVE_C_WPOINTER_ARITH Performing Test HAVE_C_WPOINTER_ARITH - Success Performing Test HAVE_CXX_WSHADOW Performing Test HAVE_CXX_WSHADOW - Success Performing Test HAVE_C_WSHADOW Performing Test HAVE_C_WSHADOW - Success Performing Test HAVE_CXX_WSIGN_PROMO Performing Test HAVE_CXX_WSIGN_PROMO - Success Performing Test HAVE_C_WSIGN_PROMO Performing Test HAVE_C_WSIGN_PROMO - Failed Performing Test HAVE_CXX_WNO_NARROWING Performing Test HAVE_CXX_WNO_NARROWING - Success Performing Test HAVE_C_WNO_NARROWING Performing Test HAVE_C_WNO_NARROWING - Success Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Failed Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success Performing Test HAVE_C_WNO_ARRAY_BOUNDS Performing Test HAVE_C_WNO_ARRAY_BOUNDS - Success Performing Test HAVE_CXX_WNO_AGGRESSIVE_LOOP_OPTIMIZATIONS Performing Test HAVE_CXX_WNO_AGGRESSIVE_LOOP_OPTIMIZATIONS - Success Performing Test HAVE_C_WNO_AGGRESSIVE_LOOP_OPTIMIZATIONS Performing Test HAVE_C_WNO_AGGRESSIVE_LOOP_OPTIMIZATIONS - Success Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success Performing Test HAVE_CXX_MARCH_I686 Performing Test HAVE_CXX_MARCH_I686 - Success Performing Test HAVE_C_MARCH_I686 Performing Test HAVE_C_MARCH_I686 - Success Performing Test HAVE_CXX_FOMIT_FRAME_POINTER Performing Test HAVE_CXX_FOMIT_FRAME_POINTER - Success Performing Test HAVE_C_FOMIT_FRAME_POINTER Performing Test HAVE_C_FOMIT_FRAME_POINTER - Success Performing Test HAVE_CXX_MSSE Performing Test HAVE_CXX_MSSE - Success Performing Test HAVE_C_MSSE Performing Test HAVE_C_MSSE - Success Performing Test HAVE_CXX_MSSE2 Performing Test HAVE_CXX_MSSE2 - Success Performing Test HAVE_C_MSSE2 Performing Test HAVE_C_MSSE2 - Success Performing Test HAVE_CXX_MFPMATH_SSE Performing Test HAVE_CXX_MFPMATH_SSE - Success Performing Test HAVE_C_MFPMATH_SSE Performing Test HAVE_C_MFPMATH_SSE - Success Performing Test HAVE_CXX_FFUNCTION_SECTIONS Performing Test HAVE_CXX_FFUNCTION_SECTIONS - Success Performing Test HAVE_C_FFUNCTION_SECTIONS Performing Test HAVE_C_FFUNCTION_SECTIONS - Success Check if the system is big endian Searching 16 bit integer Looking for sys/types.h Looking for sys/types.h - found Looking for stdint.h Looking for stdint.h - found Looking for stddef.h Looking for stddef.h - found Check size of unsigned short Check size of unsigned short - done Using unsigned short Check if the system is big endian - little endian Looking for fseeko Looking for fseeko - not found Looking for unistd.h Looking for unistd.h - found Check size of off64_t Check size of off64_t - done Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 - Failed Performing Test HAVE_C_WNO_ATTRIBUTES Performing Test HAVE_C_WNO_ATTRIBUTES - Success Performing Test HAVE_C_WNO_STRICT_PROTOTYPES Performing Test HAVE_C_WNO_STRICT_PROTOTYPES - Success Performing Test HAVE_C_WNO_MISSING_PROTOTYPES Performing Test HAVE_C_WNO_MISSING_PROTOTYPES - Success Performing Test HAVE_C_WNO_MISSING_DECLARATIONS Performing Test HAVE_C_WNO_MISSING_DECLARATIONS - Success Performing Test HAVE_C_WNO_SHIFT_NEGATIVE_VALUE Performing Test HAVE_C_WNO_SHIFT_NEGATIVE_VALUE - Failed Looking for assert.h Looking for assert.h - found Looking for fcntl.h Looking for fcntl.h - found Looking for io.h Looking for io.h - found Looking for jbg_newlen Looking for jbg_newlen - not found Looking for mmap Looking for mmap - not found Looking for search.h Looking for search.h - found Looking for string.h Looking for string.h - found Looking for unistd.h Looking for unistd.h - found Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE - Success Performing Test HAVE_C_WNO_UNDEF Performing Test HAVE_C_WNO_UNDEF - Success Performing Test HAVE_C_WNO_UNUSED Performing Test HAVE_C_WNO_UNUSED - Success Performing Test HAVE_C_WNO_SIGN_COMPARE Performing Test HAVE_C_WNO_SIGN_COMPARE - Success Performing Test HAVE_C_WNO_CAST_ALIGN Performing Test HAVE_C_WNO_CAST_ALIGN - Success Performing Test HAVE_C_WNO_SHADOW Performing Test HAVE_C_WNO_SHADOW - Success Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED - Success Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST - Success Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST - Success Performing Test HAVE_C_WNO_UNUSED_PARAMETER Performing Test HAVE_C_WNO_UNUSED_PARAMETER - Success Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER - Success Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION - Success Performing Test HAVE_C_WNO_UNINITIALIZED Performing Test HAVE_C_WNO_UNINITIALIZED - Success Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER - Success Performing Test HAVE_CXX_WNO_SHADOW Performing Test HAVE_CXX_WNO_SHADOW - Success Performing Test HAVE_CXX_WNO_UNUSED Performing Test HAVE_CXX_WNO_UNUSED - Success Performing Test HAVE_CXX_WNO_SIGN_COMPARE Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success Performing Test HAVE_CXX_WNO_UNDEF Performing Test HAVE_CXX_WNO_UNDEF - Success Performing Test HAVE_CXX_WNO_UNINITIALIZED Performing Test HAVE_CXX_WNO_UNINITIALIZED - Success Performing Test HAVE_CXX_WNO_SWITCH Performing Test HAVE_CXX_WNO_SWITCH - Success Performing Test HAVE_CXX_WNO_PARENTHESES Performing Test HAVE_CXX_WNO_PARENTHESES - Success Performing Test HAVE_CXX_WNO_EXTRA Performing Test HAVE_CXX_WNO_EXTRA - Success Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success CUDA compilation is disabled (due to only Visual Studio compiler supported on your platform). Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.0") Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) Performing Test HAVE_CXX_WNO_CLOBBERED Performing Test HAVE_CXX_WNO_CLOBBERED - Success
General configuration for OpenCV 2.4.13 ===================================== Version control: unknown
Platform: Host: Windows 10.0.14393 AMD64 CMake: 3.8.2 CMake generator: MinGW Makefiles CMake build tool: C:/PROGRA~2/CODEBL~1/MinGW/bin/mingw32-make.exe Configuration: Release
C/C++:
Built as dynamic libs?: YES
C++ Compiler: C:/Program Files (x86)/CodeBlocks/MinGW/bin/g++.exe (ver 4.9.2)
C++ flags (Release): -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-array-bounds -Wno-aggressive-loop-optimizations -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -msse -msse2 -mfpmath=sse -ffunction-sections -O2 -DNDEBUG -DNDEBUG
C++ flags (Debug): -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-array-bounds -Wno-aggressive-loop-optimizations -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -msse -msse2 -mfpmath=sse -ffunction-sections -g -O0 -DDEBUG -D_DEBUG
C Compiler: C:/Program Files (x86)/CodeBlocks/MinGW/bin/gcc.exe
C flags (Release): -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -Wno-array-bounds -Wno-aggressive-loop-optimizations -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -msse -msse2 -mfpmath=sse -ffunction-sections -O2 -DNDEBUG -DNDEBUG
C flags (Debug): -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -Wno-array-bounds -Wno-aggressive-loop-optimizations -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -msse -msse2 -mfpmath=sse -ffunction-sections -g -O0 -DDEBUG -D_DEBUG
Linker flags (Release):
Linker flags (Debug):
Precompiled headers: YES
OpenCV modules: To be built: core flann imgproc highgui features2d calib3d ml video legacy objdetect photo gpu ocl nonfree contrib stitching superres ts videostab Disabled: world Disabled by dependency: - Unavailable: androidcamera dynamicuda java python viz
Windows RT support: NO
GUI: QT: NO Win32 UI: YES OpenGL support: NO VTK support: NO
Media I/O: ZLib: build (ver 1.2.7) JPEG: build (ver 62) PNG: build (ver 1.5.12) TIFF: build (ver 42 - 4.0.2) JPEG 2000: build (ver 1.900.1) OpenEXR: build (ver 1.7.1)
Video I/O: Video for Windows: YES DC1394 1.x: NO DC1394 2.x: NO FFMPEG: YES (prebuilt binaries) codec: YES (ver 55.18.102) format: YES (ver 55.12.100) util: YES (ver 52.38.100) swscale: YES (ver 2.3.100) resample: NO gentoo-style: YES OpenNI: NO OpenNI PrimeSensor Modules: NO PvAPI: NO GigEVisionSDK: NO DirectShow: YES Media Foundation: NO XIMEA: NO Intel PerC: NO
Other third-party libraries: Use IPP: NO Use Eigen: NO Use TBB: NO Use OpenMP: NO Use GCD NO Use Concurrency NO Use C=: NO Use Cuda: NO Use OpenCL: YES
OpenCL: Version: dynamic Include path: C:/opencv/sources/3rdparty/include/opencl/1.2 Use AMD FFT: NO Use AMD BLAS: NO
Python: Interpreter: NO
Java: ant: NO JNI: NO Java tests: NO
Documentation: Build Documentation: NO Sphinx: NO PdfLaTeX compiler: NO Doxygen: NO
Tests and samples: Tests: YES Performance tests: YES C/C++ Examples: NO
Install path: C:/opencv/build/x64/MinGW/install
cvconfig.h is in: C:/opencv/build/x64/MinGW
CMake Warning at cmake/OpenCVPackaging.cmake:23 (message): CPACK_PACKAGE_VERSION does not match version provided by version.hpp header! Call Stack (most recent call first): CMakeLists.txt:1105 (include)
Configuring done
How to solve those errors? I am grateful for any contribution. Thank you in advance. Best Regards.