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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.c' check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor' ===== BUILD LOG ===== Change Dir: /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_9d267/fast && /usr/bin/make -f CMakeFiles/cmTC_9d267.dir/build.make CMakeFiles/cmTC_9d267.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9d267.dir/src.c.o /usr/bin/cc -O3 -DNDEBUG -fPIE -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -o CMakeFiles/cmTC_9d267.dir/src.c.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.c cc1: warning: ‘-Werror=’ argument ‘-Werror=non-virtual-dtor’ is not valid for C /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma [-Wunknown-pragmas] 1 | #pragma | Linking C executable cmTC_9d267 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9d267.dir/link.txt --verbose=1 /usr/bin/cc -O3 -DNDEBUG CMakeFiles/cmTC_9d267.dir/src.c.o -o cmTC_9d267 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_f68b5/fast && /usr/bin/make -f CMakeFiles/cmTC_f68b5.dir/build.make CMakeFiles/cmTC_f68b5.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_f68b5.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_f68b5.dir/src.cxx.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx cc1plus: warning: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring #pragma [-Wunknown-pragmas] 1 | #pragma | Linking CXX executable cmTC_f68b5 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f68b5.dir/link.txt --verbose=1 /usr/bin/c++ -O3 -DNDEBUG CMakeFiles/cmTC_f68b5.dir/src.cxx.o -o cmTC_f68b5 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_3ace1/fast && /usr/bin/make -f CMakeFiles/cmTC_3ace1.dir/build.make CMakeFiles/cmTC_3ace1.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_3ace1.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_3ace1.dir/src.cxx.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring #pragma [-Wunknown-pragmas] 1 | #pragma | Linking CXX executable cmTC_3ace1 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3ace1.dir/link.txt --verbose=1 /usr/bin/c++ -O3 -DNDEBUG CMakeFiles/cmTC_3ace1.dir/src.cxx.o -o cmTC_3ace1 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_d6ab8/fast && /usr/bin/make -f CMakeFiles/cmTC_d6ab8.dir/build.make CMakeFiles/cmTC_d6ab8.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d6ab8.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_d6ab8.dir/src.c.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.c cc1: warning: command line option ‘-Wsign-promo’ is valid for C++/ObjC++ but not for C /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma [-Wunknown-pragmas] 1 | #pragma | Linking C executable cmTC_d6ab8 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d6ab8.dir/link.txt --verbose=1 /usr/bin/cc -O3 -DNDEBUG CMakeFiles/cmTC_d6ab8.dir/src.c.o -o cmTC_d6ab8 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_34b93/fast && /usr/bin/make -f CMakeFiles/cmTC_34b93.dir/build.make CMakeFiles/cmTC_34b93.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_34b93.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_34b93.dir/src.c.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.c cc1: warning: command line option ‘-Wsuggest-override’ is valid for C++/ObjC++ but not for C /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma [-Wunknown-pragmas] 1 | #pragma | Linking C executable cmTC_34b93 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_34b93.dir/link.txt --verbose=1 /usr/bin/cc -O3 -DNDEBUG CMakeFiles/cmTC_34b93.dir/src.c.o -o cmTC_34b93 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_fad08/fast && /usr/bin/make -f CMakeFiles/cmTC_fad08.dir/build.make CMakeFiles/cmTC_fad08.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_fad08.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_fad08.dir/src.c.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma [-Wunknown-pragmas] 1 | #pragma | Linking C executable cmTC_fad08 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fad08.dir/link.txt --verbose=1 /usr/bin/cc -O3 -DNDEBUG CMakeFiles/cmTC_fad08.dir/src.c.o -o cmTC_fad08 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_072b7/fast && /usr/bin/make -f CMakeFiles/cmTC_072b7.dir/build.make CMakeFiles/cmTC_072b7.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_072b7.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_072b7.dir/src.cxx.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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_072b7 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_072b7.dir/link.txt --verbose=1 /usr/bin/c++ -O3 -DNDEBUG CMakeFiles/cmTC_072b7.dir/src.cxx.o -o cmTC_072b7 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_9992c/fast && /usr/bin/make -f CMakeFiles/cmTC_9992c.dir/build.make CMakeFiles/cmTC_9992c.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9992c.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_9992c.dir/src.c.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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_9992c /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9992c.dir/link.txt --verbose=1 /usr/bin/cc -O3 -DNDEBUG CMakeFiles/cmTC_9992c.dir/src.c.o -o cmTC_9992c make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_c743a/fast && /usr/bin/make -f CMakeFiles/cmTC_c743a.dir/build.make CMakeFiles/cmTC_c743a.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c743a.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_c743a.dir/src.c.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.c cc1: warning: command line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma [-Wunknown-pragmas] 1 | #pragma | Linking C executable cmTC_c743a /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c743a.dir/link.txt --verbose=1 /usr/bin/cc -O3 -DNDEBUG CMakeFiles/cmTC_c743a.dir/src.c.o -o cmTC_c743a make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' ===== END ===== Build output check failed: Regex: 'unrecognized .*option' Output line: 'cc1: warning: unrecognized command line option ‘-Wno-shorten-64-to-32’' Compilation failed: source file: '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.c' check option: ' -Wno-shorten-64-to-32' ===== BUILD LOG ===== Change Dir: /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_d4be4/fast && /usr/bin/make -f CMakeFiles/cmTC_d4be4.dir/build.make CMakeFiles/cmTC_d4be4.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d4be4.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 -Wno-unused-parameter -Wno-sign-compare -O3 -DNDEBUG -DNDEBUG -fPIE -Wno-shorten-64-to-32 -o CMakeFiles/cmTC_d4be4.dir/src.c.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma [-Wunknown-pragmas] 1 | #pragma | cc1: warning: unrecognized command line option ‘-Wno-shorten-64-to-32’ Linking C executable cmTC_d4be4 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d4be4.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 -Wno-unused-parameter -Wno-sign-compare -O3 -DNDEBUG -DNDEBUG -Wl,--gc-sections -Wl,--as-needed CMakeFiles/cmTC_d4be4.dir/src.c.o -o cmTC_d4be4 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' ===== END ===== Determining if the include file io.h exists failed with the following output: Change Dir: /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_3caa0/fast && /usr/bin/make -f CMakeFiles/cmTC_3caa0.dir/build.make CMakeFiles/cmTC_3caa0.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3caa0.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_3caa0.dir/CheckIncludeFile.c.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: io.h: No such file or directory 1 | #include | ^~~~~~ compilation terminated. make[1]: *** [CMakeFiles/cmTC_3caa0.dir/build.make:66: CMakeFiles/cmTC_3caa0.dir/CheckIncludeFile.c.o] Error 1 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' make: *** [Makefile:121: cmTC_3caa0/fast] Error 2 Determining size of INT8 failed with the following output: Change Dir: /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_cd4eb/fast && /usr/bin/make -f CMakeFiles/cmTC_cd4eb.dir/build.make CMakeFiles/cmTC_cd4eb.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_cd4eb.dir/int8.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_cd4eb.dir/int8.c.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CheckTypeSize/int8.c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CheckTypeSize/int8.c:23:22: error: ‘INT8’ undeclared here (not in a function); did you mean ‘INT8_C’? 23 | #define SIZE (sizeof(INT8)) | ^~~~ /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CheckTypeSize/int8.c:25:12: note: in expansion of macro ‘SIZE’ 25 | ('0' + ((SIZE / 10000)%10)), | ^~~~ make[1]: *** [CMakeFiles/cmTC_cd4eb.dir/build.make:66: CMakeFiles/cmTC_cd4eb.dir/int8.c.o] Error 1 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' make: *** [Makefile:121: cmTC_cd4eb/fast] Error 2 /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CheckTypeSize/int8.c: #include #include #include #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)) static 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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_e0582/fast && /usr/bin/make -f CMakeFiles/cmTC_e0582.dir/build.make CMakeFiles/cmTC_e0582.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e0582.dir/int16.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_e0582.dir/int16.c.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CheckTypeSize/int16.c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CheckTypeSize/int16.c:23:22: error: ‘INT16’ undeclared here (not in a function); did you mean ‘INT16_C’? 23 | #define SIZE (sizeof(INT16)) | ^~~~~ /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CheckTypeSize/int16.c:25:12: note: in expansion of macro ‘SIZE’ 25 | ('0' + ((SIZE / 10000)%10)), | ^~~~ make[1]: *** [CMakeFiles/cmTC_e0582.dir/build.make:66: CMakeFiles/cmTC_e0582.dir/int16.c.o] Error 1 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' make: *** [Makefile:121: cmTC_e0582/fast] Error 2 /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CheckTypeSize/int16.c: #include #include #include #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)) static 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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_2e0ee/fast && /usr/bin/make -f CMakeFiles/cmTC_2e0ee.dir/build.make CMakeFiles/cmTC_2e0ee.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2e0ee.dir/int32.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_2e0ee.dir/int32.c.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CheckTypeSize/int32.c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CheckTypeSize/int32.c:23:22: error: ‘INT32’ undeclared here (not in a function); did you mean ‘INT32_C’? 23 | #define SIZE (sizeof(INT32)) | ^~~~~ /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CheckTypeSize/int32.c:25:12: note: in expansion of macro ‘SIZE’ 25 | ('0' + ((SIZE / 10000)%10)), | ^~~~ make[1]: *** [CMakeFiles/cmTC_2e0ee.dir/build.make:66: CMakeFiles/cmTC_2e0ee.dir/int32.c.o] Error 1 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' make: *** [Makefile:121: cmTC_2e0ee/fast] Error 2 /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CheckTypeSize/int32.c: #include #include #include #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)) static 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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_8f027/fast && /usr/bin/make -f CMakeFiles/cmTC_8f027.dir/build.make CMakeFiles/cmTC_8f027.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8f027.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=setmode -O3 -DNDEBUG -DNDEBUG -fPIE -o CMakeFiles/cmTC_8f027.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_8f027 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8f027.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=setmode -O3 -DNDEBUG -DNDEBUG -Wl,--gc-sections -Wl,--as-needed CMakeFiles/cmTC_8f027.dir/CheckFunctionExists.c.o -o cmTC_8f027 /usr/bin/ld: CMakeFiles/cmTC_8f027.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup.main+0x10): undefined reference to `setmode' collect2: error: ld returned 1 exit status make[1]: *** [CMakeFiles/cmTC_8f027.dir/build.make:87: cmTC_8f027] Error 1 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' make: *** [Makefile:121: cmTC_8f027/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-missing-prototypes' ===== BUILD LOG ===== Change Dir: /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_6386f/fast && /usr/bin/make -f CMakeFiles/cmTC_6386f.dir/build.make CMakeFiles/cmTC_6386f.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_6386f.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 -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-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG -DNDEBUG -fPIE -Wno-missing-prototypes -std=c++11 -o CMakeFiles/cmTC_6386f.dir/src.cxx.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx cc1plus: warning: command line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but not for C++ /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring #pragma [-Wunknown-pragmas] 1 | #pragma | Linking CXX executable cmTC_6386f /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6386f.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 -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-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG -DNDEBUG -Wl,--gc-sections -Wl,--as-needed CMakeFiles/cmTC_6386f.dir/src.cxx.o -o cmTC_6386f make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.c' check option: ' -Wno-implicit-const-int-float-conversion' ===== BUILD LOG ===== Change Dir: /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_5bc9f/fast && /usr/bin/make -f CMakeFiles/cmTC_5bc9f.dir/build.make CMakeFiles/cmTC_5bc9f.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5bc9f.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_5bc9f.dir/src.c.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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_5bc9f /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5bc9f.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_5bc9f.dir/src.c.o -o cmTC_5bc9f make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' ===== END ===== Determining if the _aligned_malloc exist failed with the following output: Change Dir: /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_74048/fast && /usr/bin/make -f CMakeFiles/cmTC_74048.dir/build.make CMakeFiles/cmTC_74048.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_74048.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_74048.dir/CheckSymbolExists.c.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’: /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘_aligned_malloc’ undeclared (first use in this function) 8 | return ((int*)(&_aligned_malloc))[argc]; | ^~~~~~~~~~~~~~~ /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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_74048.dir/build.make:66: CMakeFiles/cmTC_74048.dir/CheckSymbolExists.c.o] Error 1 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' make: *** [Makefile:121: cmTC_74048/fast] Error 2 File /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef _aligned_malloc return ((int*)(&_aligned_malloc))[argc]; #else (void)argc; return 0; #endif } Build output check failed: Regex: 'unrecognized .*option' Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’' Compilation failed: source file: '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-inconsistent-missing-override' ===== BUILD LOG ===== Change Dir: /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_8af25/fast && /usr/bin/make -f CMakeFiles/cmTC_8af25.dir/build.make CMakeFiles/cmTC_8af25.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_8af25.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 -Wsign-promo -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-deprecated -Wno-suggest-override -O3 -DNDEBUG -DNDEBUG -fPIE -Wno-inconsistent-missing-override -std=c++11 -o CMakeFiles/cmTC_8af25.dir/src.cxx.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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_8af25 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8af25.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 -Wsign-promo -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-deprecated -Wno-suggest-override -O3 -DNDEBUG -DNDEBUG -Wl,--gc-sections -Wl,--as-needed CMakeFiles/cmTC_8af25.dir/src.cxx.o -o cmTC_8af25 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' ===== END ===== Build output check failed: Regex: 'unrecognized .*option' Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-implicit-const-int-float-conversion’' Compilation failed: source file: '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-implicit-const-int-float-conversion' ===== BUILD LOG ===== Change Dir: /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_b4338/fast && /usr/bin/make -f CMakeFiles/cmTC_b4338.dir/build.make CMakeFiles/cmTC_b4338.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_b4338.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 -Wsign-promo -Wno-delete-non-virtual-dtor -Wno-comment -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-deprecated -Wno-suggest-override -Wno-implicit-fallthrough -Wno-tautological-compare -Wno-reorder -Wno-unused-result -O3 -DNDEBUG -DNDEBUG -fPIE -Wno-implicit-const-int-float-conversion -std=c++11 -o CMakeFiles/cmTC_b4338.dir/src.cxx.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring #pragma [-Wunknown-pragmas] 1 | #pragma | cc1plus: warning: unrecognized command line option ‘-Wno-implicit-const-int-float-conversion’ Linking CXX executable cmTC_b4338 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b4338.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 -Wsign-promo -Wno-delete-non-virtual-dtor -Wno-comment -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-shadow -Wno-unused -Wno-sign-compare -Wno-undef -Wno-missing-declarations -Wno-uninitialized -Wno-switch -Wno-parentheses -Wno-array-bounds -Wno-extra -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-deprecated -Wno-suggest-override -Wno-implicit-fallthrough -Wno-tautological-compare -Wno-reorder -Wno-unused-result -O3 -DNDEBUG -DNDEBUG -Wl,--gc-sections -Wl,--as-needed CMakeFiles/cmTC_b4338.dir/src.cxx.o -o cmTC_b4338 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' ===== END ===== Determining if the function sgemm_ exists failed with the following output: Change Dir: /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_4d4e5/fast && /usr/bin/make -f CMakeFiles/cmTC_4d4e5.dir/build.make CMakeFiles/cmTC_4d4e5.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4d4e5.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_4d4e5.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_4d4e5 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4d4e5.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_4d4e5.dir/CheckFunctionExists.c.o -o cmTC_4d4e5 /usr/bin/ld: CMakeFiles/cmTC_4d4e5.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_4d4e5.dir/build.make:87: cmTC_4d4e5] Error 1 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' make: *** [Makefile:121: cmTC_4d4e5/fast] Error 2 Determining if the function cheev_ exists failed with the following output: Change Dir: /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_1c9b1/fast && /usr/bin/make -f CMakeFiles/cmTC_1c9b1.dir/build.make CMakeFiles/cmTC_1c9b1.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1c9b1.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_1c9b1.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_1c9b1 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1c9b1.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_1c9b1.dir/CheckFunctionExists.c.o -o cmTC_1c9b1 /usr/lib/x86_64-linux-gnu/libblas.so /usr/bin/ld: CMakeFiles/cmTC_1c9b1.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_1c9b1.dir/build.make:88: cmTC_1c9b1] Error 1 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' make: *** [Makefile:121: cmTC_1c9b1/fast] Error 2 Build output check failed: Regex: 'unrecognized .*option' Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-tautological-undefined-compare’' Compilation failed: source file: '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-tautological-undefined-compare' ===== BUILD LOG ===== Change Dir: /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_61ca0/fast && /usr/bin/make -f CMakeFiles/cmTC_61ca0.dir/build.make CMakeFiles/cmTC_61ca0.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_61ca0.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_61ca0.dir/src.cxx.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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_61ca0 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_61ca0.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_61ca0.dir/src.cxx.o -o cmTC_61ca0 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-shorten-64-to-32' ===== BUILD LOG ===== Change Dir: /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_cbb69/fast && /usr/bin/make -f CMakeFiles/cmTC_cbb69.dir/build.make CMakeFiles/cmTC_cbb69.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_cbb69.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_cbb69.dir/src.cxx.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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_cbb69 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cbb69.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_cbb69.dir/src.cxx.o -o cmTC_cbb69 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-enum-compare-switch' ===== BUILD LOG ===== Change Dir: /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_6fbae/fast && /usr/bin/make -f CMakeFiles/cmTC_6fbae.dir/build.make CMakeFiles/cmTC_6fbae.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_6fbae.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_6fbae.dir/src.cxx.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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_6fbae /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6fbae.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_6fbae.dir/src.cxx.o -o cmTC_6fbae make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' ===== END ===== Determining if the include file sys/videoio.h exists failed with the following output: Change Dir: /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_982d2/fast && /usr/bin/make -f CMakeFiles/cmTC_982d2.dir/build.make CMakeFiles/cmTC_982d2.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_982d2.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_982d2.dir/CheckIncludeFile.c.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/videoio.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [CMakeFiles/cmTC_982d2.dir/build.make:66: CMakeFiles/cmTC_982d2.dir/CheckIncludeFile.c.o] Error 1 make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' make: *** [Makefile:121: cmTC_982d2/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/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-unused-private-field' ===== BUILD LOG ===== Change Dir: /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_d634b/fast && /usr/bin/make -f CMakeFiles/cmTC_d634b.dir/build.make CMakeFiles/cmTC_d634b.dir/build make[1]: Entering directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_d634b.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_d634b.dir/src.cxx.o -c /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp/src.cxx /home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/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_d634b /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d634b.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_d634b.dir/src.cxx.o -o cmTC_d634b make[1]: Leaving directory '/home/cmhu/vpt_ascend/3rdparty/opencv-4.5.4/build/CMakeFiles/CMakeTmp' ===== END =====