Opencv 4.5+ c++ on Ubuntu 18.04

is there a script for installing opencv 4.5+ c++ on Ubuntu 18.04?

if “script” means: install something prebuilt – forget the idea immediately.

build locally from github src

I want to make opencv4+ c++ on Ubuntu18.04 Server. Can I give specific installation dependencies and cmake specific commands? I tried cmake many times and failed.

show what you tried, and the resp. errors, then we can try to help

!sudo apt-get update 

! sudo apt-get install -y cmake build-essential pkg-config ant \
 libtiff5-dev libopenexr-dev libwebp-dev Libpng-dev \
 libdc1394-22-dev libavcodec-dev libavformat-dev libswscale-dev libavresample-dev Libv4l-dev \
  Libgtk-3-dev  Libtesseract-dev   Libhdf5-dev -y libopenblas-dev libopenblas-base Liblapacke-dev  \
 libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev  \
 Libtbb-dev 


lists... Done Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package Libpng-dev E: Unable to locate package Libv4l-dev E: Unable to locate package Libgtk-3-dev E: Unable to locate package Libtesseract-dev E: Unable to locate package Libhdf5-dev E: Unable to locate package Liblapacke-dev E: Unable to locate package Libtbb-dev
%cd  opencv/build

!cmake -D CMAKE_BUILD_TYPE=RELEASE \
    -D CMAKE_INSTALL_PREFIX=/usr/local \
    -D WITH_CUDA=OFF \
    -D OPENCV_EXTRA_MODULES_PATH=/hy-nas/opencv_contrib/modules \
    -D INSTALL_PYTHON_EXAMPLES=ON \
    -D INSTALL_C_EXAMPLES=OFF \
    -D PYTHON_EXECUTABLE=/usr/bin/python \
    -D BUILD_opencv_python3=ON \
    -D PYTHON3_EXECUTABLE=/usr/bin/python3.8 \
    -D WITH_GSTREAMER=ON \
    -D WITH_TBB=ON \
    -D WITH_LIBV4L=ON .. \
    -D OPENCV_ENABLE_NONFREE=ON \
    -D WITH_PROTOBUF=ON \
    -D BUILD_EXAMPLES=ON ..




hy-nas/opencv/build
-- Detected processor: x86_64
-- Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "2.7" (found /usr/bin/python)
-- Looking for ccache - not found
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.11", minimum required is "1.2.3") 
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) 
-- libjpeg-turbo: VERSION = 2.0.5, BUILD = opencv-4.5.0-libjpeg-turbo
-- Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR) 
-- Could NOT find OpenJPEG (minimal suitable version: 2.0, recommended version >= 2.3.1). OpenJPEG will be built from sources
-- OpenJPEG: VERSION = 2.3.1, BUILD = opencv-4.5.0-openjp2-2.3.1
-- OpenJPEG libraries will be built from sources: libopenjp2 (version "2.3.1")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") 
-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) 
-- Checking for module 'gtk+-3.0'
--   No package 'gtk+-3.0' found
-- Checking for module 'gtk+-2.0'
--   No package 'gtk+-2.0' found
-- IPPICV: Download: ippicv_2020_lnx_intel64_20191018_general.tgz
-- Try 1 failed
CMake Warning at cmake/OpenCVDownload.cmake:202 (message):
  IPPICV: Download failed: 35;"SSL connect error"

  For details please refer to the download log file:

  /hy-nas/opencv/build/CMakeDownloadLog.txt

Call Stack (most recent call first):
  3rdparty/ippicv/ippicv.cmake:37 (ocv_download)
  cmake/OpenCVFindIPP.cmake:244 (download_ippicv)
  cmake/OpenCVFindLibsPerf.cmake:12 (include)
  CMakeLists.txt:696 (include)


-- Could not find OpenBLAS include. Turning OpenBLAS_FOUND off
-- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
-- Could NOT find Atlas (missing: Atlas_CBLAS_INCLUDE_DIR Atlas_CLAPACK_INCLUDE_DIR Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY Atlas_LAPACK_LIBRARY) 
-- 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.
-- Found apache ant: /usr/bin/ant (1.10.5)
-- 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 Flake8 (missing: FLAKE8_EXECUTABLE) 
-- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
-- OpenCV Python: during development append to PYTHONPATH: /hy-nas/opencv/build/python_loader
-- Checking for modules 'libavcodec;libavformat;libavutil;libswscale'
--   No package 'libavcodec' found
--   No package 'libavformat' found
--   No package 'libavutil' found
--   No package 'libswscale' found
-- FFMPEG is disabled. Required libraries: libavcodec;libavformat;libavutil;libswscale. Missing libraries: libavcodec;libavformat;libavutil;libswscale
-- Checking for module 'libdc1394-2'
--   No package 'libdc1394-2' found
-- Module opencv_alphamat disabled because the following dependencies are not found: Eigen
-- Caffe:   NO
-- Protobuf:   NO
-- Glog:   NO
-- Checking for module 'freetype2'
--   No package 'freetype2' found
-- Checking for module 'harfbuzz'
--   No package 'harfbuzz' found
-- freetype2:   NO
-- harfbuzz:    NO
-- Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS) (found version "")
-- Julia not found. Not compiling Julia Bindings. 
-- 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
-- Checking for module 'tesseract'
--   No package 'tesseract' found
-- Tesseract:   NO
-- Allocator metrics storage type: 'long long'
-- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': /hy-nas/opencv/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake
-- opencv_dnn: filter out cuda4dnn source code
-- xfeatures2d/boostdesc: Download: boostdesc_bgm.i

can you try again with the cmake output ? it’s incomplete
(we need to see, if the configuration step failed or not, and why)


!rm -r opencv/build
!mkdir opencv/build
%cd opencv/build
!cmake -D CMAKE_BUILD_TYPE=RELEASE
-D CMAKE_INSTALL_PREFIX=/usr/local
-D INSTALL_PYTHON_EXAMPLES=ON
-D INSTALL_C_EXAMPLES=0FF
-D OPENCV_ENABLE_NONFREE=ON
-D WITH_CUDA=ON
-D WITH_CUDNN=ON
-D OPENCV_DNN_CUDA=ON
-D ENABLE_FAST_MATH=1
-D CUDA_FAST_MATH=1
-D CUDA_ARCH_BIN=7.5
-D WITH_CUBLAS=1
-D OPENCV_EXTRA_MODULES_PATH=/hy-nas/59/AlphaPose/opencv/opencv_contrib/modules/
-D HAVE_opencv_python3=ON
-D PYTHON_EXECUTABLE=usr/bin/python3.8
-D BUILD_EXAMPLES=ON …



/hy-nas/opencv/build
– The CXX compiler identification is GNU 7.5.0
– The C compiler identification is GNU 7.5.0
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – 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: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Detected processor: x86_64
– Could NOT find PythonInterp: Found unsuitable version “1.4”, but required is at least “2.7” (found /hy-nas/opencv/build/usr/bin/python3.8)
– Found PythonInterp: /usr/local/bin/python3 (found suitable version “3.8.10”, minimum required is “3.2”)
– Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found suitable exact version “3.8.10”)
– Looking for ccache - not found
– 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_FFAST_MATH
– Performing Test HAVE_CXX_FFAST_MATH - Success
– Performing Test HAVE_C_FFAST_MATH
– Performing Test HAVE_C_FFAST_MATH - 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_PTHREAD
– Performing Test HAVE_CXX_PTHREAD - Success
– Performing Test HAVE_C_PTHREAD
– Performing Test HAVE_C_PTHREAD - 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
– Performing Test HAVE_LINK_AS_NEEDED
– Performing Test HAVE_LINK_AS_NEEDED - Success
– Looking for pthread.h
– Looking for pthread.h - found
– Looking for posix_memalign
– Looking for posix_memalign - found
– Looking for malloc.h
– Looking for malloc.h - found
– Looking for memalign
– Looking for memalign - found
– 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
– Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version “1.2.11”, minimum required is “1.2.3”)
– Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
– 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
– Performing Test HAVE_C_WNO_SHORTEN_64_TO_32
– Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 - Failed
– Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH
– Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH - Success
– libjpeg-turbo: VERSION = 2.0.5, BUILD = opencv-4.5.0-libjpeg-turbo
– Check size of size_t
– Check size of size_t - done
– Check size of unsigned long
– Check size of unsigned long - done
– Performing Test HAVE_BUILTIN_CTZL
– Performing Test HAVE_BUILTIN_CTZL - Success
– Looking for include file locale.h
– Looking for include file locale.h - found
– Looking for include file stdlib.h
– Looking for include file stdlib.h - found
– Looking for include file sys/types.h
– Looking for include file sys/types.h - found
– Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
– Looking for assert.h
– Looking for assert.h - found
– Looking for dlfcn.h
– Looking for dlfcn.h - 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 - not 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 - found
– Looking for getopt
– Looking for getopt - found
– Looking for memmove
– Looking for memmove - found
– Looking for setmode
– Looking for setmode - not 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
– Check if the system is big endian
– Searching 16 bit integer
– Using unsigned short
– Check if the system is big endian - little endian
– Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE
– Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE - 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_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_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
– OpenJPEG: VERSION = 2.3.1, BUILD = opencv-4.5.0-openjp2-2.3.1
– Check if the system is big endian
– Searching 16 bit integer
– Using unsigned short
– Check if the system is big endian - little endian
– 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 - not found
– Looking for posix_memalign
– Looking for posix_memalign - found
– Looking for memalign
– Looking for memalign - found
– Performing Test HAVE_C_WNO_STRICT_PROTOTYPES
– Performing Test HAVE_C_WNO_STRICT_PROTOTYPES - Success
– Performing Test HAVE_C_WNO_CAST_FUNCTION_TYPE
– Performing Test HAVE_C_WNO_CAST_FUNCTION_TYPE - Failed
– OpenJPEG libraries will be built from sources: libopenjp2 (version “2.3.1”)
– Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version “1.2.11”)
– Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
– Looking for semaphore.h
– Looking for semaphore.h - found
– 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
– Checking for module ‘gtk±3.0’
– No package ‘gtk±3.0’ found
– Checking for module ‘gtk±2.0’
– No package ‘gtk±2.0’ found
– Checking for module ‘gthread-2.0’
– Found gthread-2.0, version 2.56.4
– IPPICV: Download: ippicv_2020_lnx_intel64_20191018_general.tgz

Stop here and can’t carry on