Repository: opencv
Issue: Unable to install OpenCV with Cuda
Labels: duplicate



##### System information (version)
- OpenCV => `4.5.2`
- Operating System / Platform => Ubuntu 20.04

##### Detailed description

following this post to install [How to install OpenCV 4.5.2 with CUDA 11.2 and CUDNN 8.2 in Ubuntu 20.04](https://gist.github.com/raulqf/f42c718a658cddc16f9df07ecc627be7)

##### Steps to reproduce

Followed all the instructions

First of all install update and upgrade your system:
    
        $ sudo apt update
        $ sudo apt upgrade
   
    
Then, install required libraries:

* Generic tools:

        $ sudo apt install build-essential cmake pkg-config unzip yasm git checkinstall
    
* Image I/O libs
    ``` 
    $ sudo apt install libjpeg-dev libpng-dev libtiff-dev
    ``` 
* Video/Audio Libs - FFMPEG, GSTREAMER, x264 and so on.
    ```
    $ sudo apt install libavcodec-dev libavformat-dev libswscale-dev libavresample-dev
    $ sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
    $ sudo apt install libxvidcore-dev x264 libx264-dev libfaac-dev libmp3lame-dev libtheora-dev 
    $ sudo apt install libfaac-dev libmp3lame-dev libvorbis-dev
    ```
* OpenCore - Adaptive Multi Rate Narrow Band (AMRNB) and Wide Band (AMRWB) speech codec
    ```
    $ sudo apt install libopencore-amrnb-dev libopencore-amrwb-dev
    ```
    
* Cameras programming interface libs
    ```
    $ sudo apt-get install libdc1394-22 libdc1394-22-dev libxine2-dev libv4l-dev v4l-utils
    $ cd /usr/include/linux
    $ sudo ln -s -f ../libv4l1-videodev.h videodev.h
    $ cd ~
    ```

* GTK lib for the graphical user functionalites coming from OpenCV highghui module 
    ```
    $ sudo apt-get install libgtk-3-dev
    ```
* Python libraries for python3:
    ```
    $ sudo apt-get install python3-dev python3-pip
    $ sudo -H pip3 install -U pip numpy
    $ sudo apt install python3-testresources
    ```
* Parallelism library C++ for CPU
    ```
    $ sudo apt-get install libtbb-dev
    ```
* Optimization libraries for OpenCV
    ```
    $ sudo apt-get install libatlas-base-dev gfortran
    ```
* Optional libraries:
    ```
    $ sudo apt-get install libprotobuf-dev protobuf-compiler
    $ sudo apt-get install libgoogle-glog-dev libgflags-dev
    $ sudo apt-get install libgphoto2-dev libeigen3-dev libhdf5-dev doxygen
    ```

We will now proceed with the installation (see the Qt flag that is disabled to do not have conflicts with Qt5.0).


    $ wget -O opencv.zip https://github.com/opencv/opencv/archive/refs/tags/4.5.2.zip
    $ wget -O opencv_contrib.zip https://github.com/opencv/opencv_contrib/archive/refs/tags/4.5.2.zip
    $ unzip opencv.zip
    $ unzip opencv_contrib.zip
    
    $ echo "Create a virtual environtment for the python binding module (OPTIONAL)"
    $ sudo pip install virtualenv virtualenvwrapper
    $ sudo rm -rf ~/.cache/pip
    $ echo "Edit ~/.bashrc"
    $ export WORKON_HOME=$HOME/.virtualenvs
    $ export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
    $ source /usr/local/bin/virtualenvwrapper.sh
    $ mkvirtualenv cudacv -p python3
    $ pip install numpy
    
    $ echo "Procced with the installation"
    $ cd opencv-4.5.2
    $ mkdir build
    $ cd build
    
    cmake -D CMAKE_BUILD_TYPE=RELEASE \
	-D CMAKE_INSTALL_PREFIX=/usr/local \
	-D WITH_TBB=ON \
	-D ENABLE_FAST_MATH=1 \
	-D CUDA_FAST_MATH=1 \
	-D WITH_CUBLAS=1 \
	-D WITH_CUDA=ON \
	-D BUILD_opencv_cudacodec=OFF \
	-D WITH_CUDNN=ON \
	-D OPENCV_DNN_CUDA=ON \
	-D CUDA_ARCH_BIN=7.5 \
	-D WITH_V4L=ON \
	-D WITH_QT=OFF \
	-D WITH_OPENGL=ON \
	-D WITH_GSTREAMER=ON \
        -D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-11.5 \
	-D OPENCV_GENERATE_PKGCONFIG=ON \
	-D OPENCV_PC_FILE_NAME=opencv4cuda.pc \
	-D OPENCV_ENABLE_NONFREE=ON \
	-D OPENCV_PYTHON3_INSTALL_PATH=~/.virtualenvs/cudacv/lib/python3.8/site-packages \
	-D PYTHON_EXECUTABLE=~/.virtualenvs/cudacv/bin/python \
	-D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib-4.5.2/modules \
	-D INSTALL_PYTHON_EXAMPLES=OFF \
	-D INSTALL_C_EXAMPLES=OFF \
	-D BUILD_EXAMPLES=OFF ..
	

on running `cmake`
i get this error

```
CMake Warning at cmake/OpenCVGenSetupVars.cmake:54 (message):
  CONFIGURATION IS NOT SUPPORTED: validate setupvars script in install
  directory
Call Stack (most recent call first):
  CMakeLists.txt:1010 (include)


-- 
-- General configuration for OpenCV 4.5.2 =====================================
--   Version control:               unknown
-- 
--   Extra modules:
--     Location (extra):            /mnt/workspace1/user1/opencv_contrib-4.5.2/modules
--     Version control (extra):     unknown
-- 
--   Platform:
--     Timestamp:                   2022-06-20T10:31:20Z
--     Host:                        Linux 5.13.0-48-generic x86_64
--     CMake:                       3.16.3
--     CMake generator:             Unix Makefiles
--     CMake build tool:            /usr/bin/make
--     Configuration:               RELEASE
-- 
--   CPU/HW features:
--     Baseline:                    SSE SSE2 SSE3
--       requested:                 SSE3
--     Dispatched code generation:  SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
--       requested:                 SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
--       SSE4_1 (17 files):         + SSSE3 SSE4_1
--       SSE4_2 (2 files):          + SSSE3 SSE4_1 POPCNT SSE4_2
--       FP16 (1 files):            + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
--       AVX (5 files):             + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
--       AVX2 (31 files):           + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
--       AVX512_SKX (7 files):      + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX
-- 
--   C/C++:
--     Built as dynamic libs?:      YES
--     C++ standard:                11
--     C++ Compiler:                /usr/bin/c++  (ver 9.4.0)
--     C++ flags (Release):         -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG  -DNDEBUG
--     C++ flags (Debug):           -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g  -O0 -DDEBUG -D_DEBUG
--     C Compiler:                  /usr/bin/cc
--     C flags (Release):           -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG  -DNDEBUG
--     C flags (Debug):             -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -g  -O0 -DDEBUG -D_DEBUG
--     Linker flags (Release):      -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a   -Wl,--gc-sections -Wl,--as-needed  
--     Linker flags (Debug):        -Wl,--exclude-libs,libippicv.a -Wl,--exclude-libs,libippiw.a   -Wl,--gc-sections -Wl,--as-needed  
--     ccache:                      NO
--     Precompiled headers:         NO
--     Extra dependencies:          m pthread /usr/lib/x86_64-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/libGLU.so cudart_static dl rt nppc nppial nppicc nppidei nppif nppig nppim nppist nppisu nppitc npps cublas cufft -L/usr/local/cuda-11.5/lib64 -L/usr/lib/x86_64-linux-gnu
--     3rdparty dependencies:
-- 
--   OpenCV modules:
--     To be built:                 alphamat aruco bgsegm bioinspired calib3d ccalib core cudaarithm cudabgsegm cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv datasets dnn dnn_objdetect dnn_superres dpm face features2d flann freetype fuzzy gapi hdf hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor mcc ml objdetect optflow phase_unwrapping photo plot python3 quality rapid reg rgbd saliency sfm shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto
--     Disabled:                    cudacodec world
--     Disabled by dependency:      -
--     Unavailable:                 cnn_3dobj java julia matlab ovis python2 viz
--     Applications:                tests perf_tests apps
--     Documentation:               NO
--     Non-free algorithms:         YES
-- 
--   GUI: 
--     QT:                          YES (ver 5.12.8)
--       QT OpenGL support:         YES (Qt5::OpenGL 5.12.8)
--     OpenGL support:              YES (/usr/lib/x86_64-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/libGLU.so)
--     VTK support:                 NO
-- 
--   Media I/O: 
--     ZLib:                        /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.11)
--     JPEG:                        /usr/lib/x86_64-linux-gnu/libjpeg.so (ver 80)
--     WEBP:                        build (ver encoder: 0x020f)
--     PNG:                         /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.6.37)
--     TIFF:                        /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 / 4.1.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:                      YES (2.2.5)
--     FFMPEG:                      YES
--       avcodec:                   YES (58.54.100)
--       avformat:                  YES (58.29.100)
--       avutil:                    YES (56.31.100)
--       swscale:                   YES (5.5.100)
--       avresample:                YES (4.0.0)
--     GStreamer:                   YES (1.16.2)
--     v4l/v4l2:                    YES (linux/videodev2.h)
-- 
--   Parallel framework:            TBB (ver 2020.1 interface 11101)
-- 
--   Trace:                         YES (with Intel ITT)
-- 
--   Other third-party libraries:
--     Intel IPP:                   2020.0.0 Gold [2020.0.0]
--            at:                   /mnt/workspace1/user1/opencv-4.5.2/build/3rdparty/ippicv/ippicv_lnx/icv
--     Intel IPP IW:                sources (2020.0.0)
--               at:                /mnt/workspace1/user1/opencv-4.5.2/build/3rdparty/ippicv/ippicv_lnx/iw
--     VA:                          NO
--     Lapack:                      NO
--     Eigen:                       YES (ver 3.3.7)
--     Custom HAL:                  NO
--     Protobuf:                    build (3.5.1)
-- 
--   NVIDIA CUDA:                   YES (ver 11.5, CUFFT CUBLAS FAST_MATH)
--     NVIDIA GPU arch:             75
--     NVIDIA PTX archs:
-- 
--   OpenCL:                        YES (no extra features)
--     Include path:                /mnt/workspace1/user1/opencv-4.5.2/3rdparty/include/opencl/1.2
--     Link libraries:              Dynamic load
-- 
--   Python 3:
--     Interpreter:                 /mnt/workspace1/user1/.virtualenvs/cudacv/bin/python3 (ver 3.8.10)
--     Libraries:                   /usr/lib/x86_64-linux-gnu/libpython3.8.so (ver 3.8.10)
--     numpy:                       /mnt/workspace1/user1/.virtualenvs/cudacv/lib/python3.8/site-packages/numpy/core/include (ver 1.22.4)
--     install path:                /mnt/workspace1/user1/.virtualenvs/cudacv/lib/python3.8/site-packages/cv2/python-3.8
-- 
--   Python (for build):            /mnt/workspace1/user1/.virtualenvs/cudacv/bin/python3
-- 
--   Java:                          
--     ant:                         NO
--     JNI:                         NO
--     Java wrappers:               NO
--     Java tests:                  NO
-- 
--   Install to:                    /mnt/workspace1/softwares
-- -----------------------------------------------------------------
-- 
-- Configuring incomplete, errors occurred!
See also "/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeOutput.log".
See also "/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeError.log".
```

CmakeError.log

```
Build output check failed:
    Regex: 'argument .* is not valid'
    Output line: 'cc1: warning: ??-Werror=?? argument ??-Werror=non-virtual-dtor?? is not valid for C'
Compilation failed:
    source file: '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c'
    check option: ' -fsigned-char -ffast-math -W -Wall -Werror=return-type  -Werror=non-virtual-dtor'
===== BUILD LOG =====
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_d6845/fast && /usr/bin/make -f CMakeFiles/cmTC_d6845.dir/build.make CMakeFiles/cmTC_d6845.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d6845.dir/src.c.o
/usr/bin/cc   -O3 -DNDEBUG -fPIE    -fsigned-char -ffast-math -W -Wall -Werror=return-type  -Werror=non-virtual-dtor -o CMakeFiles/cmTC_d6845.dir/src.c.o   -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: ??-Werror=?? argument ??-Werror=non-virtual-dtor?? is not valid for C
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
Linking C executable cmTC_d6845
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d6845.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    CMakeFiles/cmTC_d6845.dir/src.c.o  -o cmTC_d6845 
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'


===== END =====

Build output check failed:
    Regex: 'command[- ]line option .* is valid for .* but not for C\+\+'
    Output line: 'cc1plus: warning: command line option ??-Wmissing-prototypes?? is valid for C/ObjC but not for C++'
Compilation failed:
    source file: '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations  -Wmissing-prototypes'
===== BUILD LOG =====
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_4e414/fast && /usr/bin/make -f CMakeFiles/cmTC_4e414.dir/build.make CMakeFiles/cmTC_4e414.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_4e414.dir/src.cxx.o
/usr/bin/c++    -O3 -DNDEBUG -fPIE    -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations  -Wmissing-prototypes -std=c++11 -o CMakeFiles/cmTC_4e414.dir/src.cxx.o -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx
cc1plus: warning: command line option ??-Wmissing-prototypes?? is valid for C/ObjC but not for C++
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
Linking CXX executable cmTC_4e414
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4e414.dir/link.txt --verbose=1
/usr/bin/c++    -O3 -DNDEBUG    CMakeFiles/cmTC_4e414.dir/src.cxx.o  -o cmTC_4e414 
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'


===== END =====

Build output check failed:
    Regex: 'command[- ]line option .* is valid for .* but not for C\+\+'
    Output line: 'cc1plus: warning: command line option ??-Wstrict-prototypes?? is valid for C/ObjC but not for C++'
Compilation failed:
    source file: '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations  -Wstrict-prototypes'
===== BUILD LOG =====
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_263dc/fast && /usr/bin/make -f CMakeFiles/cmTC_263dc.dir/build.make CMakeFiles/cmTC_263dc.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_263dc.dir/src.cxx.o
/usr/bin/c++    -O3 -DNDEBUG -fPIE    -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations  -Wstrict-prototypes -std=c++11 -o CMakeFiles/cmTC_263dc.dir/src.cxx.o -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx
cc1plus: warning: command line option ??-Wstrict-prototypes?? is valid for C/ObjC but not for C++
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
Linking CXX executable cmTC_263dc
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_263dc.dir/link.txt --verbose=1
/usr/bin/c++    -O3 -DNDEBUG    CMakeFiles/cmTC_263dc.dir/src.cxx.o  -o cmTC_263dc 
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'


===== END =====

Build output check failed:
    Regex: 'command[- ]line option .* is valid for .* but not for C'
    Output line: 'cc1: warning: command line option ??-Wsign-promo?? is valid for C++/ObjC++ but not for C'
Compilation failed:
    source file: '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c'
    check option: ' -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wsign-promo'
===== BUILD LOG =====
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_8e4d0/fast && /usr/bin/make -f CMakeFiles/cmTC_8e4d0.dir/build.make CMakeFiles/cmTC_8e4d0.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_8e4d0.dir/src.c.o
/usr/bin/cc   -O3 -DNDEBUG -fPIE    -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wsign-promo -o CMakeFiles/cmTC_8e4d0.dir/src.c.o   -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ??-Wsign-promo?? is valid for C++/ObjC++ but not for C
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
Linking C executable cmTC_8e4d0
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8e4d0.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    CMakeFiles/cmTC_8e4d0.dir/src.c.o  -o cmTC_8e4d0 
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'


===== END =====

Build output check failed:
    Regex: 'command[- ]line option .* is valid for .* but not for C'
    Output line: 'cc1: warning: command line option ??-Wsuggest-override?? is valid for C++/ObjC++ but not for C'
Compilation failed:
    source file: '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c'
    check option: ' -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized  -Wsuggest-override'
===== BUILD LOG =====
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_3df1f/fast && /usr/bin/make -f CMakeFiles/cmTC_3df1f.dir/build.make CMakeFiles/cmTC_3df1f.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3df1f.dir/src.c.o
/usr/bin/cc   -O3 -DNDEBUG -fPIE    -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized  -Wsuggest-override -o CMakeFiles/cmTC_3df1f.dir/src.c.o   -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ??-Wsuggest-override?? is valid for C++/ObjC++ but not for C
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
Linking C executable cmTC_3df1f
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3df1f.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    CMakeFiles/cmTC_3df1f.dir/src.c.o  -o cmTC_3df1f 
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'


===== END =====

Build output check failed:
    Regex: 'command[- ]line option .* is valid for .* but not for C'
    Output line: 'cc1: warning: command line option ??-Wno-delete-non-virtual-dtor?? is valid for C++/ObjC++ but not for C'
Compilation failed:
    source file: '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c'
    check option: ' -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized  -Wno-delete-non-virtual-dtor'
===== BUILD LOG =====
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_c11f1/fast && /usr/bin/make -f CMakeFiles/cmTC_c11f1.dir/build.make CMakeFiles/cmTC_c11f1.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_c11f1.dir/src.c.o
/usr/bin/cc   -O3 -DNDEBUG -fPIE    -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized  -Wno-delete-non-virtual-dtor -o CMakeFiles/cmTC_c11f1.dir/src.c.o   -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ??-Wno-delete-non-virtual-dtor?? is valid for C++/ObjC++ but not for C
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
Linking C executable cmTC_c11f1
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c11f1.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    CMakeFiles/cmTC_c11f1.dir/src.c.o  -o cmTC_c11f1 
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'


===== END =====

Build output check failed:
    Regex: 'unrecognized .*option'
    Output line: 'cc1plus: warning: unrecognized command line option ??-Wno-unnamed-type-template-args??'
Compilation failed:
    source file: '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor  -Wno-unnamed-type-template-args'
===== BUILD LOG =====
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_3667a/fast && /usr/bin/make -f CMakeFiles/cmTC_3667a.dir/build.make CMakeFiles/cmTC_3667a.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_3667a.dir/src.cxx.o
/usr/bin/c++    -O3 -DNDEBUG -fPIE    -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor  -Wno-unnamed-type-template-args -std=c++11 -o CMakeFiles/cmTC_3667a.dir/src.cxx.o -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
cc1plus: warning: unrecognized command line option ??-Wno-unnamed-type-template-args??
Linking CXX executable cmTC_3667a
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3667a.dir/link.txt --verbose=1
/usr/bin/c++    -O3 -DNDEBUG    CMakeFiles/cmTC_3667a.dir/src.cxx.o  -o cmTC_3667a 
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'


===== END =====

Build output check failed:
    Regex: 'unrecognized .*option'
    Output line: 'cc1: warning: unrecognized command line option ??-Wno-unnamed-type-template-args??'
Compilation failed:
    source file: '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c'
    check option: ' -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized  -Wno-unnamed-type-template-args'
===== BUILD LOG =====
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_472a4/fast && /usr/bin/make -f CMakeFiles/cmTC_472a4.dir/build.make CMakeFiles/cmTC_472a4.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_472a4.dir/src.c.o
/usr/bin/cc   -O3 -DNDEBUG -fPIE    -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized  -Wno-unnamed-type-template-args -o CMakeFiles/cmTC_472a4.dir/src.c.o   -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
cc1: warning: unrecognized command line option ??-Wno-unnamed-type-template-args??
Linking C executable cmTC_472a4
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_472a4.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    CMakeFiles/cmTC_472a4.dir/src.c.o  -o cmTC_472a4 
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'


===== END =====

Build output check failed:
    Regex: 'command[- ]line option .* is valid for .* but not for C'
    Output line: 'cc1: warning: command line option ??-fvisibility-inlines-hidden?? is valid for C++/ObjC++ but not for C'
Compilation failed:
    source file: '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c'
    check option: ' -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden  -fvisibility-inlines-hidden'
===== BUILD LOG =====
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_babfd/fast && /usr/bin/make -f CMakeFiles/cmTC_babfd.dir/build.make CMakeFiles/cmTC_babfd.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_babfd.dir/src.c.o
/usr/bin/cc   -O3 -DNDEBUG -fPIE    -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden  -fvisibility-inlines-hidden -o CMakeFiles/cmTC_babfd.dir/src.c.o   -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ??-fvisibility-inlines-hidden?? is valid for C++/ObjC++ but not for C
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
Linking C executable cmTC_babfd
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_babfd.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    CMakeFiles/cmTC_babfd.dir/src.c.o  -o cmTC_babfd 
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'


===== END =====

Build output check failed:
    Regex: 'unrecognized .*option'
    Output line: 'cc1: warning: unrecognized command line option ??-Wno-implicit-const-int-float-conversion??'
Compilation failed:
    source file: '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c'
    check option: ' -Wno-implicit-const-int-float-conversion'
===== BUILD LOG =====
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_f6253/fast && /usr/bin/make -f CMakeFiles/cmTC_f6253.dir/build.make CMakeFiles/cmTC_f6253.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f6253.dir/src.c.o
/usr/bin/cc   -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden  -O3 -DNDEBUG  -DNDEBUG -fPIE    -Wno-implicit-const-int-float-conversion -o CMakeFiles/cmTC_f6253.dir/src.c.o   -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
cc1: warning: unrecognized command line option ??-Wno-implicit-const-int-float-conversion??
Linking C executable cmTC_f6253
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f6253.dir/link.txt --verbose=1
/usr/bin/cc    -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden  -O3 -DNDEBUG  -DNDEBUG    -Wl,--gc-sections -Wl,--as-needed  CMakeFiles/cmTC_f6253.dir/src.c.o  -o cmTC_f6253 
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'


===== END =====

Determining if the _aligned_malloc exist failed with the following output:
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_68dea/fast && /usr/bin/make -f CMakeFiles/cmTC_68dea.dir/build.make CMakeFiles/cmTC_68dea.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_68dea.dir/CheckSymbolExists.c.o
/usr/bin/cc   -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden  -O3 -DNDEBUG  -DNDEBUG -fPIE   -o CMakeFiles/cmTC_68dea.dir/CheckSymbolExists.c.o   -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ??main??:
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ??_aligned_malloc?? undeclared (first use in this function)
    8 |   return ((int*)(&_aligned_malloc))[argc];
      |                   ^~~~~~~~~~~~~~~
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter ??argc?? set but not used [-Wunused-but-set-parameter]
    4 | int main(int argc, char** argv)
      |          ~~~~^~~~
make[1]: *** [CMakeFiles/cmTC_68dea.dir/build.make:66: CMakeFiles/cmTC_68dea.dir/CheckSymbolExists.c.o] Error 1
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_68dea/fast] Error 2


File /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <malloc.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef _aligned_malloc
  return ((int*)(&_aligned_malloc))[argc];
#else
  (void)argc;
  return 0;
#endif
}
Build output check failed:
    Regex: 'unrecognized .*option'
    Output line: 'cc1plus: warning: unrecognized command line option ??-Wno-inconsistent-missing-override??'
Compilation failed:
    source file: '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-inconsistent-missing-override'
===== BUILD LOG =====
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_72cc9/fast && /usr/bin/make -f CMakeFiles/cmTC_72cc9.dir/build.make CMakeFiles/cmTC_72cc9.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_72cc9.dir/src.cxx.o
/usr/bin/c++    -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wsign-promo -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-deprecated -Wno-suggest-override  -O3 -DNDEBUG  -DNDEBUG -fPIE    -Wno-inconsistent-missing-override -std=c++11 -o CMakeFiles/cmTC_72cc9.dir/src.cxx.o -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
cc1plus: warning: unrecognized command line option ??-Wno-inconsistent-missing-override??
Linking CXX executable cmTC_72cc9
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_72cc9.dir/link.txt --verbose=1
/usr/bin/c++     -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wsign-promo -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-deprecated -Wno-suggest-override  -O3 -DNDEBUG  -DNDEBUG    -Wl,--gc-sections -Wl,--as-needed  CMakeFiles/cmTC_72cc9.dir/src.cxx.o  -o cmTC_72cc9 
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'


===== END =====

Build output check failed:
    Regex: 'command[- ]line option .* is valid for .* but not for C\+\+'
    Output line: 'cc1plus: warning: command line option ??-Wno-missing-prototypes?? is valid for C/ObjC but not for C++'
Compilation failed:
    source file: '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-missing-prototypes'
===== BUILD LOG =====
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_d8b39/fast && /usr/bin/make -f CMakeFiles/cmTC_d8b39.dir/build.make CMakeFiles/cmTC_d8b39.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_d8b39.dir/src.cxx.o
/usr/bin/c++    -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wsign-promo -Wno-delete-non-virtual-dtor -Wno-comment -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-deprecated -Wno-suggest-override -Wno-implicit-fallthrough -Wno-tautological-compare  -O3 -DNDEBUG  -DNDEBUG -fPIE    -Wno-missing-prototypes -std=c++11 -o CMakeFiles/cmTC_d8b39.dir/src.cxx.o -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx
cc1plus: warning: command line option ??-Wno-missing-prototypes?? is valid for C/ObjC but not for C++
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
Linking CXX executable cmTC_d8b39
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d8b39.dir/link.txt --verbose=1
/usr/bin/c++     -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wsign-promo -Wno-delete-non-virtual-dtor -Wno-comment -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-deprecated -Wno-suggest-override -Wno-implicit-fallthrough -Wno-tautological-compare  -O3 -DNDEBUG  -DNDEBUG    -Wl,--gc-sections -Wl,--as-needed  CMakeFiles/cmTC_d8b39.dir/src.cxx.o  -o cmTC_d8b39 
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'


===== END =====

Build output check failed:
    Regex: 'unrecognized .*option'
    Output line: 'cc1plus: warning: unrecognized command line option ??-Wno-implicit-const-int-float-conversion??'
Compilation failed:
    source file: '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-implicit-const-int-float-conversion'
===== BUILD LOG =====
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_c9ffb/fast && /usr/bin/make -f CMakeFiles/cmTC_c9ffb.dir/build.make CMakeFiles/cmTC_c9ffb.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_c9ffb.dir/src.cxx.o
/usr/bin/c++    -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wsign-promo -Wno-delete-non-virtual-dtor -Wno-comment -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-deprecated -Wno-suggest-override -Wno-implicit-fallthrough -Wno-tautological-compare -Wno-reorder -Wno-unused-result  -O3 -DNDEBUG  -DNDEBUG -fPIE    -Wno-implicit-const-int-float-conversion -std=c++11 -o CMakeFiles/cmTC_c9ffb.dir/src.cxx.o -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
cc1plus: warning: unrecognized command line option ??-Wno-implicit-const-int-float-conversion??
Linking CXX executable cmTC_c9ffb
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c9ffb.dir/link.txt --verbose=1
/usr/bin/c++     -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wsign-promo -Wno-delete-non-virtual-dtor -Wno-comment -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-deprecated -Wno-suggest-override -Wno-implicit-fallthrough -Wno-tautological-compare -Wno-reorder -Wno-unused-result  -O3 -DNDEBUG  -DNDEBUG    -Wl,--gc-sections -Wl,--as-needed  CMakeFiles/cmTC_c9ffb.dir/src.cxx.o  -o cmTC_c9ffb 
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'


===== END =====

Determining if the function sgemm_ exists failed with the following output:
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_234b9/fast && /usr/bin/make -f CMakeFiles/cmTC_234b9.dir/build.make CMakeFiles/cmTC_234b9.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_234b9.dir/CheckFunctionExists.c.o
/usr/bin/cc   -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=sgemm_ -O3 -DNDEBUG  -DNDEBUG -fPIE   -o CMakeFiles/cmTC_234b9.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c
Linking C executable cmTC_234b9
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_234b9.dir/link.txt --verbose=1
/usr/bin/cc    -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=sgemm_ -O3 -DNDEBUG  -DNDEBUG    -Wl,--gc-sections -Wl,--as-needed  CMakeFiles/cmTC_234b9.dir/CheckFunctionExists.c.o  -o cmTC_234b9 
/usr/bin/ld: CMakeFiles/cmTC_234b9.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup.main+0x10): undefined reference to `sgemm_'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_234b9.dir/build.make:87: cmTC_234b9] Error 1
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_234b9/fast] Error 2



Determining if the function cheev_ exists failed with the following output:
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_5fae4/fast && /usr/bin/make -f CMakeFiles/cmTC_5fae4.dir/build.make CMakeFiles/cmTC_5fae4.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_5fae4.dir/CheckFunctionExists.c.o
/usr/bin/cc   -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=cheev_ -O3 -DNDEBUG  -DNDEBUG -fPIE   -o CMakeFiles/cmTC_5fae4.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c
Linking C executable cmTC_5fae4
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5fae4.dir/link.txt --verbose=1
/usr/bin/cc    -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=cheev_ -O3 -DNDEBUG  -DNDEBUG    -Wl,--gc-sections -Wl,--as-needed  CMakeFiles/cmTC_5fae4.dir/CheckFunctionExists.c.o  -o cmTC_5fae4  /usr/lib/x86_64-linux-gnu/libf77blas.so /usr/lib/x86_64-linux-gnu/libatlas.so 
/usr/bin/ld: CMakeFiles/cmTC_5fae4.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup.main+0x10): undefined reference to `cheev_'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_5fae4.dir/build.make:89: cmTC_5fae4] Error 1
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_5fae4/fast] Error 2



Build output check failed:
    Regex: 'unrecognized .*option'
    Output line: 'cc1plus: warning: unrecognized command line option ??-Wno-tautological-undefined-compare??'
Compilation failed:
    source file: '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-tautological-undefined-compare'
===== BUILD LOG =====
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_ee8b3/fast && /usr/bin/make -f CMakeFiles/cmTC_ee8b3.dir/build.make CMakeFiles/cmTC_ee8b3.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_ee8b3.dir/src.cxx.o
/usr/bin/c++    -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef  -O3 -DNDEBUG  -DNDEBUG -fPIE    -Wno-tautological-undefined-compare -std=c++11 -o CMakeFiles/cmTC_ee8b3.dir/src.cxx.o -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
cc1plus: warning: unrecognized command line option ??-Wno-tautological-undefined-compare??
Linking CXX executable cmTC_ee8b3
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ee8b3.dir/link.txt --verbose=1
/usr/bin/c++     -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef  -O3 -DNDEBUG  -DNDEBUG    -Wl,--gc-sections -Wl,--as-needed  CMakeFiles/cmTC_ee8b3.dir/src.cxx.o  -o cmTC_ee8b3 
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'


===== END =====

Build output check failed:
    Regex: 'unrecognized .*option'
    Output line: 'cc1plus: warning: unrecognized command line option ??-Wno-shorten-64-to-32??'
Compilation failed:
    source file: '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-shorten-64-to-32'
===== BUILD LOG =====
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_67854/fast && /usr/bin/make -f CMakeFiles/cmTC_67854.dir/build.make CMakeFiles/cmTC_67854.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_67854.dir/src.cxx.o
/usr/bin/c++    -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef -Wno-ignored-qualifiers -Wno-extra -Wno-unused-function -Wno-unused-const-variable  -O3 -DNDEBUG  -DNDEBUG -fPIE    -Wno-shorten-64-to-32 -std=c++11 -o CMakeFiles/cmTC_67854.dir/src.cxx.o -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
cc1plus: warning: unrecognized command line option ??-Wno-shorten-64-to-32??
Linking CXX executable cmTC_67854
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_67854.dir/link.txt --verbose=1
/usr/bin/c++     -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef -Wno-ignored-qualifiers -Wno-extra -Wno-unused-function -Wno-unused-const-variable  -O3 -DNDEBUG  -DNDEBUG    -Wl,--gc-sections -Wl,--as-needed  CMakeFiles/cmTC_67854.dir/src.cxx.o  -o cmTC_67854 
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'


===== END =====

Build output check failed:
    Regex: 'unrecognized .*option'
    Output line: 'cc1plus: warning: unrecognized command line option ??-Wno-enum-compare-switch??'
Compilation failed:
    source file: '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-enum-compare-switch'
===== BUILD LOG =====
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_34e89/fast && /usr/bin/make -f CMakeFiles/cmTC_34e89.dir/build.make CMakeFiles/cmTC_34e89.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_34e89.dir/src.cxx.o
/usr/bin/c++    -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef -Wno-ignored-qualifiers -Wno-extra -Wno-unused-function -Wno-unused-const-variable -Wno-invalid-offsetof  -O3 -DNDEBUG  -DNDEBUG -fPIE    -Wno-enum-compare-switch -std=c++11 -o CMakeFiles/cmTC_34e89.dir/src.cxx.o -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
cc1plus: warning: unrecognized command line option ??-Wno-enum-compare-switch??
Linking CXX executable cmTC_34e89
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_34e89.dir/link.txt --verbose=1
/usr/bin/c++     -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -Wno-missing-declarations -Wno-shadow -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-sign-compare -Wno-sign-promo -Wno-undef -Wno-ignored-qualifiers -Wno-extra -Wno-unused-function -Wno-unused-const-variable -Wno-invalid-offsetof  -O3 -DNDEBUG  -DNDEBUG    -Wl,--gc-sections -Wl,--as-needed  CMakeFiles/cmTC_34e89.dir/src.cxx.o  -o cmTC_34e89 
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'


===== END =====

Determining if the include file sys/videoio.h exists failed with the following output:
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_75b2f/fast && /usr/bin/make -f CMakeFiles/cmTC_75b2f.dir/build.make CMakeFiles/cmTC_75b2f.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_75b2f.dir/CheckIncludeFile.c.o
/usr/bin/cc   -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden  -O3 -DNDEBUG  -DNDEBUG -fPIE   -o CMakeFiles/cmTC_75b2f.dir/CheckIncludeFile.c.o   -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/videoio.h: No such file or directory
    1 | #include <sys/videoio.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_75b2f.dir/build.make:66: CMakeFiles/cmTC_75b2f.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_75b2f/fast] Error 2



Build output check failed:
    Regex: 'unrecognized .*option'
    Output line: 'cc1plus: warning: unrecognized command line option ??-Wno-unused-private-field??'
Compilation failed:
    source file: '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-unused-private-field'
===== BUILD LOG =====
Change Dir: /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_8da1b/fast && /usr/bin/make -f CMakeFiles/cmTC_8da1b.dir/build.make CMakeFiles/cmTC_8da1b.dir/build
make[1]: Entering directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_8da1b.dir/src.cxx.o
/usr/bin/c++    -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-unused-function -Wno-deprecated-declarations -Wno-overloaded-virtual  -O3 -DNDEBUG  -DNDEBUG -fPIE    -Wno-unused-private-field -std=c++11 -o CMakeFiles/cmTC_8da1b.dir/src.cxx.o -c /mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx
/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
cc1plus: warning: unrecognized command line option ??-Wno-unused-private-field??
Linking CXX executable cmTC_8da1b
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8da1b.dir/link.txt --verbose=1
/usr/bin/c++     -fsigned-char -ffast-math -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-unused-function -Wno-deprecated-declarations -Wno-overloaded-virtual  -O3 -DNDEBUG  -DNDEBUG    -Wl,--gc-sections -Wl,--as-needed  CMakeFiles/cmTC_8da1b.dir/src.cxx.o  -o cmTC_8da1b 
make[1]: Leaving directory '/mnt/workspace1/user1/opencv-4.5.2/build/CMakeFiles/CMakeTmp'


===== END =====
```


What is going wrong?