Skip to content

Instantly share code, notes, and snippets.

@kylemcdonald

kylemcdonald/setup.sh

Last active May 24, 2021
Embed
What would you like to do?
Build OpenCV for Raspberry Pi under Ubuntu 20.10 64-bit server, aand test v4l2 camera frame rate.
CV_VERSION=4.5.1
cd ~
sudo apt update
sudo apt-get install -y \
build-essential \
cmake \
gfortran \
libatlas-base-dev \
libavcodec-dev \
libavcodec-dev \
libavformat-dev \
libavformat-dev \
libcairo2-dev \
libeigen3-dev \
libfontconfig1-dev \
libgdk-pixbuf2.0-dev \
libgtk-3-dev \
libgtk2.0-dev \
libgtk2.0-dev \
libhdf5-103 \
libhdf5-dev \
libhdf5-serial-dev \
libjasper-dev \
libjpeg-dev \
libpango1.0-dev \
libpng-dev \
libqt4-test \
libqtgui4 \
libqtwebkit4 \
libswscale-dev \
libswscale-dev \
libtbb-dev \
libtiff5-dev \
libv4l-dev \
libx264-dev \
libxvidcore-dev \
pkg-config \
python3-dev \
python3-pyqt5 \
python3-pip \
v4l-utils
pip3 install numpy
git clone --branch $CV_VERSION --depth 1 https://github.com/opencv/opencv.git
cd ~/opencv
mkdir build
cd build
cmake \
-D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D ENABLE_NEON=ON \
-D WITH_TBB=ON \
-D ENABLE_VFPV3=ON \
-D BUILD_TESTS=OFF \
-D INSTALL_PYTHON_EXAMPLES=OFF \
-D BUILD_OPENCV_PYTHON3=YES \
-D OPENCV_ENABLE_NONFREE=ON \
-D CMAKE_SHARED_LINKER_FLAGS=-latomic \
-D BUILD_EXAMPLES=OFF ..
# on raspios 32-bit, add
# -D WITH_V4L=ON \
# on raspios 32-bit
# sudo sed -i 's/CONF_SWAPSIZE=100/CONF_SWAPSIZE=2048/g' /etc/dphys-swapfile
# sudo /etc/init.d/dphys-swapfile stop
# sudo /etc/init.d/dphys-swapfile start
make -j`nproc`
sudo make install
# on raspios 32-bit
# sudo sed -i 's/CONF_SWAPSIZE=2048/CONF_SWAPSIZE=100/g' /etc/dphys-swapfile
# sudo /etc/init.d/dphys-swapfile stop
# sudo /etc/init.d/dphys-swapfile start
import cv2
import time
import numpy as np
fourcc = 'MJPG'
width = 1920
height = 1080
fps = 30
cap = cv2.VideoCapture(0, cv2.CAP_V4L2)
cap.set(cv2.CAP_PROP_FOURCC, cv2.VideoWriter_fourcc(*fourcc))
cap.set(cv2.CAP_PROP_FRAME_WIDTH, width)
cap.set(cv2.CAP_PROP_FRAME_HEIGHT, height)
cap.set(cv2.CAP_PROP_FPS, fps)
# cap.set(cv2.CAP_PROP_AUTO_EXPOSURE, 1) # 3 is on, 1 is off
# cap.set(cv2.CAP_PROP_EXPOSURE, 100)
def capture(cap):
while True:
ret, frame = cap.read()
yield frame
def progress(itr, update_interval=1):
start_time = None
last_time = None
for i, x in enumerate(itr):
cur_time = time.time()
if start_time is None:
start_time = cur_time
last_time = cur_time
yield x
if cur_time - last_time > update_interval:
duration = cur_time - start_time
speed = (i + 1) / duration
print(round(speed, 1), 'fps')
last_time = cur_time
from utils.imutil import imwrite
try:
for i,e in enumerate(progress(capture(cap))):
# if i % 20 == 0:
# cv2.imwrite('out.jpg', e)
continue
except KeyboardInterrupt:
pass
@jakubLangr

This comment has been minimized.

Copy link

@jakubLangr jakubLangr commented May 24, 2021

Hi when running this script I get the following error. Any idea what could cause this? I have Ubuntu 20.04:

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: '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c'
    check option: ' -fsigned-char -W -Wall -Werror=return-type  -Werror=non-virtual-dtor'
===== BUILD LOG =====
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_28e45/fast && /usr/bin/make -f CMakeFiles/cmTC_28e45.dir/build.make CMakeFiles/cmTC_28e45.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_28e45.dir/src.c.o
/usr/bin/cc   -O3 -DNDEBUG -fPIE    -fsigned-char -W -Wall -Werror=return-type  -Werror=non-virtual-dtor -o CMakeFiles/cmTC_28e45.dir/src.c.o   -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=non-virtual-dtor’ is not valid for C
/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
Linking C executable cmTC_28e45
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_28e45.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    CMakeFiles/cmTC_28e45.dir/src.c.o  -o cmTC_28e45 
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/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: '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -fsigned-char -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: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_f9899/fast && /usr/bin/make -f CMakeFiles/cmTC_f9899.dir/build.make CMakeFiles/cmTC_f9899.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_f9899.dir/src.cxx.o
/usr/bin/c++    -O3 -DNDEBUG -fPIE    -fsigned-char -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_f9899.dir/src.cxx.o -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx
cc1plus: warning: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++
/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
Linking CXX executable cmTC_f9899
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f9899.dir/link.txt --verbose=1
/usr/bin/c++    -O3 -DNDEBUG    CMakeFiles/cmTC_f9899.dir/src.cxx.o  -o cmTC_f9899 
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/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: '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -fsigned-char -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: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_0fb4e/fast && /usr/bin/make -f CMakeFiles/cmTC_0fb4e.dir/build.make CMakeFiles/cmTC_0fb4e.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_0fb4e.dir/src.cxx.o
/usr/bin/c++    -O3 -DNDEBUG -fPIE    -fsigned-char -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_0fb4e.dir/src.cxx.o -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
Linking CXX executable cmTC_0fb4e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0fb4e.dir/link.txt --verbose=1
/usr/bin/c++    -O3 -DNDEBUG    CMakeFiles/cmTC_0fb4e.dir/src.cxx.o  -o cmTC_0fb4e 
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/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: '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c'
    check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wsign-promo'
===== BUILD LOG =====
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_b9484/fast && /usr/bin/make -f CMakeFiles/cmTC_b9484.dir/build.make CMakeFiles/cmTC_b9484.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_b9484.dir/src.c.o
/usr/bin/cc   -O3 -DNDEBUG -fPIE    -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wsign-promo -o CMakeFiles/cmTC_b9484.dir/src.c.o   -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ‘-Wsign-promo’ is valid for C++/ObjC++ but not for C
/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
Linking C executable cmTC_b9484
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b9484.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    CMakeFiles/cmTC_b9484.dir/src.c.o  -o cmTC_b9484 
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/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: '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c'
    check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized  -Wsuggest-override'
===== BUILD LOG =====
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_a0bce/fast && /usr/bin/make -f CMakeFiles/cmTC_a0bce.dir/build.make CMakeFiles/cmTC_a0bce.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_a0bce.dir/src.c.o
/usr/bin/cc   -O3 -DNDEBUG -fPIE    -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized  -Wsuggest-override -o CMakeFiles/cmTC_a0bce.dir/src.c.o   -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ‘-Wsuggest-override’ is valid for C++/ObjC++ but not for C
/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
Linking C executable cmTC_a0bce
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a0bce.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    CMakeFiles/cmTC_a0bce.dir/src.c.o  -o cmTC_a0bce 
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/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: '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c'
    check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized  -Wno-delete-non-virtual-dtor'
===== BUILD LOG =====
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_5ad38/fast && /usr/bin/make -f CMakeFiles/cmTC_5ad38.dir/build.make CMakeFiles/cmTC_5ad38.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_5ad38.dir/src.c.o
/usr/bin/cc   -O3 -DNDEBUG -fPIE    -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized  -Wno-delete-non-virtual-dtor -o CMakeFiles/cmTC_5ad38.dir/src.c.o   -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ‘-Wno-delete-non-virtual-dtor’ is valid for C++/ObjC++ but not for C
/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
Linking C executable cmTC_5ad38
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5ad38.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    CMakeFiles/cmTC_5ad38.dir/src.c.o  -o cmTC_5ad38 
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/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: '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor  -Wno-unnamed-type-template-args'
===== BUILD LOG =====
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_dca8e/fast && /usr/bin/make -f CMakeFiles/cmTC_dca8e.dir/build.make CMakeFiles/cmTC_dca8e.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_dca8e.dir/src.cxx.o
/usr/bin/c++    -O3 -DNDEBUG -fPIE    -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor  -Wno-unnamed-type-template-args -std=c++11 -o CMakeFiles/cmTC_dca8e.dir/src.cxx.o -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx
/home/jakub/code/build_opencv/opencv/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_dca8e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_dca8e.dir/link.txt --verbose=1
/usr/bin/c++    -O3 -DNDEBUG    CMakeFiles/cmTC_dca8e.dir/src.cxx.o  -o cmTC_dca8e 
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/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: '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c'
    check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized  -Wno-unnamed-type-template-args'
===== BUILD LOG =====
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_5df04/fast && /usr/bin/make -f CMakeFiles/cmTC_5df04.dir/build.make CMakeFiles/cmTC_5df04.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_5df04.dir/src.c.o
/usr/bin/cc   -O3 -DNDEBUG -fPIE    -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized  -Wno-unnamed-type-template-args -o CMakeFiles/cmTC_5df04.dir/src.c.o   -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c
/home/jakub/code/build_opencv/opencv/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_5df04
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5df04.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    CMakeFiles/cmTC_5df04.dir/src.c.o  -o cmTC_5df04 
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/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: '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c'
    check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden  -fvisibility-inlines-hidden'
===== BUILD LOG =====
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_07572/fast && /usr/bin/make -f CMakeFiles/cmTC_07572.dir/build.make CMakeFiles/cmTC_07572.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_07572.dir/src.c.o
/usr/bin/cc   -O3 -DNDEBUG -fPIE    -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden  -fvisibility-inlines-hidden -o CMakeFiles/cmTC_07572.dir/src.c.o   -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
Linking C executable cmTC_07572
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_07572.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    CMakeFiles/cmTC_07572.dir/src.c.o  -o cmTC_07572 
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/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: '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c'
    check option: ' -Wno-implicit-const-int-float-conversion'
===== BUILD LOG =====
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_02547/fast && /usr/bin/make -f CMakeFiles/cmTC_02547.dir/build.make CMakeFiles/cmTC_02547.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_02547.dir/src.c.o
/usr/bin/cc   -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -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_02547.dir/src.c.o   -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.c
/home/jakub/code/build_opencv/opencv/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_02547
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_02547.dir/link.txt --verbose=1
/usr/bin/cc    -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden  -O3 -DNDEBUG  -DNDEBUG    -Wl,--gc-sections -Wl,--as-needed  CMakeFiles/cmTC_02547.dir/src.c.o  -o cmTC_02547 
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'


===== END =====

Determining if the _aligned_malloc exist failed with the following output:
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_e00d3/fast && /usr/bin/make -f CMakeFiles/cmTC_e00d3.dir/build.make CMakeFiles/cmTC_e00d3.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_e00d3.dir/CheckSymbolExists.c.o
/usr/bin/cc   -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden  -O3 -DNDEBUG  -DNDEBUG -fPIE   -o CMakeFiles/cmTC_e00d3.dir/CheckSymbolExists.c.o   -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘_aligned_malloc’ undeclared (first use in this function)
    8 |   return ((int*)(&_aligned_malloc))[argc];
      |                   ^~~~~~~~~~~~~~~
/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
/home/jakub/code/build_opencv/opencv/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_e00d3.dir/build.make:66: CMakeFiles/cmTC_e00d3.dir/CheckSymbolExists.c.o] Error 1
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_e00d3/fast] Error 2


File /home/jakub/code/build_opencv/opencv/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
}
Determining if the function sgemm_ exists failed with the following output:
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_1e134/fast && /usr/bin/make -f CMakeFiles/cmTC_1e134.dir/build.make CMakeFiles/cmTC_1e134.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1e134.dir/CheckFunctionExists.c.o
/usr/bin/cc   -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=sgemm_ -O3 -DNDEBUG  -DNDEBUG -fPIE   -o CMakeFiles/cmTC_1e134.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c
Linking C executable cmTC_1e134
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1e134.dir/link.txt --verbose=1
/usr/bin/cc    -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -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_1e134.dir/CheckFunctionExists.c.o  -o cmTC_1e134 
/usr/bin/ld: CMakeFiles/cmTC_1e134.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_1e134.dir/build.make:87: cmTC_1e134] Error 1
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_1e134/fast] Error 2



Determining if the function cheev_ exists failed with the following output:
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_224b6/fast && /usr/bin/make -f CMakeFiles/cmTC_224b6.dir/build.make CMakeFiles/cmTC_224b6.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_224b6.dir/CheckFunctionExists.c.o
/usr/bin/cc   -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=cheev_ -O3 -DNDEBUG  -DNDEBUG -fPIE   -o CMakeFiles/cmTC_224b6.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c
Linking C executable cmTC_224b6
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_224b6.dir/link.txt --verbose=1
/usr/bin/cc    -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -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_224b6.dir/CheckFunctionExists.c.o  -o cmTC_224b6  /usr/lib/x86_64-linux-gnu/libf77blas.so /usr/lib/x86_64-linux-gnu/libatlas.so 
/usr/bin/ld: CMakeFiles/cmTC_224b6.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_224b6.dir/build.make:89: cmTC_224b6] Error 1
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_224b6/fast] Error 2



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: '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-missing-prototypes'
===== BUILD LOG =====
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_82f86/fast && /usr/bin/make -f CMakeFiles/cmTC_82f86.dir/build.make CMakeFiles/cmTC_82f86.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_82f86.dir/src.cxx.o
/usr/bin/c++    -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated  -O3 -DNDEBUG  -DNDEBUG -fPIE    -Wno-missing-prototypes -std=c++11 -o CMakeFiles/cmTC_82f86.dir/src.cxx.o -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx
cc1plus: warning: command line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but not for C++
/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
Linking CXX executable cmTC_82f86
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_82f86.dir/link.txt --verbose=1
/usr/bin/c++     -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated  -O3 -DNDEBUG  -DNDEBUG    -Wl,--gc-sections -Wl,--as-needed  CMakeFiles/cmTC_82f86.dir/src.cxx.o  -o cmTC_82f86 
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'


===== END =====

Build output check failed:
    Regex: 'unrecognized .*option'
    Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-tautological-undefined-compare’'
Compilation failed:
    source file: '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-tautological-undefined-compare'
===== BUILD LOG =====
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_a68c0/fast && /usr/bin/make -f CMakeFiles/cmTC_a68c0.dir/build.make CMakeFiles/cmTC_a68c0.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_a68c0.dir/src.cxx.o
/usr/bin/c++    -fsigned-char -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_a68c0.dir/src.cxx.o -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx
/home/jakub/code/build_opencv/opencv/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_a68c0
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a68c0.dir/link.txt --verbose=1
/usr/bin/c++     -fsigned-char -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_a68c0.dir/src.cxx.o  -o cmTC_a68c0 
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/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: '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-shorten-64-to-32'
===== BUILD LOG =====
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_2cbd6/fast && /usr/bin/make -f CMakeFiles/cmTC_2cbd6.dir/build.make CMakeFiles/cmTC_2cbd6.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_2cbd6.dir/src.cxx.o
/usr/bin/c++    -fsigned-char -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_2cbd6.dir/src.cxx.o -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx
/home/jakub/code/build_opencv/opencv/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_2cbd6
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2cbd6.dir/link.txt --verbose=1
/usr/bin/c++     -fsigned-char -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_2cbd6.dir/src.cxx.o  -o cmTC_2cbd6 
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/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: '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-enum-compare-switch'
===== BUILD LOG =====
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_f9c81/fast && /usr/bin/make -f CMakeFiles/cmTC_f9c81.dir/build.make CMakeFiles/cmTC_f9c81.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_f9c81.dir/src.cxx.o
/usr/bin/c++    -fsigned-char -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_f9c81.dir/src.cxx.o -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx
/home/jakub/code/build_opencv/opencv/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_f9c81
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f9c81.dir/link.txt --verbose=1
/usr/bin/c++     -fsigned-char -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_f9c81.dir/src.cxx.o  -o cmTC_f9c81 
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'


===== END =====

Build output check failed:
    Regex: 'unrecognized .*option'
    Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’'
Compilation failed:
    source file: '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-inconsistent-missing-override'
===== BUILD LOG =====
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_5e9ae/fast && /usr/bin/make -f CMakeFiles/cmTC_5e9ae.dir/build.make CMakeFiles/cmTC_5e9ae.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_5e9ae.dir/src.cxx.o
/usr/bin/c++    -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -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 -Wno-suggest-override  -O3 -DNDEBUG  -DNDEBUG -fPIE    -Wno-inconsistent-missing-override -std=c++11 -o CMakeFiles/cmTC_5e9ae.dir/src.cxx.o -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx
/home/jakub/code/build_opencv/opencv/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_5e9ae
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5e9ae.dir/link.txt --verbose=1
/usr/bin/c++     -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wuninitialized -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 -Wno-suggest-override  -O3 -DNDEBUG  -DNDEBUG    -Wl,--gc-sections -Wl,--as-needed  CMakeFiles/cmTC_5e9ae.dir/src.cxx.o  -o cmTC_5e9ae 
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'


===== END =====

Determining if the include file linux/videodev2.h exists failed with the following output:
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_a5cce/fast && /usr/bin/make -f CMakeFiles/cmTC_a5cce.dir/build.make CMakeFiles/cmTC_a5cce.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_a5cce.dir/CheckIncludeFile.c.o
/usr/bin/cc   -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden  -O3 -DNDEBUG  -DNDEBUG -fPIE   -o CMakeFiles/cmTC_a5cce.dir/CheckIncludeFile.c.o   -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: linux/videodev2.h: No such file or directory
    1 | #include <linux/videodev2.h>
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_a5cce.dir/build.make:66: CMakeFiles/cmTC_a5cce.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_a5cce/fast] Error 2



Determining if the include file sys/videoio.h exists failed with the following output:
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_b891a/fast && /usr/bin/make -f CMakeFiles/cmTC_b891a.dir/build.make CMakeFiles/cmTC_b891a.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_b891a.dir/CheckIncludeFile.c.o
/usr/bin/cc   -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden  -O3 -DNDEBUG  -DNDEBUG -fPIE   -o CMakeFiles/cmTC_b891a.dir/CheckIncludeFile.c.o   -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/jakub/code/build_opencv/opencv/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_b891a.dir/build.make:66: CMakeFiles/cmTC_b891a.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_b891a/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: '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-unused-private-field'
===== BUILD LOG =====
Change Dir: /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_4bf86/fast && /usr/bin/make -f CMakeFiles/cmTC_4bf86.dir/build.make CMakeFiles/cmTC_4bf86.dir/build
make[1]: Entering directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_4bf86.dir/src.cxx.o
/usr/bin/c++    -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -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_4bf86.dir/src.cxx.o -c /home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp/src.cxx
/home/jakub/code/build_opencv/opencv/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_4bf86
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4bf86.dir/link.txt --verbose=1
/usr/bin/c++     -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -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_4bf86.dir/src.cxx.o  -o cmTC_4bf86 
make[1]: Leaving directory '/home/jakub/code/build_opencv/opencv/build/CMakeFiles/CMakeTmp'


===== END =====

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment