Open TOtto-EclipseIR opened 2 years ago
Reference:
OpenCV Source Code
https://github.com/opencv/opencv.git
& opencv_contrib
Prerequisites
https://cmake.org/download
, get cmake-3.22.3-windows_x86_64.msi
C:\Qt\6.3.2\mingw_64\bin
to the System PATHBuild OpenCV4
C:\lang\opencv\bin
, run 'cmake-gui.exe`
C:\git\opencv
C:\lang\opencv4\build
C:\Qt\Tools\mingw900_64\bin\gcc.exe
C:\Qt\Tools\mingw900_64\bin\g++.exe
CMAKE_MAKE_TOOL
to C:\Qt\Tools\mingw900_64\mingw32_make.exe
WITH_QT
WITH_OPENGL
QT6_DIR
to `C:\Qt..._, but doesn't seem to be there in this version.cd \lang\opencv4\build
mingw32-make -j2
Up to -j8
if you can get more coresmingw32-make install
CMake Error:
Consolidate compiler generated dependencies of target opencv_highgui
[ 38%] Linking CXX shared library ..\..\bin\libopencv_highgui455.dll
C:/Qt/Tools/mingw900_64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles\opencv_highgui.dir/objects.a(window_QT.cpp.obj):window_QT.cpp:(.text$_ZN14OpenGlViewPort12initializeGLEv+0xd): undefined reference to `__imp_glHint'
C:/Qt/Tools/mingw900_64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles\opencv_highgui.dir/objects.a(window_QT.cpp.obj):window_QT.cpp:(.text$_ZN14OpenGlViewPort8resizeGLEii+0xd): undefined reference to `__imp_glViewport'
C:/Qt/Tools/mingw900_64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles\opencv_highgui.dir/objects.a(window_QT.cpp.obj):window_QT.cpp:(.text$_ZN14OpenGlViewPort7paintGLEv+0xf): undefined reference to `__imp_glClear'
collect2.exe: error: ld returned 1 exit status
mingw32-make[2]: *** [modules\highgui\CMakeFiles\opencv_highgui.dir\build.make:241: bin/libopencv_highgui455.dll] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:2697: modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
mingw32-make: *** [Makefile:165: all] Error 2
[ ] Take VBox Snapshot
[ ] Try Install OpenGL
[ ] Restart mingw32-make
in C:\lang\opencv4\build
[ ] Well ????
The CXX compiler identification is GNU 11.2.0
The C compiler identification is GNU 11.2.0
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: C:/Qt/Tools/mingw900_64/bin/g++.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: C:/Qt/Tools/mingw900_64/bin/gcc.exe - skipped
Detecting C compile features
Detecting C compile features - done
Detected processor: AMD64
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 "3.2")
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_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_NON_VIRTUAL_DTOR
Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR - Success
Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR
Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR - Failed
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_WUNINITIALIZED
Performing Test HAVE_CXX_WUNINITIALIZED - Success
Performing Test HAVE_C_WUNINITIALIZED
Performing Test HAVE_C_WUNINITIALIZED - Success
Performing Test HAVE_CXX_WSUGGEST_OVERRIDE
Performing Test HAVE_CXX_WSUGGEST_OVERRIDE - Success
Performing Test HAVE_C_WSUGGEST_OVERRIDE
Performing Test HAVE_C_WSUGGEST_OVERRIDE - Failed
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_COMMENT
Performing Test HAVE_CXX_WNO_COMMENT - Success
Performing Test HAVE_C_WNO_COMMENT
Performing Test HAVE_C_WNO_COMMENT - Success
Performing Test HAVE_CXX_WIMPLICIT_FALLTHROUGH_3
Performing Test HAVE_CXX_WIMPLICIT_FALLTHROUGH_3 - Success
Performing Test HAVE_C_WIMPLICIT_FALLTHROUGH_3
Performing Test HAVE_C_WIMPLICIT_FALLTHROUGH_3 - Success
Performing Test HAVE_CXX_WNO_STRICT_OVERFLOW
Performing Test HAVE_CXX_WNO_STRICT_OVERFLOW - Success
Performing Test HAVE_C_WNO_STRICT_OVERFLOW
Performing Test HAVE_C_WNO_STRICT_OVERFLOW - 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_WNO_LONG_LONG
Performing Test HAVE_CXX_WNO_LONG_LONG - Success
Performing Test HAVE_C_WNO_LONG_LONG
Performing Test HAVE_C_WNO_LONG_LONG - 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_FFUNCTION_SECTIONS
Performing Test HAVE_CXX_FFUNCTION_SECTIONS - Success
Performing Test HAVE_C_FFUNCTION_SECTIONS
Performing Test HAVE_C_FFUNCTION_SECTIONS - Success
Performing Test HAVE_CXX_FDATA_SECTIONS
Performing Test HAVE_CXX_FDATA_SECTIONS - Success
Performing Test HAVE_C_FDATA_SECTIONS
Performing Test HAVE_C_FDATA_SECTIONS - Success
Performing Test HAVE_CXX_MSSE (check file: cmake/checks/cpu_sse.cpp)
Performing Test HAVE_CXX_MSSE - Success
Performing Test HAVE_CXX_MSSE2 (check file: cmake/checks/cpu_sse2.cpp)
Performing Test HAVE_CXX_MSSE2 - Success
Performing Test HAVE_CXX_MSSE3 (check file: cmake/checks/cpu_sse3.cpp)
Performing Test HAVE_CXX_MSSE3 - Success
Performing Test HAVE_CXX_MSSSE3 (check file: cmake/checks/cpu_ssse3.cpp)
Performing Test HAVE_CXX_MSSSE3 - Success
Performing Test HAVE_CXX_MSSE4_1 (check file: cmake/checks/cpu_sse41.cpp)
Performing Test HAVE_CXX_MSSE4_1 - Success
Performing Test HAVE_CXX_MPOPCNT (check file: cmake/checks/cpu_popcnt.cpp)
Performing Test HAVE_CXX_MPOPCNT - Success
Performing Test HAVE_CXX_MSSE4_2 (check file: cmake/checks/cpu_sse42.cpp)
Performing Test HAVE_CXX_MSSE4_2 - Success
Performing Test HAVE_CXX_MF16C (check file: cmake/checks/cpu_fp16.cpp)
Performing Test HAVE_CXX_MF16C - Success
Performing Test HAVE_CXX_MFMA
Performing Test HAVE_CXX_MFMA - Success
Performing Test HAVE_CXX_MAVX (check file: cmake/checks/cpu_avx.cpp)
Performing Test HAVE_CXX_MAVX - Success
Performing Test HAVE_CXX_MAVX2 (check file: cmake/checks/cpu_avx2.cpp)
Performing Test HAVE_CXX_MAVX2 - Success
Performing Test HAVE_CXX_MAVX512F (check file: cmake/checks/cpu_avx512.cpp)
Performing Test HAVE_CXX_MAVX512F - Success
Performing Test HAVE_CXX_MAVX512F_MAVX512CD (check file: cmake/checks/cpu_avx512common.cpp)
Performing Test HAVE_CXX_MAVX512F_MAVX512CD - Success
Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ (check file: cmake/checks/cpu_avx512skx.cpp)
Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ - Success
Performing Test HAVE_CPU_BASELINE_FLAGS
Performing Test HAVE_CPU_BASELINE_FLAGS - Success
Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1
Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 - Success
Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2
Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 - Success
Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16
Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 - Success
Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX
Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX - Success
Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2
Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 - Success
Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX
Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX - Success
Performing Test HAVE_CXX_FVISIBILITY_HIDDEN
Performing Test HAVE_CXX_FVISIBILITY_HIDDEN - Success
Performing Test HAVE_C_FVISIBILITY_HIDDEN
Performing Test HAVE_C_FVISIBILITY_HIDDEN - Success
Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN
Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN - Success
Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN
Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN - Failed
Looking for malloc.h
Looking for malloc.h - found
Looking for _aligned_malloc
Looking for _aligned_malloc - found
Looking for fseeko
Looking for fseeko - found
Looking for unistd.h
Looking for unistd.h - found
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 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 - Success
Performing Test HAVE_C_WNO_UNDEF
Performing Test HAVE_C_WNO_UNDEF - Success
Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH
Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH - Success
Performing Test HAVE_C_WNO_UNUSED_PARAMETER
Performing Test HAVE_C_WNO_UNUSED_PARAMETER - Success
Performing Test HAVE_C_WNO_SIGN_COMPARE
Performing Test HAVE_C_WNO_SIGN_COMPARE - Success
libjpeg-turbo: VERSION = 2.1.2, BUILD = opencv-4.5.5-libjpeg-turbo
Check size of size_t
Check size of size_t - done
Check size of unsigned long
Check size of unsigned long - done
Looking for assert.h
Looking for assert.h - found
Looking for dlfcn.h
Looking for dlfcn.h - not found
Looking for fcntl.h
Looking for fcntl.h - found
Looking for inttypes.h
Looking for inttypes.h - found
Looking for io.h
Looking for io.h - found
Looking for limits.h
Looking for limits.h - found
Looking for memory.h
Looking for memory.h - found
Looking for search.h
Looking for search.h - found
Looking for string.h
Looking for string.h - found
Looking for strings.h
Looking for strings.h - found
Looking for sys/time.h
Looking for sys/time.h - found
Looking for unistd.h
Looking for unistd.h - found
Performing Test C_HAS_inline
Performing Test C_HAS_inline - Success
Check size of signed short
Check size of signed short - done
Check size of unsigned short
Check size of unsigned short - done
Check size of signed int
Check size of signed int - done
Check size of unsigned int
Check size of unsigned int - done
Check size of signed long
Check size of signed long - done
Check size of signed long long
Check size of signed long long - done
Check size of unsigned long long
Check size of unsigned long long - done
Check size of unsigned char *
Check size of unsigned char * - done
Check size of ptrdiff_t
Check size of ptrdiff_t - done
Check size of INT8
Check size of INT8 - failed
Check size of INT16
Check size of INT16 - failed
Check size of INT32
Check size of INT32 - failed
Looking for floor
Looking for floor - found
Looking for pow
Looking for pow - found
Looking for sqrt
Looking for sqrt - found
Looking for isascii
Looking for isascii - found
Looking for memset
Looking for memset - found
Looking for mmap
Looking for mmap - not found
Looking for getopt
Looking for getopt - found
Looking for memmove
Looking for memmove - found
Looking for setmode
Looking for setmode - found
Looking for strcasecmp
Looking for strcasecmp - found
Looking for strchr
Looking for strchr - found
Looking for strrchr
Looking for strrchr - found
Looking for strstr
Looking for strstr - found
Looking for strtol
Looking for strtol - found
Looking for strtol
Looking for strtol - found
Looking for strtoull
Looking for strtoull - found
Looking for lfind
Looking for lfind - found
Performing Test HAVE_SNPRINTF
Performing Test HAVE_SNPRINTF - Success
Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE
Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE - Success
Performing Test HAVE_C_WNO_UNUSED
Performing Test HAVE_C_WNO_UNUSED - 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_MISLEADING_INDENTATION
Performing Test HAVE_C_WNO_MISLEADING_INDENTATION - 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_CXX_WNO_MISSING_PROTOTYPES
Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES - Failed
Performing Test HAVE_CXX_WNO_UNDEF
Performing Test HAVE_CXX_WNO_UNDEF - Success
Performing Test HAVE_C_STD_C99
Performing Test HAVE_C_STD_C99 - Success
Performing Test HAVE_C_WNO_UNUSED_VARIABLE
Performing Test HAVE_C_WNO_UNUSED_VARIABLE - Success
Performing Test HAVE_C_WNO_UNUSED_FUNCTION
Performing Test HAVE_C_WNO_UNUSED_FUNCTION - Success
Could NOT find OpenJPEG (minimal suitable version: 2.0, recommended version >= 2.3.1). OpenJPEG will be built from sources
Performing Test HAVE_C_WNO_IMPLICIT_CONST_INT_FLOAT_CONVERSION
Performing Test HAVE_C_WNO_IMPLICIT_CONST_INT_FLOAT_CONVERSION - Failed
OpenJPEG: VERSION = 2.4.0, BUILD = opencv-4.5.5-openjp2-2.4.0
Looking for stdlib.h
Looking for stdlib.h - found
Looking for stdio.h
Looking for stdio.h - found
Looking for math.h
Looking for math.h - found
Looking for float.h
Looking for float.h - found
Looking for time.h
Looking for time.h - found
Looking for stdarg.h
Looking for stdarg.h - found
Looking for ctype.h
Looking for ctype.h - found
Looking for stdint.h
Looking for stdint.h - found
Looking for inttypes.h
Looking for inttypes.h - found
Looking for sys/stat.h
Looking for sys/stat.h - found
Looking for include file malloc.h
Looking for include file malloc.h - found
Looking for _aligned_malloc
Looking for _aligned_malloc - found
Looking for posix_memalign
Looking for posix_memalign - not found
Looking for memalign
Looking for memalign - not found
Performing Test HAVE_C_WNO_CAST_FUNCTION_TYPE
Performing Test HAVE_C_WNO_CAST_FUNCTION_TYPE - Success
OpenJPEG libraries will be built from sources: libopenjp2 (version "2.4.0")
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_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_ARRAY_BOUNDS
Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - 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
Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION
Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION - Success
Performing Test HAVE_CXX_WNO_DEPRECATED
Performing Test HAVE_CXX_WNO_DEPRECATED - Success
Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE
Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE - Success
Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE
Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Failed
Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH
Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH - Success
Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_COMPARE
Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_COMPARE - Success
Performing Test HAVE_CXX_WNO_REORDER
Performing Test HAVE_CXX_WNO_REORDER - Success
Performing Test HAVE_CXX_WNO_UNUSED_RESULT
Performing Test HAVE_CXX_WNO_UNUSED_RESULT - Success
Performing Test HAVE_CXX_WNO_IMPLICIT_CONST_INT_FLOAT_CONVERSION
Performing Test HAVE_CXX_WNO_IMPLICIT_CONST_INT_FLOAT_CONVERSION - Failed
Performing Test HAVE_CXX_WNO_CLASS_MEMACCESS
Performing Test HAVE_CXX_WNO_CLASS_MEMACCESS - Success
Could not find OpenBLAS include. Turning OpenBLAS_FOUND off
Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
Looking for sgemm_
Looking for sgemm_ - not found
Found Threads: TRUE
Found OpenMP_C: -fopenmp (found version "4.5")
Found OpenMP: TRUE (found version "4.5") found components: C
Could NOT find BLAS (missing: BLAS_LIBRARIES)
Could NOT find LAPACK (missing: LAPACK_LIBRARIES)
Reason given by package: LAPACK could not be found because dependency BLAS could not be found.
Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS
Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS - Success
Performing Test HAVE_CXX_WNO_SIGN_PROMO
Performing Test HAVE_CXX_WNO_SIGN_PROMO - Success
Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE
Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE - Failed
Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS
Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS - Success
Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION
Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION - Success
Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE
Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE - Success
Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32
Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 - Failed
Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF
Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF - Success
Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH
Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH - Failed
Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
ADE: Download: v0.1.1f.zip
FFMPEG: Download: opencv_videoio_ffmpeg.dll
FFMPEG: Download: opencv_videoio_ffmpeg_64.dll
FFMPEG: Download: ffmpeg_version.cmake
Looking for dshow.h
Looking for dshow.h - found
Consider adding OPENCV_ALLOCATOR_STATS_COUNTER_TYPE=int/int64_t according to your build configuration
Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': C:/git/opencv/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake
opencv_dnn: filter out cuda4dnn source code
Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.rvv.cpp
imgcodecs: OpenEXR codec is disabled in runtime. Details: https://github.com/opencv/opencv/issues/21326
highgui: using builtin backend: WIN32UI
Found 'misc' Python modules from C:/git/opencv/modules/python/package/extra_modules
Found 'mat_wrapper;utils' Python modules from C:/git/opencv/modules/core/misc/python/package
Found 'gapi' Python modules from C:/git/opencv/modules/gapi/misc/python/package
General configuration for OpenCV 4.5.5 =====================================
Version control: 4.5.5
Platform:
Timestamp: 2022-03-07T18:10:42Z
Host: Windows 10.0.19044 AMD64
CMake: 3.22.3
CMake generator: MinGW Makefiles
CMake build tool: C:/Qt/Tools/mingw900_64/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 AVX512_SKX
requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
SSE4_1 (18 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 (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
AVX2 (33 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
AVX512_SKX (8 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX
C/C++:
Built as dynamic libs?: YES
C++ standard: 11
C++ Compiler: C:/Qt/Tools/mingw900_64/bin/g++.exe (ver 11.2.0)
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 -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -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): -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 -Wsuggest-override -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:/Qt/Tools/mingw900_64/bin/gcc.exe
C flags (Release): -fsigned-char -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 -Wuninitialized -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=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -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: calib3d core dnn features2d flann gapi highgui imgcodecs imgproc ml objdetect photo stitching ts video videoio
Disabled: world
Disabled by dependency: -
Unavailable: java python2 python3
Applications: tests perf_tests apps
Documentation: NO
Non-free algorithms: NO
Windows RT support: NO
GUI: WIN32UI
Win32 UI: YES
VTK support: NO
Media I/O:
ZLib: build (ver 1.2.11)
JPEG: build-libjpeg-turbo (ver 2.1.2-62)
WEBP: build (ver encoder: 0x020f)
PNG: build (ver 1.6.37)
TIFF: build (ver 42 - 4.2.0)
JPEG 2000: build (ver 2.4.0)
OpenEXR: build (ver 2.3.0)
HDR: YES
SUNRASTER: YES
PXM: YES
PFM: YES
Video I/O:
DC1394: NO
FFMPEG: YES (prebuilt binaries)
avcodec: YES (58.134.100)
avformat: YES (58.76.100)
avutil: YES (56.70.100)
swscale: YES (5.9.100)
avresample: YES (4.0.0)
GStreamer: NO
DirectShow: YES
Parallel framework: none
Trace: YES (built-in)
Other third-party libraries:
Lapack: NO
Eigen: NO
Custom HAL: NO
Protobuf: build (3.19.1)
OpenCL: YES (no extra features)
Include path: C:/git/opencv/3rdparty/include/opencl/1.2
Link libraries: Dynamic load
Python (for build): NO
Java:
ant: NO
JNI: NO
Java wrappers: NO
Java tests: NO
Install to: C:/lang/opencv4/build/install
-----------------------------------------------------------------
Configuring done
Detected processor: AMD64
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 "3.2")
libjpeg-turbo: VERSION = 2.1.2, BUILD = opencv-4.5.5-libjpeg-turbo
Could NOT find OpenJPEG (minimal suitable version: 2.0, recommended version >= 2.3.1). OpenJPEG will be built from sources
OpenJPEG: VERSION = 2.4.0, BUILD = opencv-4.5.5-openjp2-2.4.0
OpenJPEG libraries will be built from sources: libopenjp2 (version "2.4.0")
Performing Test HAVE_STDATOMIC
Performing Test HAVE_STDATOMIC - Success
Could not find OpenBLAS include. Turning OpenBLAS_FOUND off
Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
Could NOT find BLAS (missing: BLAS_LIBRARIES)
Could NOT find LAPACK (missing: LAPACK_LIBRARIES)
Reason given by package: LAPACK could not be found because dependency BLAS could not be found.
Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
Consider adding OPENCV_ALLOCATOR_STATS_COUNTER_TYPE=int/int64_t according to your build configuration
Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': C:/git/opencv/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake
opencv_dnn: filter out cuda4dnn source code
Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.rvv.cpp
imgcodecs: OpenEXR codec is disabled in runtime. Details: https://github.com/opencv/opencv/issues/21326
highgui: using builtin backend: QT6
Found 'misc' Python modules from C:/git/opencv/modules/python/package/extra_modules
Found 'mat_wrapper;utils' Python modules from C:/git/opencv/modules/core/misc/python/package
Found 'gapi' Python modules from C:/git/opencv/modules/gapi/misc/python/package
General configuration for OpenCV 4.5.5 =====================================
Version control: 4.5.5
Platform:
Timestamp: 2022-03-07T18:10:42Z
Host: Windows 10.0.19044 AMD64
CMake: 3.22.3
CMake generator: MinGW Makefiles
CMake build tool: C:/Qt/Tools/mingw900_64/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 AVX512_SKX
requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
SSE4_1 (18 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 (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
AVX2 (33 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
AVX512_SKX (8 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX
C/C++:
Built as dynamic libs?: YES
C++ standard: 11
C++ Compiler: C:/Qt/Tools/mingw900_64/bin/g++.exe (ver 11.2.0)
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 -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -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): -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 -Wsuggest-override -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:/Qt/Tools/mingw900_64/bin/gcc.exe
C flags (Release): -fsigned-char -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 -Wuninitialized -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=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -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: calib3d core dnn features2d flann gapi highgui imgcodecs imgproc ml objdetect photo stitching ts video videoio
Disabled: world
Disabled by dependency: -
Unavailable: java python2 python3
Applications: tests perf_tests apps
Documentation: NO
Non-free algorithms: NO
Windows RT support: NO
GUI: QT6
QT: YES (ver 6.2.3 )
QT OpenGL support: YES (Qt6::OpenGL )
Win32 UI: YES
OpenGL support: YES (opengl32 glu32)
VTK support: NO
Media I/O:
ZLib: build (ver 1.2.11)
JPEG: build-libjpeg-turbo (ver 2.1.2-62)
WEBP: build (ver encoder: 0x020f)
PNG: build (ver 1.6.37)
TIFF: build (ver 42 - 4.2.0)
JPEG 2000: build (ver 2.4.0)
OpenEXR: build (ver 2.3.0)
HDR: YES
SUNRASTER: YES
PXM: YES
PFM: YES
Video I/O:
DC1394: NO
FFMPEG: YES (prebuilt binaries)
avcodec: YES (58.134.100)
avformat: YES (58.76.100)
avutil: YES (56.70.100)
swscale: YES (5.9.100)
avresample: YES (4.0.0)
GStreamer: NO
DirectShow: YES
Parallel framework: none
Trace: YES (built-in)
Other third-party libraries:
Lapack: NO
Eigen: NO
Custom HAL: NO
Protobuf: build (3.19.1)
OpenCL: YES (no extra features)
Include path: C:/git/opencv/3rdparty/include/opencl/1.2
Link libraries: Dynamic load
Python (for build): NO
Java:
ant: NO
JNI: NO
Java wrappers: NO
Java tests: NO
Install to: C:/lang/opencv4/build/install
-----------------------------------------------------------------
Configuring done
Generating done```
Development: Titan Native Ubuntu, GCC9, Qt6, OpenCV4
Testing: In INDI4run Linux VirtualBox
[x] Fork OpenCV tag=4.5.5 from repository
[x] Build OpenCV 4.5.5 from Sources
[ ] Build: Compile, Link, Start
[ ] Deal with expiration
[ ] Promote to Current and Release as Alpha1
[ ] Setup Testing VirtualBox
[ ] Functional Test
Using pre-build INDIruntime with OpenCV2
Development: None
Testing: In INDI4run Windows VirtualBox
[x] Setup Testing VirtualBox
[ ] Functional Test
Development: Titan Native Ubuntu, GCC9, Qt6, OpenCV4
Testing: In INDI6run Linux VirtualBox
[x] Port from INDI4
[ ] Code Cleanup
[ ] Promote to Current and Release as Alpha1
[ ] Setup Development Environment
[ ] Build OpenCV 4.5.5 from Sources
[ ] Build: Compile, Link, Start
[ ] Setup Testing VirtualBox
[ ] Functional Test
[ ] VirtualBox to Smiler for Regression Testing
Development: In INDIbuild Linux VirtualBox,
Testing: In INDIrun Linux VirtualBox
[ ] Setup Development Environment
[x] Port from INDI4
[ ] Deal with expiration
[ ] Integrate Linux Code Cleanup
[ ] Integrate into INDI6 Repository
[ ] Setup Development VirtualBox
[ ] Build OpenCV 4.5.5 from Sources
[ ] Promote to Current and Release as Alpha1
[ ] Build: Compile, Link, Start
[ ] Setup Testing VirtualBox
[ ] Functional Test
[ ] VirtualBox to Smiler for Regression Testing
Targets
(Details on each in separate comments below.)
Windows - 32bit v4 Existing years old deployment based upon Qt4. Rock solid performance (with a few exceptions: #2, #6, #7). MSVC-based with OpenCV2.
Linux - 64bit v4 Bring forward source code and build in 64-bit Linux (Ubuntu 20.4 LTS for now). Qt6-based, GCC-toolchain, with OpenCV4 (v4.5.1 at the moment) build from source with CMake.
[ ] Regression Testing
Windows - 64bit v4 Bring forward source code and build in 64-bit Linux (Ubuntu 20.4 LTS for now). Qt6-based, GCC-toolchain, with OpenCV4 (v4.5.1 at the moment) build from source with CMake.
Linux - 64bit v6 Bring forward source code and build in 64-bit Linux (Ubuntu 20.4 LTS for now). Qt6-based, GCC-toolchain, with OpenCV4 (v4.5.1 at the moment) build from source with CMake.
Windows - 64bit v6
Other Issues