Project help, mesh WIFI camera raspberry pi with pan/tilt

Hello,

I need some help to produce a solution for my surveillance CCTV sentiment analysis system.
So I have

5 x pi 3A with camera and pan/tilt system tower pro 995
1 x router
1 x AGX

I need to build a mesh of camera remotely controlled by the Jetson AGX, based on the video analytics has to give new instruction to the pi to move around and search for the person/object requested.

I m thinking to use GStreamer, so to stream to AGX and then, based on the analysis, send new instructions, but there might be a better solution.

How do I do this?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

• Jetson AGX developer kit
• Not isntalled yet
• OS: Ubuntu 18.04.6 LTS aarch64
4.9.253-tegra
R32 (release), REVISION: 6.1, GCID: 27863751, BOARD: t186ref, EABI: aarch64

Do you have expected pipeline , e.g.

video stream —> AI analysis —> control device (with AGX + Camera) to move to search person/object ?

Yes, I got a starting point in GitHub but rather than send an email, I want to do video analysis and object tracking and possibly store results in a database. Any idea how to
-check if the person has been scanned

  • If not scan and do analysis
  • Else scan new parts that have not been scanned and add analysis to the same profile that has been created

Here are the samples. Hope it helps.

https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_C_Sample_Apps.html

This is the log of Opencv installation any help?
following this tutorial I have a 64 gb sd and swapmemory 16 g

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

Run Build Command:"/usr/bin/make" "cmTC_474f6/fast"
/usr/bin/make -f CMakeFiles/cmTC_474f6.dir/build.make CMakeFiles/cmTC_474f6.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_474f6.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_474f6.dir/src.c.o   -c /home/lip/opencv/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=non-virtual-dtor’ is not valid for C
/home/lip/opencv/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma   [-Wunknown-pragmas]
 #pragma
 
Linking C executable cmTC_474f6
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_474f6.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    CMakeFiles/cmTC_474f6.dir/src.c.o  -o cmTC_474f6 
make[1]: Leaving directory '/home/lip/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/lip/opencv/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: /home/lip/opencv/build/CMakeFiles/CMakeTmp

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

Run Build Command:"/usr/bin/make" "cmTC_d5ce8/fast"
/usr/bin/make -f CMakeFiles/cmTC_d5ce8.dir/build.make CMakeFiles/cmTC_d5ce8.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_d5ce8.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_d5ce8.dir/src.cxx.o -c /home/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/home/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma   [-Wunknown-pragmas]
 #pragma
 
Linking CXX executable cmTC_d5ce8
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d5ce8.dir/link.txt --verbose=1
/usr/bin/c++    -O3 -DNDEBUG    CMakeFiles/cmTC_d5ce8.dir/src.cxx.o  -o cmTC_d5ce8 
make[1]: Leaving directory '/home/lip/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/lip/opencv/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: /home/lip/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_f78d6/fast"
/usr/bin/make -f CMakeFiles/cmTC_f78d6.dir/build.make CMakeFiles/cmTC_f78d6.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f78d6.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_f78d6.dir/src.c.o   -c /home/lip/opencv/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ‘-Wsign-promo’ is valid for C++/ObjC++ but not for C
/home/lip/opencv/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma   [-Wunknown-pragmas]
 #pragma
 
Linking C executable cmTC_f78d6
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f78d6.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    CMakeFiles/cmTC_f78d6.dir/src.c.o  -o cmTC_f78d6 
make[1]: Leaving directory '/home/lip/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/lip/opencv/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 -Winit-self  -Wsuggest-override'
===== BUILD LOG =====
Change Dir: /home/lip/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_346be/fast"
/usr/bin/make -f CMakeFiles/cmTC_346be.dir/build.make CMakeFiles/cmTC_346be.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_346be.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 -Winit-self -Wsuggest-override -o CMakeFiles/cmTC_346be.dir/src.c.o   -c /home/lip/opencv/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ‘-Wsuggest-override’ is valid for C++/ObjC++ but not for C
/home/lip/opencv/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma   [-Wunknown-pragmas]
 #pragma
 
Linking C executable cmTC_346be
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_346be.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    CMakeFiles/cmTC_346be.dir/src.c.o  -o cmTC_346be 
make[1]: Leaving directory '/home/lip/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/lip/opencv/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 -Winit-self  -Wno-delete-non-virtual-dtor'
===== BUILD LOG =====
Change Dir: /home/lip/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_0c3f6/fast"
/usr/bin/make -f CMakeFiles/cmTC_0c3f6.dir/build.make CMakeFiles/cmTC_0c3f6.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0c3f6.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 -Winit-self -Wno-delete-non-virtual-dtor -o CMakeFiles/cmTC_0c3f6.dir/src.c.o   -c /home/lip/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/lip/opencv/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma   [-Wunknown-pragmas]
 #pragma
 
Linking C executable cmTC_0c3f6
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0c3f6.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    CMakeFiles/cmTC_0c3f6.dir/src.c.o  -o cmTC_0c3f6 
make[1]: Leaving directory '/home/lip/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/lip/opencv/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 -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor  -Wno-unnamed-type-template-args'
===== BUILD LOG =====
Change Dir: /home/lip/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_63d2f/fast"
/usr/bin/make -f CMakeFiles/cmTC_63d2f.dir/build.make CMakeFiles/cmTC_63d2f.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_63d2f.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 -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -std=c++11 -o CMakeFiles/cmTC_63d2f.dir/src.cxx.o -c /home/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx
/home/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma   [-Wunknown-pragmas]
 #pragma
 
cc1plus: warning: unrecognized command line option ‘-Wno-unnamed-type-template-args’
Linking CXX executable cmTC_63d2f
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_63d2f.dir/link.txt --verbose=1
/usr/bin/c++    -O3 -DNDEBUG    CMakeFiles/cmTC_63d2f.dir/src.cxx.o  -o cmTC_63d2f 
make[1]: Leaving directory '/home/lip/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/lip/opencv/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 -Winit-self  -Wno-unnamed-type-template-args'
===== BUILD LOG =====
Change Dir: /home/lip/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_7668b/fast"
/usr/bin/make -f CMakeFiles/cmTC_7668b.dir/build.make CMakeFiles/cmTC_7668b.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_7668b.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 -Winit-self -Wno-unnamed-type-template-args -o CMakeFiles/cmTC_7668b.dir/src.c.o   -c /home/lip/opencv/build/CMakeFiles/CMakeTmp/src.c
/home/lip/opencv/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma   [-Wunknown-pragmas]
 #pragma
 
cc1: warning: unrecognized command line option ‘-Wno-unnamed-type-template-args’
Linking C executable cmTC_7668b
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7668b.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    CMakeFiles/cmTC_7668b.dir/src.c.o  -o cmTC_7668b 
make[1]: Leaving directory '/home/lip/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/lip/opencv/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 -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden  -fvisibility-inlines-hidden'
===== BUILD LOG =====
Change Dir: /home/lip/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_750d2/fast"
/usr/bin/make -f CMakeFiles/cmTC_750d2.dir/build.make CMakeFiles/cmTC_750d2.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_750d2.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 -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -o CMakeFiles/cmTC_750d2.dir/src.c.o   -c /home/lip/opencv/build/CMakeFiles/CMakeTmp/src.c
cc1: warning: command line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
/home/lip/opencv/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma   [-Wunknown-pragmas]
 #pragma
 
Linking C executable cmTC_750d2
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_750d2.dir/link.txt --verbose=1
/usr/bin/cc   -O3 -DNDEBUG    CMakeFiles/cmTC_750d2.dir/src.c.o  -o cmTC_750d2 
make[1]: Leaving directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'

===== END =====

Determining if the include file io.h exists failed with the following output:
Change Dir: /home/lip/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_009af/fast"
/usr/bin/make -f CMakeFiles/cmTC_009af.dir/build.make CMakeFiles/cmTC_009af.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_009af.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 -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fopenmp  -O3 -DNDEBUG  -DNDEBUG -fPIE   -o CMakeFiles/cmTC_009af.dir/CheckIncludeFile.c.o   -c /home/lip/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/lip/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: io.h: No such file or directory
 #include <io.h>
          ^~~~~~
compilation terminated.
CMakeFiles/cmTC_009af.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_009af.dir/CheckIncludeFile.c.o' failed
make[1]: *** [CMakeFiles/cmTC_009af.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_009af/fast' failed
make: *** [cmTC_009af/fast] Error 2


Determining size of INT8 failed with the following output:
Change Dir: /home/lip/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_3308c/fast"
/usr/bin/make -f CMakeFiles/cmTC_3308c.dir/build.make CMakeFiles/cmTC_3308c.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3308c.dir/int8.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 -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fopenmp  -O3 -DNDEBUG  -DNDEBUG -fPIE   -o CMakeFiles/cmTC_3308c.dir/int8.c.o   -c /home/lip/opencv/build/CMakeFiles/CheckTypeSize/int8.c
/home/lip/opencv/build/CMakeFiles/CheckTypeSize/int8.c:23:22: error: ‘INT8’ undeclared here (not in a function); did you mean ‘INT8_C’?
 #define SIZE (sizeof(INT8))
                      ^
/home/lip/opencv/build/CMakeFiles/CheckTypeSize/int8.c:25:12: note: in expansion of macro ‘SIZE’
   ('0' + ((SIZE / 10000)%10)),
            ^~~~
CMakeFiles/cmTC_3308c.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_3308c.dir/int8.c.o' failed
make[1]: *** [CMakeFiles/cmTC_3308c.dir/int8.c.o] Error 1
make[1]: Leaving directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_3308c/fast' failed
make: *** [cmTC_3308c/fast] Error 2

/home/lip/opencv/build/CMakeFiles/CheckTypeSize/int8.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>


#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__aarch64__)
# define KEY '_','_','a','a','r','c','h','6','4','_','_'
#elif defined(__ARM_ARCH_7A__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
#elif defined(__ARM_ARCH_7S__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
#endif

#define SIZE (sizeof(INT8))
char info_size[] =  {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
  ('0' + ((SIZE / 10000)%10)),
  ('0' + ((SIZE / 1000)%10)),
  ('0' + ((SIZE / 100)%10)),
  ('0' + ((SIZE / 10)%10)),
  ('0' +  (SIZE    % 10)),
  ']',
#ifdef KEY
  ' ','k','e','y','[', KEY, ']',
#endif
  '\0'};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_size[argc];
  (void)argv;
  return require;
}


Determining size of INT16 failed with the following output:
Change Dir: /home/lip/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_0e0eb/fast"
/usr/bin/make -f CMakeFiles/cmTC_0e0eb.dir/build.make CMakeFiles/cmTC_0e0eb.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0e0eb.dir/int16.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 -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fopenmp  -O3 -DNDEBUG  -DNDEBUG -fPIE   -o CMakeFiles/cmTC_0e0eb.dir/int16.c.o   -c /home/lip/opencv/build/CMakeFiles/CheckTypeSize/int16.c
/home/lip/opencv/build/CMakeFiles/CheckTypeSize/int16.c:23:22: error: ‘INT16’ undeclared here (not in a function); did you mean ‘INT16_C’?
 #define SIZE (sizeof(INT16))
                      ^
/home/lip/opencv/build/CMakeFiles/CheckTypeSize/int16.c:25:12: note: in expansion of macro ‘SIZE’
   ('0' + ((SIZE / 10000)%10)),
            ^~~~
CMakeFiles/cmTC_0e0eb.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_0e0eb.dir/int16.c.o' failed
make[1]: *** [CMakeFiles/cmTC_0e0eb.dir/int16.c.o] Error 1
make[1]: Leaving directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_0e0eb/fast' failed
make: *** [cmTC_0e0eb/fast] Error 2

/home/lip/opencv/build/CMakeFiles/CheckTypeSize/int16.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>


#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__aarch64__)
# define KEY '_','_','a','a','r','c','h','6','4','_','_'
#elif defined(__ARM_ARCH_7A__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
#elif defined(__ARM_ARCH_7S__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
#endif

#define SIZE (sizeof(INT16))
char info_size[] =  {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
  ('0' + ((SIZE / 10000)%10)),
  ('0' + ((SIZE / 1000)%10)),
  ('0' + ((SIZE / 100)%10)),
  ('0' + ((SIZE / 10)%10)),
  ('0' +  (SIZE    % 10)),
  ']',
#ifdef KEY
  ' ','k','e','y','[', KEY, ']',
#endif
  '\0'};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_size[argc];
  (void)argv;
  return require;
}


Determining size of INT32 failed with the following output:
Change Dir: /home/lip/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_2bc03/fast"
/usr/bin/make -f CMakeFiles/cmTC_2bc03.dir/build.make CMakeFiles/cmTC_2bc03.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_2bc03.dir/int32.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 -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fopenmp  -O3 -DNDEBUG  -DNDEBUG -fPIE   -o CMakeFiles/cmTC_2bc03.dir/int32.c.o   -c /home/lip/opencv/build/CMakeFiles/CheckTypeSize/int32.c
/home/lip/opencv/build/CMakeFiles/CheckTypeSize/int32.c:23:22: error: ‘INT32’ undeclared here (not in a function); did you mean ‘INT32_C’?
 #define SIZE (sizeof(INT32))
                      ^
/home/lip/opencv/build/CMakeFiles/CheckTypeSize/int32.c:25:12: note: in expansion of macro ‘SIZE’
   ('0' + ((SIZE / 10000)%10)),
            ^~~~
CMakeFiles/cmTC_2bc03.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_2bc03.dir/int32.c.o' failed
make[1]: *** [CMakeFiles/cmTC_2bc03.dir/int32.c.o] Error 1
make[1]: Leaving directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_2bc03/fast' failed
make: *** [cmTC_2bc03/fast] Error 2

/home/lip/opencv/build/CMakeFiles/CheckTypeSize/int32.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>


#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__aarch64__)
# define KEY '_','_','a','a','r','c','h','6','4','_','_'
#elif defined(__ARM_ARCH_7A__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
#elif defined(__ARM_ARCH_7S__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
#endif

#define SIZE (sizeof(INT32))
char info_size[] =  {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
  ('0' + ((SIZE / 10000)%10)),
  ('0' + ((SIZE / 1000)%10)),
  ('0' + ((SIZE / 100)%10)),
  ('0' + ((SIZE / 10)%10)),
  ('0' +  (SIZE    % 10)),
  ']',
#ifdef KEY
  ' ','k','e','y','[', KEY, ']',
#endif
  '\0'};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_size[argc];
  (void)argv;
  return require;
}


Determining if the function setmode exists failed with the following output:
Change Dir: /home/lip/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_a2390/fast"
/usr/bin/make -f CMakeFiles/cmTC_a2390.dir/build.make CMakeFiles/cmTC_a2390.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_a2390.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 -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fopenmp -DCHECK_FUNCTION_EXISTS=setmode -O3 -DNDEBUG  -DNDEBUG -fPIE   -o CMakeFiles/cmTC_a2390.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_a2390
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a2390.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 -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fopenmp -DCHECK_FUNCTION_EXISTS=setmode -O3 -DNDEBUG  -DNDEBUG    -Wl,--gc-sections -Wl,--as-needed  CMakeFiles/cmTC_a2390.dir/CheckFunctionExists.c.o  -o cmTC_a2390 
CMakeFiles/cmTC_a2390.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup.main+0x10): undefined reference to `setmode'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_a2390.dir/build.make:97: recipe for target 'cmTC_a2390' failed
make[1]: *** [cmTC_a2390] Error 1
make[1]: Leaving directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_a2390/fast' failed
make: *** [cmTC_a2390/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/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-missing-prototypes'
===== BUILD LOG =====
Change Dir: /home/lip/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_acf09/fast"
/usr/bin/make -f CMakeFiles/cmTC_acf09.dir/build.make CMakeFiles/cmTC_acf09.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_acf09.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 -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-missing-declarations -Wno-unused-parameter  -O3 -DNDEBUG  -DNDEBUG -fPIE   -Wno-missing-prototypes -std=c++11 -o CMakeFiles/cmTC_acf09.dir/src.cxx.o -c /home/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx
cc1plus: warning: command line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but not for C++
/home/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma   [-Wunknown-pragmas]
 #pragma
 
Linking CXX executable cmTC_acf09
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_acf09.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 -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-missing-declarations -Wno-unused-parameter  -O3 -DNDEBUG  -DNDEBUG    -Wl,--gc-sections -Wl,--as-needed  CMakeFiles/cmTC_acf09.dir/src.cxx.o  -o cmTC_acf09 
make[1]: Leaving directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'

===== END =====

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

Run Build Command:"/usr/bin/make" "cmTC_9eb4b/fast"
/usr/bin/make -f CMakeFiles/cmTC_9eb4b.dir/build.make CMakeFiles/cmTC_9eb4b.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_9eb4b.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 -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fopenmp  -O3 -DNDEBUG  -DNDEBUG -fPIE   -o CMakeFiles/cmTC_9eb4b.dir/CheckSymbolExists.c.o   -c /home/lip/opencv/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/lip/opencv/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
/home/lip/opencv/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘_aligned_malloc’ undeclared (first use in this function); did you mean ‘__builtin_malloc’?
   return ((int*)(&_aligned_malloc))[argc];
                   ^~~~~~~~~~~~~~~
                   __builtin_malloc
/home/lip/opencv/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
/home/lip/opencv/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter]
 int main(int argc, char** argv)
              ^~~~
CMakeFiles/cmTC_9eb4b.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_9eb4b.dir/CheckSymbolExists.c.o' failed
make[1]: *** [CMakeFiles/cmTC_9eb4b.dir/CheckSymbolExists.c.o] Error 1
make[1]: Leaving directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_9eb4b/fast' failed
make: *** [cmTC_9eb4b/fast] Error 2

File /home/lip/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
}

Build output check failed:
    Regex: 'unrecognized .*option'
    Output line: 'cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’'
Compilation failed:
    source file: '/home/lip/opencv/build/CMakeFiles/CMakeTmp/src.c'
    check option: ' -Wno-cast-function-type'
===== BUILD LOG =====
Change Dir: /home/lip/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_713b7/fast"
/usr/bin/make -f CMakeFiles/cmTC_713b7.dir/build.make CMakeFiles/cmTC_713b7.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_713b7.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 -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fopenmp -Wno-undef -Wno-strict-prototypes  -O3 -DNDEBUG  -DNDEBUG -fPIE   -Wno-cast-function-type -o CMakeFiles/cmTC_713b7.dir/src.c.o   -c /home/lip/opencv/build/CMakeFiles/CMakeTmp/src.c
/home/lip/opencv/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma   [-Wunknown-pragmas]
 #pragma
 
cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’
Linking C executable cmTC_713b7
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_713b7.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 -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fopenmp -Wno-undef -Wno-strict-prototypes  -O3 -DNDEBUG  -DNDEBUG    -Wl,--gc-sections -Wl,--as-needed  CMakeFiles/cmTC_713b7.dir/src.c.o  -o cmTC_713b7 
make[1]: Leaving directory '/home/lip/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/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-inconsistent-missing-override'
===== BUILD LOG =====
Change Dir: /home/lip/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_3672c/fast"
/usr/bin/make -f CMakeFiles/cmTC_3672c.dir/build.make CMakeFiles/cmTC_3672c.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_3672c.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 -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -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_3672c.dir/src.cxx.o -c /home/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx
/home/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma   [-Wunknown-pragmas]
 #pragma
 
cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’
Linking CXX executable cmTC_3672c
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3672c.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 -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -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_3672c.dir/src.cxx.o  -o cmTC_3672c 
make[1]: Leaving directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'

===== END =====

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

Run Build Command:"/usr/bin/make" "cmTC_06eb4/fast"
/usr/bin/make -f CMakeFiles/cmTC_06eb4.dir/build.make CMakeFiles/cmTC_06eb4.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_06eb4.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 -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -flifetime-dse=1 -Wno-shadow -Wno-unused-parameter  -O3 -DNDEBUG  -DNDEBUG -fPIE   -Wno-class-memaccess -std=c++11 -o CMakeFiles/cmTC_06eb4.dir/src.cxx.o -c /home/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx
/home/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma   [-Wunknown-pragmas]
 #pragma
 
cc1plus: warning: unrecognized command line option ‘-Wno-class-memaccess’
Linking CXX executable cmTC_06eb4
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_06eb4.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 -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -flifetime-dse=1 -Wno-shadow -Wno-unused-parameter  -O3 -DNDEBUG  -DNDEBUG    -Wl,--gc-sections -Wl,--as-needed  CMakeFiles/cmTC_06eb4.dir/src.cxx.o  -o cmTC_06eb4 
make[1]: Leaving directory '/home/lip/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/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-tautological-undefined-compare'
===== BUILD LOG =====
Change Dir: /home/lip/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_b5581/fast"
/usr/bin/make -f CMakeFiles/cmTC_b5581.dir/build.make CMakeFiles/cmTC_b5581.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_b5581.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 -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -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_b5581.dir/src.cxx.o -c /home/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx
/home/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma   [-Wunknown-pragmas]
 #pragma
 
cc1plus: warning: unrecognized command line option ‘-Wno-tautological-undefined-compare’
Linking CXX executable cmTC_b5581
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b5581.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 -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -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_b5581.dir/src.cxx.o  -o cmTC_b5581 
make[1]: Leaving directory '/home/lip/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/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-shorten-64-to-32'
===== BUILD LOG =====
Change Dir: /home/lip/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_4b83d/fast"
/usr/bin/make -f CMakeFiles/cmTC_4b83d.dir/build.make CMakeFiles/cmTC_4b83d.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_4b83d.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 -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -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_4b83d.dir/src.cxx.o -c /home/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx
/home/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma   [-Wunknown-pragmas]
 #pragma
 
cc1plus: warning: unrecognized command line option ‘-Wno-shorten-64-to-32’
Linking CXX executable cmTC_4b83d
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4b83d.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 -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -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_4b83d.dir/src.cxx.o  -o cmTC_4b83d 
make[1]: Leaving directory '/home/lip/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/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-enum-compare-switch'
===== BUILD LOG =====
Change Dir: /home/lip/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_fe147/fast"
/usr/bin/make -f CMakeFiles/cmTC_fe147.dir/build.make CMakeFiles/cmTC_fe147.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_fe147.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 -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -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_fe147.dir/src.cxx.o -c /home/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx
/home/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma   [-Wunknown-pragmas]
 #pragma
 
cc1plus: warning: unrecognized command line option ‘-Wno-enum-compare-switch’
Linking CXX executable cmTC_fe147
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fe147.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 -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -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_fe147.dir/src.cxx.o  -o cmTC_fe147 
make[1]: Leaving directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'

===== END =====

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

Run Build Command:"/usr/bin/make" "cmTC_76737/fast"
/usr/bin/make -f CMakeFiles/cmTC_76737.dir/build.make CMakeFiles/cmTC_76737.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_76737.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 -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fopenmp  -O3 -DNDEBUG  -DNDEBUG -fPIE   -o CMakeFiles/cmTC_76737.dir/CheckIncludeFile.c.o   -c /home/lip/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/lip/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/videoio.h: No such file or directory
 #include <sys/videoio.h>
          ^~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/cmTC_76737.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_76737.dir/CheckIncludeFile.c.o' failed
make[1]: *** [CMakeFiles/cmTC_76737.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_76737/fast' failed
make: *** [cmTC_76737/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/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -Wno-unused-private-field'
===== BUILD LOG =====
Change Dir: /home/lip/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_eea75/fast"
/usr/bin/make -f CMakeFiles/cmTC_eea75.dir/build.make CMakeFiles/cmTC_eea75.dir/build
make[1]: Entering directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_eea75.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 -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-unused-function -Wno-deprecated-declarations -Wno-overloaded-virtual  -O3 -DNDEBUG  -DNDEBUG -fPIE   -Wno-unused-private-field -std=c++11 -o CMakeFiles/cmTC_eea75.dir/src.cxx.o -c /home/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx
/home/lip/opencv/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma   [-Wunknown-pragmas]
 #pragma
 
cc1plus: warning: unrecognized command line option ‘-Wno-unused-private-field’
Linking CXX executable cmTC_eea75
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_eea75.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 -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections    -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-unused-function -Wno-deprecated-declarations -Wno-overloaded-virtual  -O3 -DNDEBUG  -DNDEBUG    -Wl,--gc-sections -Wl,--as-needed  CMakeFiles/cmTC_eea75.dir/src.cxx.o  -o cmTC_eea75 
make[1]: Leaving directory '/home/lip/opencv/build/CMakeFiles/CMakeTmp'

===== END =====

Jetson by default have OpenCV installed via SDKManager

Some packages require higher version.

Please try this script to re-install OpenCV:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.