opencv / opencv-python

Automated CI toolchain to produce precompiled opencv-python, opencv-python-headless, opencv-contrib-python and opencv-contrib-python-headless packages.
https://pypi.org/project/opencv-python/
MIT License
4.5k stars 844 forks source link

Failed building wheel #828

Closed Daito-97 closed 1 year ago

Daito-97 commented 1 year ago

Hi. Trying to install opencv using pip3 install opencv-python command but experiencing this error. Python version is 3.9.13

Building wheel for opencv-python (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for opencv-python (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [792 lines of output]

  --------------------------------------------------------------------------------
  -- Trying 'Ninja' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.Not searching for unused variables given on the command line.

  -- Configuring incomplete, errors occurred!
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'Ninja' generator - failure
  --------------------------------------------------------------------------------

  --------------------------------------------------------------------------------
  -- Trying 'Unix Makefiles' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  -- The C compiler identification is AppleClang 10.0.1.10010046
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- The CXX compiler identification is AppleClang 10.0.1.10010046
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Configuring done (1.4s)
  -- Generating done (0.0s)
  -- Build files have been written to: /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_cmake_test_compile/build
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'Unix Makefiles' generator - success
  --------------------------------------------------------------------------------

  Configuring Project
    Working directory:
      /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_skbuild/macosx-10.14-x86_64-3.9/cmake-build
    Command:
      /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-build-env-ko9btr5q/overlay/lib/python3.9/site-packages/cmake/data/bin/cmake /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/opencv -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX:PATH=/private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_skbuild/macosx-10.14-x86_64-3.9/cmake-install -DPYTHON_VERSION_STRING:STRING=3.9.13 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-build-env-ko9btr5q/overlay/lib/python3.9/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -DPYTHON_INCLUDE_DIR:PATH=/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -DPYTHON_LIBRARY:PATH=/Library/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib -DPython_EXECUTABLE:PATH=/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -DPython_ROOT_DIR:PATH=/Library/Frameworks/Python.framework/Versions/3.9 -DPython_INCLUDE_DIR:PATH=/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -DPython_FIND_REGISTRY:STRING=NEVER -DPython_NumPy_INCLUDE_DIRS:PATH=/private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-build-env-ko9btr5q/overlay/lib/python3.9/site-packages/numpy/core/include -DPython3_EXECUTABLE:PATH=/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -DPython3_ROOT_DIR:PATH=/Library/Frameworks/Python.framework/Versions/3.9 -DPython3_INCLUDE_DIR:PATH=/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_NumPy_INCLUDE_DIRS:PATH=/private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-build-env-ko9btr5q/overlay/lib/python3.9/site-packages/numpy/core/include -DPYTHON3_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -DPYTHON3_INCLUDE_DIR=/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -DPYTHON3_LIBRARY=/Library/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib -DBUILD_opencv_python3=ON -DBUILD_opencv_python2=OFF -DBUILD_opencv_java=OFF -DOPENCV_PYTHON3_INSTALL_PATH=python -DINSTALL_CREATE_DISTRIB=ON -DBUILD_opencv_apps=OFF -DBUILD_opencv_freetype=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_DOCS=OFF -DPYTHON3_LIMITED_API=ON -DBUILD_OPENEXR=ON -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.14 -DCMAKE_OSX_ARCHITECTURES:STRING=x86_64

  -- The CXX compiler identification is AppleClang 10.0.1.10010046
  -- The C compiler identification is AppleClang 10.0.1.10010046
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - 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: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- ocv_init_download: OpenCV source tree is not fetched as git repository. 3rdparty resources will be downloaded from github.com by default.
  -- Detected processor: x86_64
  -- Found PythonInterp: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 (found suitable version "3.9.13", minimum required is "2.7")
  CMake Warning at cmake/OpenCVDetectPython.cmake:81 (message):
    CMake's 'find_host_package(PythonInterp 2.7)' found wrong Python version:

    PYTHON_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9

    PYTHON_VERSION_STRING=3.9.13

    Consider providing the 'PYTHON2_EXECUTABLE' variable via CMake command line
    or environment variables

  Call Stack (most recent call first):
    cmake/OpenCVDetectPython.cmake:271 (find_python)
    CMakeLists.txt:643 (include)

  -- Found Python2: /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 (found version "2.7.16") found components: Interpreter
  -- Found PythonInterp: /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 (found version "2.7.16")
  -- Could NOT find PythonLibs: Found unsuitable version "3.9.13", but required is exact version "2.7.16" (found /Library/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib)
  Error processing line 1 of /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/distutils-precedence.pth:

    Traceback (most recent call last):
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 152, in addpackage
        exec line
      File "<string>", line 1, in <module>
      File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/_distutils_hack/__init__.py", line 194
        f'spec_for_{name}',
                         ^
    SyntaxError: invalid syntax

  Remainder of file ignored
  Error processing line 1 of /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/distutils-precedence.pth:

    Traceback (most recent call last):
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 152, in addpackage
        exec line
      File "<string>", line 1, in <module>
      File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/_distutils_hack/__init__.py", line 194
        f'spec_for_{name}',
                         ^
    SyntaxError: invalid syntax

  Remainder of file ignored
  Error processing line 1 of /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/distutils-precedence.pth:

    Traceback (most recent call last):
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 152, in addpackage
        exec line
      File "<string>", line 1, in <module>
      File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/_distutils_hack/__init__.py", line 194
        f'spec_for_{name}',
                         ^
    SyntaxError: invalid syntax

  Remainder of file ignored
  -- Found PythonInterp: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 (found suitable version "3.9.13", minimum required is "3.2")
  -- Found PythonLibs: /Library/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib (found suitable exact version "3.9.13")
  -- 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_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_WRETURN_TYPE
  -- Performing Test HAVE_CXX_WRETURN_TYPE - Success
  -- Performing Test HAVE_C_WRETURN_TYPE
  -- Performing Test HAVE_C_WRETURN_TYPE - Success
  -- Performing Test HAVE_CXX_WNON_VIRTUAL_DTOR
  -- Performing Test HAVE_CXX_WNON_VIRTUAL_DTOR - Success
  -- Performing Test HAVE_C_WNON_VIRTUAL_DTOR
  -- Performing Test HAVE_C_WNON_VIRTUAL_DTOR - Success
  -- Performing Test HAVE_CXX_WADDRESS
  -- Performing Test HAVE_CXX_WADDRESS - Success
  -- Performing Test HAVE_C_WADDRESS
  -- Performing Test HAVE_C_WADDRESS - Success
  -- Performing Test HAVE_CXX_WSEQUENCE_POINT
  -- Performing Test HAVE_CXX_WSEQUENCE_POINT - Success
  -- Performing Test HAVE_C_WSEQUENCE_POINT
  -- Performing Test HAVE_C_WSEQUENCE_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_WFORMAT_SECURITY
  -- Performing Test HAVE_CXX_WFORMAT_SECURITY - Success
  -- Performing Test HAVE_C_WFORMAT_SECURITY
  -- Performing Test HAVE_C_WFORMAT_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 - Success
  -- 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 - Success
  -- 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 - Success
  -- 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_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 - Success
  -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
  -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success
  -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
  -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success
  -- 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_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_QUNUSED_ARGUMENTS
  -- Performing Test HAVE_CXX_QUNUSED_ARGUMENTS - Success
  -- Performing Test HAVE_C_QUNUSED_ARGUMENTS
  -- Performing Test HAVE_C_QUNUSED_ARGUMENTS - Success
  -- Performing Test HAVE_CXX_WNO_SEMICOLON_BEFORE_METHOD_BODY
  -- Performing Test HAVE_CXX_WNO_SEMICOLON_BEFORE_METHOD_BODY - Success
  -- Performing Test HAVE_C_WNO_SEMICOLON_BEFORE_METHOD_BODY
  -- Performing Test HAVE_C_WNO_SEMICOLON_BEFORE_METHOD_BODY - 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_CPU_SSE_SUPPORT (check file: cmake/checks/cpu_sse.cpp)
  -- Performing Test HAVE_CPU_SSE_SUPPORT - Success
  -- Performing Test HAVE_CPU_SSE2_SUPPORT (check file: cmake/checks/cpu_sse2.cpp)
  -- Performing Test HAVE_CPU_SSE2_SUPPORT - Success
  -- Performing Test HAVE_CPU_SSE3_SUPPORT (check file: cmake/checks/cpu_sse3.cpp)
  -- Performing Test HAVE_CPU_SSE3_SUPPORT - Success
  -- Performing Test HAVE_CPU_SSSE3_SUPPORT (check file: cmake/checks/cpu_ssse3.cpp)
  -- Performing Test HAVE_CPU_SSSE3_SUPPORT - Success
  -- Performing Test HAVE_CPU_SSE4_1_SUPPORT (check file: cmake/checks/cpu_sse41.cpp)
  -- Performing Test HAVE_CPU_SSE4_1_SUPPORT - Success
  -- Performing Test HAVE_CPU_POPCNT_SUPPORT (check file: cmake/checks/cpu_popcnt.cpp)
  -- Performing Test HAVE_CPU_POPCNT_SUPPORT - Failed
  -- Performing Test HAVE_CXX_MPOPCNT (check file: cmake/checks/cpu_popcnt.cpp)
  -- Performing Test HAVE_CXX_MPOPCNT - Success
  -- Performing Test HAVE_CPU_SSE4_2_SUPPORT (check file: cmake/checks/cpu_sse42.cpp)
  -- Performing Test HAVE_CPU_SSE4_2_SUPPORT - Failed
  -- Performing Test HAVE_CXX_MSSE4_2 (check file: cmake/checks/cpu_sse42.cpp)
  -- Performing Test HAVE_CXX_MSSE4_2 - Success
  -- Performing Test HAVE_CPU_FP16_SUPPORT (check file: cmake/checks/cpu_fp16.cpp)
  -- Performing Test HAVE_CPU_FP16_SUPPORT - Failed
  -- 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_CPU_AVX_SUPPORT (check file: cmake/checks/cpu_avx.cpp)
  -- Performing Test HAVE_CPU_AVX_SUPPORT - Failed
  -- Performing Test HAVE_CXX_MAVX (check file: cmake/checks/cpu_avx.cpp)
  -- Performing Test HAVE_CXX_MAVX - Success
  -- Performing Test HAVE_CPU_AVX2_SUPPORT (check file: cmake/checks/cpu_avx2.cpp)
  -- Performing Test HAVE_CPU_AVX2_SUPPORT - Failed
  -- Performing Test HAVE_CXX_MAVX2 (check file: cmake/checks/cpu_avx2.cpp)
  -- Performing Test HAVE_CXX_MAVX2 - Success
  -- Performing Test HAVE_CPU_AVX_512F_SUPPORT (check file: cmake/checks/cpu_avx512.cpp)
  -- Performing Test HAVE_CPU_AVX_512F_SUPPORT - Failed
  -- Performing Test HAVE_CXX_MAVX512F (check file: cmake/checks/cpu_avx512.cpp)
  -- Performing Test HAVE_CXX_MAVX512F - Success
  -- Performing Test HAVE_CPU_AVX512_COMMON_SUPPORT (check file: cmake/checks/cpu_avx512common.cpp)
  -- Performing Test HAVE_CPU_AVX512_COMMON_SUPPORT - Failed
  -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD (check file: cmake/checks/cpu_avx512common.cpp)
  -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD - Success
  -- Performing Test HAVE_CPU_AVX512_KNL_SUPPORT (check file: cmake/checks/cpu_avx512knl.cpp)
  -- Performing Test HAVE_CPU_AVX512_KNL_SUPPORT - Failed
  -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512ER_MAVX512PF (check file: cmake/checks/cpu_avx512knl.cpp)
  -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512ER_MAVX512PF - Success
  -- Performing Test HAVE_CPU_AVX512_KNM_SUPPORT (check file: cmake/checks/cpu_avx512knm.cpp)
  -- Performing Test HAVE_CPU_AVX512_KNM_SUPPORT - Failed
  -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512ER_MAVX512PF_MAVX5124FMAPS_MAVX5124VNNIW_MAVX512VPOPCNTDQ (check file: cmake/checks/cpu_avx512knm.cpp)
  -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512ER_MAVX512PF_MAVX5124FMAPS_MAVX5124VNNIW_MAVX512VPOPCNTDQ - Failed
  -- AVX512_KNM is not supported by C++ compiler
  -- Performing Test HAVE_CPU_AVX512_SKX_SUPPORT (check file: cmake/checks/cpu_avx512skx.cpp)
  -- Performing Test HAVE_CPU_AVX512_SKX_SUPPORT - Failed
  -- 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_AVX512_CNL_SUPPORT (check file: cmake/checks/cpu_avx512cnl.cpp)
  -- Performing Test HAVE_CPU_AVX512_CNL_SUPPORT - Failed
  -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ_MAVX512IFMA_MAVX512VBMI (check file: cmake/checks/cpu_avx512cnl.cpp)
  -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ_MAVX512IFMA_MAVX512VBMI - Success
  -- Performing Test HAVE_CPU_AVX512_CLX_SUPPORT (check file: cmake/checks/cpu_avx512clx.cpp)
  -- Performing Test HAVE_CPU_AVX512_CLX_SUPPORT - Failed
  -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ_MAVX512VNNI (check file: cmake/checks/cpu_avx512clx.cpp)
  -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ_MAVX512VNNI - Success
  -- Performing Test HAVE_CPU_AVX512_ICL_SUPPORT (check file: cmake/checks/cpu_avx512icl.cpp)
  -- Performing Test HAVE_CPU_AVX512_ICL_SUPPORT - Failed
  -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ_MAVX512IFMA_MAVX512VBMI_MAVX512VNNI_MAVX512VBMI2_MAVX512BITALG_MAVX512VPOPCNTDQ (check file: cmake/checks/cpu_avx512icl.cpp)
  -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ_MAVX512IFMA_MAVX512VBMI_MAVX512VNNI_MAVX512VBMI2_MAVX512BITALG_MAVX512VPOPCNTDQ - Success
  -- Performing Test HAVE_CPU_BASELINE_FLAGS
  -- Performing Test HAVE_CPU_BASELINE_FLAGS - 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 - Success
  -- Performing Test HAVE_LINK_AS_NEEDED
  -- Performing Test HAVE_LINK_AS_NEEDED - Failed
  -- Performing Test HAVE_LINK_NO_UNDEFINED
  -- Performing Test HAVE_LINK_NO_UNDEFINED - Failed
  -- Looking for posix_memalign
  -- Looking for posix_memalign - found
  -- Looking for malloc.h
  -- Looking for malloc.h - not 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 - failed
  -- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32
  -- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 - Success
  -- 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.3, BUILD = opencv-4.7.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
  -- Looking for a ASM_NASM compiler
  -- Looking for a ASM_NASM compiler - /usr/bin/nasm
  -- The ASM_NASM compiler identification is unknown
  -- Found assembler: /usr/bin/nasm
  -- CMAKE_ASM_NASM_COMPILER = /usr/bin/nasm
  -- SIMD extensions: x86_64 (WITH_SIMD = 1)
  -- 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 - 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 - Failed
  -- 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 - Failed
  -- 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 - Failed
  -- Performing Test HAVE_C_WNO_ARRAY_PARAMETER
  -- Performing Test HAVE_C_WNO_ARRAY_PARAMETER - Failed
  -- 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 - Success
  -- 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.7.0-openjp2-2.4.0
  -- 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 - not 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 - not found
  -- 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.4.0")
  -- Performing Test HAVE_C_WNO_NULL_POINTER_SUBTRACTION
  -- Performing Test HAVE_C_WNO_NULL_POINTER_SUBTRACTION - Failed
  -- 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 - Failed
  -- 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 - Failed
  -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE
  -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Success
  -- 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
  -- IPPICV: Downloading ippicv_2020_mac_intel64_20191018_general.tgz from https://raw.githubusercontent.com/opencv/opencv_3rdparty/a56b6ac6f030c312b2dce17430eef13aed9af274/ippicv/ippicv_2020_mac_intel64_20191018_general.tgz
  -- found Intel IPP (ICV version): 2020.0.0 [2020.0.0 Gold]
  -- at: /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_skbuild/macosx-10.14-x86_64-3.9/cmake-build/3rdparty/ippicv/ippicv_mac/icv
  -- found Intel IPP Integration Wrappers sources: 2020.0.0
  -- at: /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_skbuild/macosx-10.14-x86_64-3.9/cmake-build/3rdparty/ippicv/ippicv_mac/iw
  -- 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_BLAS_LIBRARY)
  -- Looking for sgemm_
  -- Looking for sgemm_ - not found
  -- Found Threads: TRUE
  -- Looking for dgemm_
  -- Looking for dgemm_ - found
  -- Found BLAS: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Accelerate.framework
  -- Looking for cheev_
  -- Looking for cheev_ - found
  -- Found LAPACK: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Accelerate.framework;-lm;-ldl
  -- LAPACK(LAPACK/Apple): LAPACK_LIBRARIES: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Accelerate.framework;-lm;-ldl
  -- Looking for Accelerate/Accelerate.h
  -- Looking for Accelerate/Accelerate.h - found
  -- Looking for Accelerate/Accelerate.h
  -- Looking for Accelerate/Accelerate.h - found
  -- LAPACK(LAPACK/Apple): Support is enabled.
  -- 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 - Success
  -- 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 - Success
  -- 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 - Success
  -- Found JNI: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/JavaVM.framework/Headers  found components: AWT JVM
  -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
  -- Looking for dlerror in dl
  -- Looking for dlerror in dl - found
  -- ADE: Downloading v0.1.2a.zip from https://github.com/opencv/ade/archive/v0.1.2a.zip
  -- Allocator metrics storage type: 'long long'
  -- Excluding from source files list: modules/imgproc/src/imgwarp.lasx.cpp
  -- Excluding from source files list: modules/imgproc/src/resize.lasx.cpp
  -- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/opencv/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake
  -- opencv_dnn: filter out ocl4dnn source code
  -- opencv_dnn: filter out cuda4dnn source code
  -- Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.rvv.cpp
  -- Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.lasx.cpp
  -- Excluding from source files list: <BUILD>/modules/dnn/int8layers/layers_common.lasx.cpp
  -- imgcodecs: OpenEXR codec is disabled in runtime. Details: https://github.com/opencv/opencv/issues/21326
  -- Performing Test HAVE_CXX_FOBJC_EXCEPTIONS
  -- Performing Test HAVE_CXX_FOBJC_EXCEPTIONS - Success
  -- highgui: using builtin backend: COCOA
  -- Found 'misc' Python modules from /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/opencv/modules/python/package/extra_modules
  -- Found 'mat_wrapper;utils' Python modules from /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/opencv/modules/core/misc/python/package
  -- Found 'gapi' Python modules from /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/opencv/modules/gapi/misc/python/package
  -- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL
  -- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL - Success
  -- Performing Test HAVE_CXX_WNO_UNUSED_PRIVATE_FIELD
  -- Performing Test HAVE_CXX_WNO_UNUSED_PRIVATE_FIELD - Success
  -- Found 'misc' Python modules from /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/opencv/modules/python/package/extra_modules
  -- Found 'mat_wrapper;utils' Python modules from /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/opencv/modules/core/misc/python/package
  -- Found 'gapi' Python modules from /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/opencv/modules/gapi/misc/python/package
  --
  -- General configuration for OpenCV 4.7.0 =====================================
  --   Version control:               unknown
  --
  --   Platform:
  --     Timestamp:                   2023-04-06T10:28:48Z
  --     Host:                        Darwin 18.7.0 x86_64
  --     CMake:                       3.26.1
  --     CMake generator:             Unix Makefiles
  --     CMake build tool:            /usr/bin/make
  --     Configuration:               Release
  --
  --   CPU/HW features:
  --     Baseline:                    SSE SSE2 SSE3 SSSE3 SSE4_1
  --       requested:                 DETECT
  --     Dispatched code generation:  SSE4_2 FP16 AVX AVX2 AVX512_SKX
  --       requested:                 SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
  --       SSE4_2 (1 files):          + POPCNT SSE4_2
  --       FP16 (0 files):            + POPCNT SSE4_2 FP16 AVX
  --       AVX (4 files):             + POPCNT SSE4_2 AVX
  --       AVX2 (32 files):           + POPCNT SSE4_2 FP16 FMA3 AVX AVX2
  --       AVX512_SKX (5 files):      + POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX
  --
  --   C/C++:
  --     Built as dynamic libs?:      NO
  --     C++ standard:                11
  --     C++ Compiler:                /Library/Developer/CommandLineTools/usr/bin/c++  (ver 10.0.1.10010046)
  --     C++ flags (Release):         -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Wno-long-long -Qunused-arguments -Wno-semicolon-before-method-body -ffunction-sections -fdata-sections  -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG  -DNDEBUG
  --     C++ flags (Debug):           -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Wno-long-long -Qunused-arguments -Wno-semicolon-before-method-body -ffunction-sections -fdata-sections  -fvisibility=hidden -fvisibility-inlines-hidden -g  -O0 -DDEBUG -D_DEBUG
  --     C Compiler:                  /Library/Developer/CommandLineTools/usr/bin/cc
  --     C flags (Release):           -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Wno-long-long -Qunused-arguments -Wno-semicolon-before-method-body -ffunction-sections -fdata-sections  -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG  -DNDEBUG
  --     C flags (Debug):             -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Wno-long-long -Qunused-arguments -Wno-semicolon-before-method-body -ffunction-sections -fdata-sections  -fvisibility=hidden -fvisibility-inlines-hidden -g  -O0 -DDEBUG -D_DEBUG
  --     Linker flags (Release):      -Wl,-dead_strip
  --     Linker flags (Debug):        -Wl,-dead_strip
  --     ccache:                      NO
  --     Precompiled headers:         NO
  --     Extra dependencies:          -framework OpenCL /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Accelerate.framework -lm -ldl -framework Cocoa -framework AppKit
  --     3rdparty dependencies:       libprotobuf ade ittnotify libjpeg-turbo libwebp libpng libtiff libopenjp2 IlmImf zlib quirc ippiw ippicv
  --
  --   OpenCV modules:
  --     To be built:                 calib3d core dnn features2d flann gapi highgui imgcodecs imgproc ml objdetect photo python3 stitching video videoio
  --     Disabled:                    world
  --     Disabled by dependency:      -
  --     Unavailable:                 java python2 ts
  --     Applications:                -
  --     Documentation:               NO
  --     Non-free algorithms:         NO
  --
  --   GUI:                           COCOA
  --     Cocoa:                       YES
  --     VTK support:                 NO
  --
  --   Media I/O:
  --     ZLib:                        build (ver 1.2.13)
  --     JPEG:                        build-libjpeg-turbo (ver 2.1.3-62)
  --       SIMD Support Request:      YES
  --       SIMD Support:              YES
  --     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:                      NO
  --       avcodec:                   NO
  --       avformat:                  NO
  --       avutil:                    NO
  --       swscale:                   NO
  --       avresample:                NO
  --     GStreamer:                   NO
  --     AVFoundation:                YES
  --
  --   Parallel framework:            GCD
  --
  --   Trace:                         YES (with Intel ITT)
  --
  --   Other third-party libraries:
  --     Intel IPP:                   2020.0.0 Gold [2020.0.0]
  --            at:                   /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_skbuild/macosx-10.14-x86_64-3.9/cmake-build/3rdparty/ippicv/ippicv_mac/icv
  --     Intel IPP IW:                sources (2020.0.0)
  --               at:                /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_skbuild/macosx-10.14-x86_64-3.9/cmake-build/3rdparty/ippicv/ippicv_mac/iw
  --     Lapack:                      YES (/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Accelerate.framework -lm -ldl)
  --     Eigen:                       NO
  --     Custom HAL:                  NO
  --     Protobuf:                    build (3.19.1)
  --
  --   OpenCL:                        YES (no extra features)
  --     Include path:                NO
  --     Link libraries:              -framework OpenCL
  --
  --   Python 3:
  --     Interpreter:                 /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 (ver 3.9.13)
  --     Libraries:                   /Library/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib (ver 3.9.13)
  --     numpy:                       /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-build-env-ko9btr5q/overlay/lib/python3.9/site-packages/numpy/core/include (ver 1.19.3)
  --     install path:                python/cv2/python-3
  --
  --   Python (for build):            /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
  --
  --   Java:
  --     ant:                         NO
  --     JNI:                         /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/JavaVM.framework/Headers /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/JavaVM.framework/Headers
  --     Java wrappers:               NO
  --     Java tests:                  NO
  --
  --   Install to:                    /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_skbuild/macosx-10.14-x86_64-3.9/cmake-install
  -- -----------------------------------------------------------------
  --
  -- Configuring done (76.4s)
  -- Generating done (1.7s)
  -- Build files have been written to: /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_skbuild/macosx-10.14-x86_64-3.9/cmake-build
  [  0%] Built target opencv_dnn_plugins
  [  0%] Built target opencv_highgui_plugins
  [  0%] Building ASM_NASM object 3rdparty/libjpeg-turbo/src/simd/CMakeFiles/jsimd.dir/x86_64/jsimdcpu.asm.o
  nasm: error: unable to find utility "nasm", not a developer tool or in PATH
  make[2]: *** [3rdparty/libjpeg-turbo/src/simd/CMakeFiles/jsimd.dir/x86_64/jsimdcpu.asm.o] Error 72
  make[1]: *** [3rdparty/libjpeg-turbo/src/simd/CMakeFiles/jsimd.dir/all] Error 2
  make: *** [all] Error 2
  Traceback (most recent call last):
    File "/private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-build-env-ko9btr5q/overlay/lib/python3.9/site-packages/skbuild/setuptools_wrap.py", line 642, in setup
      cmkr.make(make_args, install_target=cmake_install_target, env=env)
    File "/private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-build-env-ko9btr5q/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 679, in make
      self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
    File "/private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-build-env-ko9btr5q/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 710, in make_impl
      raise SKBuildError(

  An error occurred while building with CMake.
    Command:
      /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-build-env-ko9btr5q/overlay/lib/python3.9/site-packages/cmake/data/bin/cmake --build . --target install --config Release --
    Install target:
      install
    Source directory:
      /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05
    Working directory:
      /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_skbuild/macosx-10.14-x86_64-3.9/cmake-build
  Please check the install target is valid and see CMake's output for more information.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for opencv-python Failed to build opencv-python ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects

Any ideas?

sergregory commented 1 year ago

Hi, in general, it’s not an opencv-python question, it’s a question for main opencv repo. But to give you some clue - I believe you either should install nasm that libjpeg-turbo with SIMD extensions requires to be compiled or disable SIMD extensions - but it will require changes in the build configuration.

[ 0%] Building ASM_NASM object 3rdparty/libjpeg-turbo/src/simd/CMakeFiles/jsimd.dir/x86_64/jsimdcpu.asm.o nasm: error: unable to find utility "nasm", not a developer tool or in PATH

On 6 Apr 2023, at 13:44, Daito-97 @.***> wrote:

Hi. Trying to install opencv using pip3 install opencv-python command but experiencing this error. Python version is 3.9.13

Building wheel for opencv-python (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for opencv-python (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [792 lines of output]


-- Trying 'Ninja' generator






-- CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.Not searching for unused variables given on the command line.

-- Configuring incomplete, errors occurred!







-- Trying 'Ninja' generator - failure


-- Trying 'Unix Makefiles' generator






-- Not searching for unused variables given on the command line. -- The C compiler identification is AppleClang 10.0.1.10010046 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- The CXX compiler identification is AppleClang 10.0.1.10010046 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (1.4s) -- Generating done (0.0s) -- Build files have been written to: /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_cmake_test_compile/build







-- Trying 'Unix Makefiles' generator - success

Configuring Project Working directory: /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_skbuild/macosx-10.14-x86_64-3.9/cmake-build Command: /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-build-env-ko9btr5q/overlay/lib/python3.9/site-packages/cmake/data/bin/cmake /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/opencv -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX:PATH=/private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_skbuild/macosx-10.14-x86_64-3.9/cmake-install -DPYTHON_VERSION_STRING:STRING=3.9.13 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-build-env-ko9btr5q/overlay/lib/python3.9/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -DPYTHON_INCLUDE_DIR:PATH=/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -DPYTHON_LIBRARY:PATH=/Library/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib -DPython_EXECUTABLE:PATH=/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -DPython_ROOT_DIR:PATH=/Library/Frameworks/Python.framework/Versions/3.9 -DPython_INCLUDE_DIR:PATH=/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -DPython_FIND_REGISTRY:STRING=NEVER -DPython_NumPy_INCLUDE_DIRS:PATH=/private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-build-env-ko9btr5q/overlay/lib/python3.9/site-packages/numpy/core/include -DPython3_EXECUTABLE:PATH=/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -DPython3_ROOT_DIR:PATH=/Library/Frameworks/Python.framework/Versions/3.9 -DPython3_INCLUDE_DIR:PATH=/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_NumPy_INCLUDE_DIRS:PATH=/private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-build-env-ko9btr5q/overlay/lib/python3.9/site-packages/numpy/core/include -DPYTHON3_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -DPYTHON3_INCLUDE_DIR=/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -DPYTHON3_LIBRARY=/Library/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib -DBUILD_opencv_python3=ON -DBUILD_opencv_python2=OFF -DBUILD_opencv_java=OFF -DOPENCV_PYTHON3_INSTALL_PATH=python -DINSTALL_CREATE_DISTRIB=ON -DBUILD_opencv_apps=OFF -DBUILD_opencv_freetype=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_DOCS=OFF -DPYTHON3_LIMITED_API=ON -DBUILD_OPENEXR=ON -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.14 -DCMAKE_OSX_ARCHITECTURES:STRING=x86_64

-- The CXX compiler identification is AppleClang 10.0.1.10010046 -- The C compiler identification is AppleClang 10.0.1.10010046 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - 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: /Library/Developer/CommandLineTools/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- ocv_init_download: OpenCV source tree is not fetched as git repository. 3rdparty resources will be downloaded from github.com by default. -- Detected processor: x86_64 -- Found PythonInterp: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 (found suitable version "3.9.13", minimum required is "2.7") CMake Warning at cmake/OpenCVDetectPython.cmake:81 (message): CMake's 'find_host_package(PythonInterp 2.7)' found wrong Python version:

PYTHON_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9

PYTHON_VERSION_STRING=3.9.13

Consider providing the 'PYTHON2_EXECUTABLE' variable via CMake command line
or environment variables

Call Stack (most recent call first): cmake/OpenCVDetectPython.cmake:271 (find_python) CMakeLists.txt:643 (include)

-- Found Python2: /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 (found version "2.7.16") found components: Interpreter -- Found PythonInterp: /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 (found version "2.7.16") -- Could NOT find PythonLibs: Found unsuitable version "3.9.13", but required is exact version "2.7.16" (found /Library/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib) Error processing line 1 of /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/distutils-precedence.pth:

Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 152, in addpackage
    exec line
  File "<string>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/_distutils_hack/__init__.py", line 194
    f'spec_for_{name}',
                     ^
SyntaxError: invalid syntax

Remainder of file ignored Error processing line 1 of /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/distutils-precedence.pth:

Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 152, in addpackage
    exec line
  File "<string>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/_distutils_hack/__init__.py", line 194
    f'spec_for_{name}',
                     ^
SyntaxError: invalid syntax

Remainder of file ignored Error processing line 1 of /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/distutils-precedence.pth:

Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 152, in addpackage
    exec line
  File "<string>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/_distutils_hack/__init__.py", line 194
    f'spec_for_{name}',
                     ^
SyntaxError: invalid syntax

Remainder of file ignored -- Found PythonInterp: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 (found suitable version "3.9.13", minimum required is "3.2") -- Found PythonLibs: /Library/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib (found suitable exact version "3.9.13") -- 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_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_WRETURN_TYPE -- Performing Test HAVE_CXX_WRETURN_TYPE - Success -- Performing Test HAVE_C_WRETURN_TYPE -- Performing Test HAVE_C_WRETURN_TYPE - Success -- Performing Test HAVE_CXX_WNON_VIRTUAL_DTOR -- Performing Test HAVE_CXX_WNON_VIRTUAL_DTOR - Success -- Performing Test HAVE_C_WNON_VIRTUAL_DTOR -- Performing Test HAVE_C_WNON_VIRTUAL_DTOR - Success -- Performing Test HAVE_CXX_WADDRESS -- Performing Test HAVE_CXX_WADDRESS - Success -- Performing Test HAVE_C_WADDRESS -- Performing Test HAVE_C_WADDRESS - Success -- Performing Test HAVE_CXX_WSEQUENCE_POINT -- Performing Test HAVE_CXX_WSEQUENCE_POINT - Success -- Performing Test HAVE_C_WSEQUENCE_POINT -- Performing Test HAVE_C_WSEQUENCE_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_WFORMAT_SECURITY -- Performing Test HAVE_CXX_WFORMAT_SECURITY - Success -- Performing Test HAVE_C_WFORMAT_SECURITY -- Performing Test HAVE_C_WFORMAT_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 - Success -- 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 - Success -- 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 - Success -- 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_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 - Success -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success -- 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_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_QUNUSED_ARGUMENTS -- Performing Test HAVE_CXX_QUNUSED_ARGUMENTS - Success -- Performing Test HAVE_C_QUNUSED_ARGUMENTS -- Performing Test HAVE_C_QUNUSED_ARGUMENTS - Success -- Performing Test HAVE_CXX_WNO_SEMICOLON_BEFORE_METHOD_BODY -- Performing Test HAVE_CXX_WNO_SEMICOLON_BEFORE_METHOD_BODY - Success -- Performing Test HAVE_C_WNO_SEMICOLON_BEFORE_METHOD_BODY -- Performing Test HAVE_C_WNO_SEMICOLON_BEFORE_METHOD_BODY - 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_CPU_SSE_SUPPORT (check file: cmake/checks/cpu_sse.cpp) -- Performing Test HAVE_CPU_SSE_SUPPORT - Success -- Performing Test HAVE_CPU_SSE2_SUPPORT (check file: cmake/checks/cpu_sse2.cpp) -- Performing Test HAVE_CPU_SSE2_SUPPORT - Success -- Performing Test HAVE_CPU_SSE3_SUPPORT (check file: cmake/checks/cpu_sse3.cpp) -- Performing Test HAVE_CPU_SSE3_SUPPORT - Success -- Performing Test HAVE_CPU_SSSE3_SUPPORT (check file: cmake/checks/cpu_ssse3.cpp) -- Performing Test HAVE_CPU_SSSE3_SUPPORT - Success -- Performing Test HAVE_CPU_SSE4_1_SUPPORT (check file: cmake/checks/cpu_sse41.cpp) -- Performing Test HAVE_CPU_SSE4_1_SUPPORT - Success -- Performing Test HAVE_CPU_POPCNT_SUPPORT (check file: cmake/checks/cpu_popcnt.cpp) -- Performing Test HAVE_CPU_POPCNT_SUPPORT - Failed -- Performing Test HAVE_CXX_MPOPCNT (check file: cmake/checks/cpu_popcnt.cpp) -- Performing Test HAVE_CXX_MPOPCNT - Success -- Performing Test HAVE_CPU_SSE4_2_SUPPORT (check file: cmake/checks/cpu_sse42.cpp) -- Performing Test HAVE_CPU_SSE4_2_SUPPORT - Failed -- Performing Test HAVE_CXX_MSSE4_2 (check file: cmake/checks/cpu_sse42.cpp) -- Performing Test HAVE_CXX_MSSE4_2 - Success -- Performing Test HAVE_CPU_FP16_SUPPORT (check file: cmake/checks/cpu_fp16.cpp) -- Performing Test HAVE_CPU_FP16_SUPPORT - Failed -- 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_CPU_AVX_SUPPORT (check file: cmake/checks/cpu_avx.cpp) -- Performing Test HAVE_CPU_AVX_SUPPORT - Failed -- Performing Test HAVE_CXX_MAVX (check file: cmake/checks/cpu_avx.cpp) -- Performing Test HAVE_CXX_MAVX - Success -- Performing Test HAVE_CPU_AVX2_SUPPORT (check file: cmake/checks/cpu_avx2.cpp) -- Performing Test HAVE_CPU_AVX2_SUPPORT - Failed -- Performing Test HAVE_CXX_MAVX2 (check file: cmake/checks/cpu_avx2.cpp) -- Performing Test HAVE_CXX_MAVX2 - Success -- Performing Test HAVE_CPU_AVX_512F_SUPPORT (check file: cmake/checks/cpu_avx512.cpp) -- Performing Test HAVE_CPU_AVX_512F_SUPPORT - Failed -- Performing Test HAVE_CXX_MAVX512F (check file: cmake/checks/cpu_avx512.cpp) -- Performing Test HAVE_CXX_MAVX512F - Success -- Performing Test HAVE_CPU_AVX512_COMMON_SUPPORT (check file: cmake/checks/cpu_avx512common.cpp) -- Performing Test HAVE_CPU_AVX512_COMMON_SUPPORT - Failed -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD (check file: cmake/checks/cpu_avx512common.cpp) -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD - Success -- Performing Test HAVE_CPU_AVX512_KNL_SUPPORT (check file: cmake/checks/cpu_avx512knl.cpp) -- Performing Test HAVE_CPU_AVX512_KNL_SUPPORT - Failed -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512ER_MAVX512PF (check file: cmake/checks/cpu_avx512knl.cpp) -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512ER_MAVX512PF - Success -- Performing Test HAVE_CPU_AVX512_KNM_SUPPORT (check file: cmake/checks/cpu_avx512knm.cpp) -- Performing Test HAVE_CPU_AVX512_KNM_SUPPORT - Failed -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512ER_MAVX512PF_MAVX5124FMAPS_MAVX5124VNNIW_MAVX512VPOPCNTDQ (check file: cmake/checks/cpu_avx512knm.cpp) -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512ER_MAVX512PF_MAVX5124FMAPS_MAVX5124VNNIW_MAVX512VPOPCNTDQ - Failed -- AVX512_KNM is not supported by C++ compiler -- Performing Test HAVE_CPU_AVX512_SKX_SUPPORT (check file: cmake/checks/cpu_avx512skx.cpp) -- Performing Test HAVE_CPU_AVX512_SKX_SUPPORT - Failed -- 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_AVX512_CNL_SUPPORT (check file: cmake/checks/cpu_avx512cnl.cpp) -- Performing Test HAVE_CPU_AVX512_CNL_SUPPORT - Failed -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ_MAVX512IFMA_MAVX512VBMI (check file: cmake/checks/cpu_avx512cnl.cpp) -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ_MAVX512IFMA_MAVX512VBMI - Success -- Performing Test HAVE_CPU_AVX512_CLX_SUPPORT (check file: cmake/checks/cpu_avx512clx.cpp) -- Performing Test HAVE_CPU_AVX512_CLX_SUPPORT - Failed -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ_MAVX512VNNI (check file: cmake/checks/cpu_avx512clx.cpp) -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ_MAVX512VNNI - Success -- Performing Test HAVE_CPU_AVX512_ICL_SUPPORT (check file: cmake/checks/cpu_avx512icl.cpp) -- Performing Test HAVE_CPU_AVX512_ICL_SUPPORT - Failed -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ_MAVX512IFMA_MAVX512VBMI_MAVX512VNNI_MAVX512VBMI2_MAVX512BITALG_MAVX512VPOPCNTDQ (check file: cmake/checks/cpu_avx512icl.cpp) -- Performing Test HAVE_CXX_MAVX512F_MAVX512CD_MAVX512VL_MAVX512BW_MAVX512DQ_MAVX512IFMA_MAVX512VBMI_MAVX512VNNI_MAVX512VBMI2_MAVX512BITALG_MAVX512VPOPCNTDQ - Success -- Performing Test HAVE_CPU_BASELINE_FLAGS -- Performing Test HAVE_CPU_BASELINE_FLAGS - 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 - Success -- Performing Test HAVE_LINK_AS_NEEDED -- Performing Test HAVE_LINK_AS_NEEDED - Failed -- Performing Test HAVE_LINK_NO_UNDEFINED -- Performing Test HAVE_LINK_NO_UNDEFINED - Failed -- Looking for posix_memalign -- Looking for posix_memalign - found -- Looking for malloc.h -- Looking for malloc.h - not 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 - failed -- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 -- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 - Success -- 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.3, BUILD = opencv-4.7.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 -- Looking for a ASM_NASM compiler -- Looking for a ASM_NASM compiler - /usr/bin/nasm -- The ASM_NASM compiler identification is unknown -- Found assembler: /usr/bin/nasm -- CMAKE_ASM_NASM_COMPILER = /usr/bin/nasm -- SIMD extensions: x86_64 (WITH_SIMD = 1) -- 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 - 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 - Failed -- 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 - Failed -- 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 - Failed -- Performing Test HAVE_C_WNO_ARRAY_PARAMETER -- Performing Test HAVE_C_WNO_ARRAY_PARAMETER - Failed -- 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 - Success -- 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.7.0-openjp2-2.4.0 -- 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 - not 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 - not found -- 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.4.0") -- Performing Test HAVE_C_WNO_NULL_POINTER_SUBTRACTION -- Performing Test HAVE_C_WNO_NULL_POINTER_SUBTRACTION - Failed -- 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 - Failed -- 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 - Failed -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Success -- 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 -- IPPICV: Downloading ippicv_2020_mac_intel64_20191018_general.tgz from https://raw.githubusercontent.com/opencv/opencv_3rdparty/a56b6ac6f030c312b2dce17430eef13aed9af274/ippicv/ippicv_2020_mac_intel64_20191018_general.tgz -- found Intel IPP (ICV version): 2020.0.0 [2020.0.0 Gold] -- at: /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_skbuild/macosx-10.14-x86_64-3.9/cmake-build/3rdparty/ippicv/ippicv_mac/icv -- found Intel IPP Integration Wrappers sources: 2020.0.0 -- at: /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_skbuild/macosx-10.14-x86_64-3.9/cmake-build/3rdparty/ippicv/ippicv_mac/iw -- 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_BLASLIBRARY) -- Looking for sgemm -- Looking for sgemm - not found -- Found Threads: TRUE -- Looking for dgemm -- Looking for dgemm - found -- Found BLAS: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Accelerate.framework -- Looking for cheev -- Looking for cheev_ - found -- Found LAPACK: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Accelerate.framework;-lm;-ldl -- LAPACK(LAPACK/Apple): LAPACK_LIBRARIES: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Accelerate.framework;-lm;-ldl -- Looking for Accelerate/Accelerate.h -- Looking for Accelerate/Accelerate.h - found -- Looking for Accelerate/Accelerate.h -- Looking for Accelerate/Accelerate.h - found -- LAPACK(LAPACK/Apple): Support is enabled. -- 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 - Success -- 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 - Success -- 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 - Success -- Found JNI: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/JavaVM.framework/Headers found components: AWT JVM -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file -- Looking for dlerror in dl -- Looking for dlerror in dl - found -- ADE: Downloading v0.1.2a.zip from https://github.com/opencv/ade/archive/v0.1.2a.zip -- Allocator metrics storage type: 'long long' -- Excluding from source files list: modules/imgproc/src/imgwarp.lasx.cpp -- Excluding from source files list: modules/imgproc/src/resize.lasx.cpp -- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/opencv/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake -- opencv_dnn: filter out ocl4dnn source code -- opencv_dnn: filter out cuda4dnn source code -- Excluding from source files list: /modules/dnn/layers/layers_common.rvv.cpp -- Excluding from source files list: /modules/dnn/layers/layers_common.lasx.cpp -- Excluding from source files list: /modules/dnn/int8layers/layers_common.lasx.cpp -- imgcodecs: OpenEXR codec is disabled in runtime. Details: https://github.com/opencv/opencv/issues/21326 -- Performing Test HAVE_CXX_FOBJC_EXCEPTIONS -- Performing Test HAVE_CXX_FOBJC_EXCEPTIONS - Success -- highgui: using builtin backend: COCOA -- Found 'misc' Python modules from /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/opencv/modules/python/package/extra_modules -- Found 'mat_wrapper;utils' Python modules from /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/opencv/modules/core/misc/python/package -- Found 'gapi' Python modules from /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/opencv/modules/gapi/misc/python/package -- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL -- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL - Success -- Performing Test HAVE_CXX_WNO_UNUSED_PRIVATE_FIELD -- Performing Test HAVE_CXX_WNO_UNUSED_PRIVATE_FIELD - Success -- Found 'misc' Python modules from /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/opencv/modules/python/package/extra_modules -- Found 'mat_wrapper;utils' Python modules from /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/opencv/modules/core/misc/python/package -- Found 'gapi' Python modules from /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/opencv/modules/gapi/misc/python/package

-- General configuration for OpenCV 4.7.0 ===================================== -- Version control: unknown

-- Platform: -- Timestamp: 2023-04-06T10:28:48Z -- Host: Darwin 18.7.0 x86_64 -- CMake: 3.26.1 -- CMake generator: Unix Makefiles -- CMake build tool: /usr/bin/make -- Configuration: Release

-- CPU/HW features: -- Baseline: SSE SSE2 SSE3 SSSE3 SSE4_1 -- requested: DETECT -- Dispatched code generation: SSE4_2 FP16 AVX AVX2 AVX512_SKX -- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX -- SSE4_2 (1 files): + POPCNT SSE4_2 -- FP16 (0 files): + POPCNT SSE4_2 FP16 AVX -- AVX (4 files): + POPCNT SSE4_2 AVX -- AVX2 (32 files): + POPCNT SSE4_2 FP16 FMA3 AVX AVX2 -- AVX512_SKX (5 files): + POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX

-- C/C++: -- Built as dynamic libs?: NO -- C++ standard: 11 -- C++ Compiler: /Library/Developer/CommandLineTools/usr/bin/c++ (ver 10.0.1.10010046) -- C++ flags (Release): -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Wno-long-long -Qunused-arguments -Wno-semicolon-before-method-body -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG -- C++ flags (Debug): -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Wno-long-long -Qunused-arguments -Wno-semicolon-before-method-body -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG -- C Compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- C flags (Release): -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Wno-long-long -Qunused-arguments -Wno-semicolon-before-method-body -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG -- C flags (Debug): -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Wno-long-long -Qunused-arguments -Wno-semicolon-before-method-body -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG -- Linker flags (Release): -Wl,-dead_strip -- Linker flags (Debug): -Wl,-dead_strip -- ccache: NO -- Precompiled headers: NO -- Extra dependencies: -framework OpenCL /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Accelerate.framework -lm -ldl -framework Cocoa -framework AppKit -- 3rdparty dependencies: libprotobuf ade ittnotify libjpeg-turbo libwebp libpng libtiff libopenjp2 IlmImf zlib quirc ippiw ippicv

-- OpenCV modules: -- To be built: calib3d core dnn features2d flann gapi highgui imgcodecs imgproc ml objdetect photo python3 stitching video videoio -- Disabled: world -- Disabled by dependency: - -- Unavailable: java python2 ts -- Applications: - -- Documentation: NO -- Non-free algorithms: NO

-- GUI: COCOA -- Cocoa: YES -- VTK support: NO

-- Media I/O: -- ZLib: build (ver 1.2.13) -- JPEG: build-libjpeg-turbo (ver 2.1.3-62) -- SIMD Support Request: YES -- SIMD Support: YES -- 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: NO -- avcodec: NO -- avformat: NO -- avutil: NO -- swscale: NO -- avresample: NO -- GStreamer: NO -- AVFoundation: YES

-- Parallel framework: GCD

-- Trace: YES (with Intel ITT)

-- Other third-party libraries: -- Intel IPP: 2020.0.0 Gold [2020.0.0] -- at: /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_skbuild/macosx-10.14-x86_64-3.9/cmake-build/3rdparty/ippicv/ippicv_mac/icv -- Intel IPP IW: sources (2020.0.0) -- at: /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_skbuild/macosx-10.14-x86_64-3.9/cmake-build/3rdparty/ippicv/ippicv_mac/iw -- Lapack: YES (/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Accelerate.framework -lm -ldl) -- Eigen: NO -- Custom HAL: NO -- Protobuf: build (3.19.1)

-- OpenCL: YES (no extra features) -- Include path: NO -- Link libraries: -framework OpenCL

-- Python 3: -- Interpreter: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 (ver 3.9.13) -- Libraries: /Library/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib (ver 3.9.13) -- numpy: /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-build-env-ko9btr5q/overlay/lib/python3.9/site-packages/numpy/core/include (ver 1.19.3) -- install path: python/cv2/python-3

-- Python (for build): /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7

-- Java: -- ant: NO -- JNI: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/JavaVM.framework/Headers /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/JavaVM.framework/Headers -- Java wrappers: NO -- Java tests: NO

-- Install to: /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_skbuild/macosx-10.14-x86_64-3.9/cmake-install


-- -- Configuring done (76.4s) -- Generating done (1.7s) -- Build files have been written to: /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_skbuild/macosx-10.14-x86_64-3.9/cmake-build [ 0%] Built target opencv_dnn_plugins [ 0%] Built target opencv_highgui_plugins [ 0%] Building ASM_NASM object 3rdparty/libjpeg-turbo/src/simd/CMakeFiles/jsimd.dir/x86_64/jsimdcpu.asm.o nasm: error: unable to find utility "nasm", not a developer tool or in PATH make[2]: [3rdparty/libjpeg-turbo/src/simd/CMakeFiles/jsimd.dir/x86_64/jsimdcpu.asm.o] Error 72 make[1]: [3rdparty/libjpeg-turbo/src/simd/CMakeFiles/jsimd.dir/all] Error 2 make: *** [all] Error 2 Traceback (most recent call last): File "/private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-build-env-ko9btr5q/overlay/lib/python3.9/site-packages/skbuild/setuptools_wrap.py", line 642, in setup cmkr.make(make_args, install_target=cmake_install_target, env=env) File "/private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-build-env-ko9btr5q/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 679, in make self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env) File "/private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-build-env-ko9btr5q/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 710, in make_impl raise SKBuildError(

An error occurred while building with CMake. Command: /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-build-env-ko9btr5q/overlay/lib/python3.9/site-packages/cmake/data/bin/cmake --build . --target install --config Release -- Install target: install Source directory: /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05 Working directory: /private/var/folders/cl/j88pdbvs37s9g8q_dsgtdvnh0000gn/T/pip-install-bpuu7auv/opencv-python_40fa11205ebe406bac1fa165f87bec05/_skbuild/macosx-10.14-x86_64-3.9/cmake-build Please check the install target is valid and see CMake's output for more information. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for opencv-python Failed to build opencv-python ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects

Any ideas?

— Reply to this email directly, view it on GitHub https://github.com/opencv/opencv-python/issues/828, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7OXSAZXGH7TKHAU2NGGT3W72M75ANCNFSM6AAAAAAWVHQ5RM. You are receiving this because you are subscribed to this thread.

Daito-97 commented 1 year ago

@sergregory Thank you a lot, I've updated nasm and it worked.