Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all 304 articles
Browse latest View live

Fail to build

$
0
0
My setup is Windows 10, MingGW-64, cmake 3.11.1 win64, lastest stable opencv and contrib. After following the guide here https://zami0xzami.wordpress.com/2016/03/17/building-opencv-for-android-from-source/ I get this after pressing configure: Determining if the CXX compiler works failed with the following CMakeError output: Change Dir: D:/Desenvolvimento/Programas/OpenCV/Source/opencv-master/platforms/android-arm/CMakeFiles/CMakeTmp Run Build Command:"D:/Desenvolvimento/Programas/CMake/bin/cmake.exe" "cmTC_f9469/fast" CMake Error: The source directory "D:/Desenvolvimento/Programas/OpenCV/Source/opencv-master/platforms/android-arm/CMakeFiles/CMakeTmp/cmTC_f9469/fast" does not exist. Specify --help for usage, or press the help button on the CMake GUI. I have checked CMakeTmp directory and no cmTC_* is ever created. CMakeTmp is marked as read only and I can`t unset it. Weird, but I can create files there.

Building OpenCV on Raspberry Pi fails

$
0
0
Hi, i used this tutorial for installing OpenCv with Contrib modules on my Raspberry Pi 3 model 2: http://www.life2coding.com/install-opencv-3-4-0-python-3-raspberry-pi-3/ but it fails at 65%. I use Ubuntu Mate 16.02. Does anybody have an idea why it crashes or what i should install in order for it to compile? I additionally tried to install: > sudo apt-get install libwebp-dev but that didn't change anything... Thanks, MarviB [ 0%] Built target gen-pkgconfig [ 10%] Built target libwebp [ 16%] Built target IlmImf [ 20%] Built target carotene_objs [ 20%] Built target tegra_hal [ 27%] Built target libprotobuf [ 27%] Built target opencv_core_pch_dephelp [ 27%] Built target pch_Generate_opencv_core [ 32%] Built target opencv_core [ 32%] Built target opencv_flann_pch_dephelp [ 32%] Built target pch_Generate_opencv_flann [ 33%] Built target opencv_flann [ 33%] Built target opencv_imgproc_pch_dephelp [ 33%] Built target pch_Generate_opencv_imgproc [ 38%] Built target opencv_imgproc [ 38%] Built target opencv_ml_pch_dephelp [ 38%] Built target pch_Generate_opencv_ml [ 39%] Built target opencv_ml [ 39%] Built target opencv_objdetect_pch_dephelp [ 40%] Built target pch_Generate_opencv_objdetect [ 41%] Built target opencv_objdetect [ 41%] Built target opencv_photo_pch_dephelp [ 41%] Built target pch_Generate_opencv_photo [ 43%] Built target opencv_photo [ 43%] Built target opencv_video_pch_dephelp [ 43%] Built target pch_Generate_opencv_video [ 45%] Built target opencv_video [ 45%] Built target opencv_dnn_pch_dephelp [ 45%] Built target pch_Generate_opencv_dnn [ 51%] Built target opencv_dnn [ 51%] Built target opencv_imgcodecs_pch_dephelp [ 51%] Built target pch_Generate_opencv_imgcodecs [ 53%] Built target opencv_imgcodecs [ 53%] Built target opencv_shape_pch_dephelp [ 53%] Built target pch_Generate_opencv_shape [ 54%] Built target opencv_shape [ 54%] Built target opencv_videoio_pch_dephelp [ 55%] Built target pch_Generate_opencv_videoio [ 55%] Built target opencv_videoio [ 55%] Built target opencv_highgui_pch_dephelp [ 55%] Built target pch_Generate_opencv_highgui [ 55%] Built target opencv_highgui [ 55%] Built target opencv_superres_pch_dephelp [ 55%] Built target pch_Generate_opencv_superres [ 56%] Built target opencv_superres [ 56%] Built target opencv_features2d_pch_dephelp [ 57%] Built target pch_Generate_opencv_features2d [ 59%] Built target opencv_features2d [ 60%] Built target opencv_calib3d_pch_dephelp [ 60%] Built target pch_Generate_opencv_calib3d [ 62%] Built target opencv_calib3d [ 62%] Built target opencv_stitching_pch_dephelp [ 62%] Built target pch_Generate_opencv_stitching [ 63%] Built target opencv_stitching [ 64%] Built target opencv_videostab_pch_dephelp [ 64%] Built target pch_Generate_opencv_videostab [ 65%] Built target opencv_videostab [ 65%] Built target gen_opencv_python_source [ 65%] Built target opencv_python3 [ 65%] Linking CXX executable ../../bin/opencv_traincascade ../../lib/libopencv_imgcodecs.so.3.4.0: undefined reference to `WebPEncodingSetError' ../../lib/libopencv_imgcodecs.so.3.4.0: undefined reference to `WebPEncode' collect2: error: ld returned 1 exit status apps/traincascade/CMakeFiles/opencv_traincascade.dir/build.make:389: recipe for target 'bin/opencv_traincascade' failed make[2]: *** [bin/opencv_traincascade] Error 1 CMakeFiles/Makefile2:3866: recipe for target 'apps/traincascade/CMakeFiles/opencv_traincascade.dir/all' failed make[1]: *** [apps/traincascade/CMakeFiles/opencv_traincascade.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2

Android ABI

$
0
0
Hello, I'm wondering if anyone uses OpenCV with android and tries to add an extra module from OpenCV Contrib library, Do you face a problem with ABI Supported (X86 - X86_64 - arm64 are not found ) what shall I do to build lib with all these ABI ![image description](/upfiles/15288100212472316.png)

Compiling OpenCV with ffmpeg GPU support

$
0
0
i am trying to get FFMPEG to use GPU to improve the speed of my program. I got FFMPEG from cloning https://git.ffmpeg.org/ffmpeg.git and followed the steps here https://developer.nvidia.com/ffmpeg to get it working. I am building opencv 3.1.0 by cloning, git clone https://github.com/opencv/opencv.git and using git checkout -b v3.1.0 3.1.0. I also had to cherry pick some git commits to make this working properly. When I bulid Opencv; -- Video I/O: -- DC1394 1.x: NO -- DC1394 2.x: NO -- FFMPEG: YES -- codec: YES (ver 58.20.103) -- format: YES (ver 58.17.100) -- util: YES (ver 56.18.102) -- swscale: YES (ver 5.2.100) -- resample: NO -- gentoo-style: YES When I run ffmpeg on the terminal: ffmpeg version N-91329-g830695b Copyright (c) 2000-2018 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609 configuration: --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 libavutil 56. 18.102 / 56. 18.102 libavcodec 58. 20.103 / 58. 20.103 libavformat 58. 17.100 / 58. 17.100 libavdevice 58. 4.101 / 58. 4.101 libavfilter 7. 25.100 / 7. 25.100 libswscale 5. 2.100 / 5. 2.100 libswresample 3. 2.100 / 3. 2.100 However, when I run make -j15, I get an error: /home/jio/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1313:21: error: ‘CODEC_FLAG_GLOBAL_HEADER’ was not declared in this scope c->flags |= CODEC_FLAG_GLOBAL_HEADER; ^ /home/jio/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In function ‘int icv_av_write_frame_FFMPEG(AVFormatContext*, AVStream*, uint8_t*, uint32_t, AVFrame*)’: /home/jio/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1337:30: error: ‘AVFMT_RAWPICTURE’ was not declared in this scope if (oc->oformat->flags & AVFMT_RAWPICTURE) { ^ /home/jio/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘void CvVideoWriter_FFMPEG::close()’: /home/jio/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1525:35: error: ‘AVFMT_RAWPICTURE’ was not declared in this scope if( (oc->oformat->flags & AVFMT_RAWPICTURE) == 0 ) ^ In file included from /home/jio/opencv/modules/videoio/src/cap_ffmpeg.cpp:45:0: /home/jio/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvVideoWriter_FFMPEG::open(const char*, int, double, int, int, bool)’: /home/jio/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:1825:32: error: ‘AVFMT_RAWPICTURE’ was not declared in this scope if (!(oc->oformat->flags & AVFMT_RAWPICTURE)) { ^ /home/jio/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp: In static member function ‘static AVStream* OutputMediaStream_FFMPEG::addVideoStream(AVFormatContext*, AVCodecID, int, int, int, double, AVPixelFormat)’: /home/jio/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:2124:25: error: ‘CODEC_FLAG_GLOBAL_HEADER’ was not declared in this scope c->flags |= CODEC_FLAG_GLOBAL_HEADER; Any help would be greatly appreciated.

Check if opencv is using the GPU enabled FFMPEG

$
0
0
I am trying to use the GPU version of ffmpeg with opencv. I got the GPU enabled version of FFMPEG from cloning https://git.ffmpeg.org/ffmpeg.git . I compiled opencv by specifying the paths of the GPU version. When I run ffmpeg, I get: `ffmpeg version N-91329-g830695b Copyright (c) 2000-2018 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.6) 20160609 configuration: --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --enable-shared --disable-static libavutil 56. 18.102 / 56. 18.102 libavcodec 58. 20.103 / 58. 20.103 libavformat 58. 17.100 / 58. 17.100 libavdevice 58. 4.101 / 58. 4.101 libavfilter 7. 25.100 / 7. 25.100 libswscale 5. 2.100 / 5. 2.100 libswresample 3. 2.100 / 3. 2.100 Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...` When I run getBuildInformation from opencv I get: ` Video I/O: DC1394 1.x: NO DC1394 2.x: YES (ver 2.2.4) FFMPEG: YES codec: YES (ver 58.20.103) format: YES (ver 58.17.100) util: YES (ver 56.18.102) swscale: YES (ver 5.2.100) resample: NO gentoo-style: YES GStreamer: NO OpenNI: NO OpenNI PrimeSensor Modules: NO OpenNI2: NO PvAPI: NO GigEVisionSDK: NO UniCap: NO UniCap ucil: NO V4L/V4L2: NO/YES XIMEA: NO Xine: NO gPhoto2: NO ` I assume that everything is compiled properly because the ffmpeg versions match. However when I run a small decoding program to test whether ffmpeg uses GPU or not, I do not see the program on nvidia-smi. As another observation, the FFMPEG version mentioned above appears on nvidia-smi (uses 378 MB) when running `ffmpeg -vsync 0 -c:v h264_cuvid -i /home/user/video.mp4 -f rawvideo output.yuv` Is there any mistake in my procedure? How else can I validate my results? Any help would be greatly appreciated! Thank you!

Error in building OpenCV

$
0
0
Hi, I am trying to build OpenCV (with contribe modules and cuda enabled) from scratch. I do this job more than ten times and I used it successfully but this time there is an error I do not recognize it. In the building section with visual studio I see about 100 errors like this one: >LINK : fatal error LNK1104: cannot open file '....\lib\Debug\opencv_imgproc330d.lib' the steps of my building are: 1- Download OpenCV source files. 2- Download OpenCV_Contrib 3- Copy contrib modules to the source one. 4- Config and generate with CMake GUI. 5- Build with Visual studio 2015 I try it with different OpenCV versions, but there is no difference... Thanks a lot System information (version) OpenCV => 3.0 , 3.3 , 3.41 Operating System / Platform => Windows 10 64 Bit Compiler => Visual Studio 2015 And this is the output of CMake: Selecting Windows SDK version to target Windows 10.0.16299. Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7") Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.6") Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "3.4") Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "3.2") found Intel IPP (ICV version): 2017.0.2 [2017.0.2] at: C:/A_Sharifian/opencv/build/3rdparty/ippicv/ippicv_win found Intel IPP IW binaries: 2017.0.2 at: C:/A_Sharifian/opencv/build/3rdparty/ippicv/ippicv_win/../ippiw_win/ CUDA detected: 9.0 CUDA NVCC target flags: -gencode;arch=compute_52,code=sm_52;-D_FORCE_INLINES Could not find OpenBLAS include. Turning OpenBLAS_FOUND off Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off Could NOT find BLAS (missing: BLAS_LIBRARIES) LAPACK requires BLAS A library with LAPACK API not found. Please specify library location. Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file Caffe: NO Protobuf: NO Glog: NO freetype2: NO harfbuzz: NO No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available. Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake. Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components. Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags Excluding from source files list: C:/A_Sharifian/opencv/build/modules/imgproc/accum.neon.cpp Torch importer has been enabled. To run the tests you have to install Torch ('th' executable should be available) and generate testdata using opencv_extra/testdata/dnn/generate_torch_models.py script. Tesseract: NO General configuration for OpenCV 3.3.0 ===================================== Version control: unknown Platform: Timestamp: 2018-07-02T14:52:51Z Host: Windows 10.0.16299 AMD64 CMake: 3.11.1 CMake generator: Visual Studio 14 2015 Win64 CMake build tool: C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe MSVC: 1900 CPU/HW features: Baseline: SSE SSE2 SSE3 requested: SSE3 Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 requested: SSE4_1 SSE4_2 AVX FP16 AVX2 SSE4_1 (2 files): + SSSE3 SSE4_1 SSE4_2 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX AVX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX AVX2 (7 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 C/C++: Built as dynamic libs?: YES C++11: YES C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe (ver 19.0.23506.0) C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /EHa /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /wd4251 /wd4324 /wd4275 /wd4589 /MP8 /MD /O2 /Ob2 /DNDEBUG /Zi C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /EHa /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /wd4251 /wd4324 /wd4275 /wd4589 /MP8 /MDd /Zi /Ob0 /Od /RTC1 C Compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe C flags (Release): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /MP8 /MD /O2 /Ob2 /DNDEBUG /Zi C flags (Debug): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /MP8 /MDd /Zi /Ob0 /Od /RTC1 Linker flags (Release): /machine:x64 /INCREMENTAL:NO /debug Linker flags (Debug): /machine:x64 /debug /INCREMENTAL ccache: NO Precompiled headers: YES Extra dependencies: comctl32 gdi32 ole32 setupapi ws2_32 vfw32 cudart nppc bin npps cufft -LIBPATH:C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0/lib/x64 -LIBPATH:C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0 3rdparty dependencies: OpenCV modules: To be built: cudev core cudaarithm flann imgproc ml objdetect phase_unwrapping plot reg surface_matching video xphoto bgsegm cudabgsegm cudafilters cudaimgproc cudawarping dnn fuzzy img_hash imgcodecs photo shape videoio xobjdetect cudacodec highgui ts bioinspired dpm features2d line_descriptor saliency text calib3d ccalib cudafeatures2d cudalegacy cudaobjdetect cudaoptflow cudastereo datasets rgbd stereo structured_light superres tracking videostab xfeatures2d ximgproc optflow stitching Disabled: contrib_world world Disabled by dependency: - Unavailable: cnn_3dobj cvv freetype hdf java python2 python3 sfm viz Windows RT support: NO GUI: QT: NO Win32 UI: YES OpenGL support: NO VTK support: NO Media I/O: ZLib: build (ver 1.2.8) JPEG: build (ver 90) WEBP: build (ver encoder: 0x020e) PNG: build (ver 1.6.24) TIFF: build (ver 42 - 4.0.2) JPEG 2000: build (ver 1.900.1) OpenEXR: build (ver 1.7.1) GDAL: NO GDCM: NO Video I/O: Video for Windows: YES DC1394 1.x: NO DC1394 2.x: NO FFMPEG: YES (prebuilt binaries) avcodec: YES (ver 57.89.100) avformat: YES (ver 57.71.100) avutil: YES (ver 55.58.100) swscale: YES (ver 4.6.100) avresample: YES (ver 3.5.0) GStreamer: NO OpenNI: NO OpenNI PrimeSensor Modules: NO OpenNI2: NO PvAPI: NO GigEVisionSDK: NO DirectShow: YES Media Foundation: NO XIMEA: NO Intel PerC: NO Parallel framework: Concurrency Trace: YES (with Intel ITT) Other third-party libraries: Use Intel IPP: 2017.0.2 [2017.0.2] at: C:/A_Sharifian/opencv/build/3rdparty/ippicv/ippicv_win Use Intel IPP IW: prebuilt binaries (2017.0.2) Use Intel IPP Async: NO Use Lapack: NO Use Eigen: NO Use Cuda: YES (ver 9.0) Use OpenCL: YES Use OpenVX: NO Use custom HAL: NO NVIDIA CUDA Use CUFFT: YES Use CUBLAS: NO USE NVCUVID: NO NVIDIA GPU arch: 52 NVIDIA PTX archs: Use fast math: NO OpenCL: Include path: C:/A_Sharifian/opencv/3rdparty/include/opencl/1.2 Use AMDFFT: NO Use AMDBLAS: NO Python 2: Interpreter: NO Python 3: Interpreter: NO Python (for build): NO Java: ant: NO JNI: NO Java wrappers: NO Java tests: NO Matlab: mex: C:/Program Files/MATLAB/R2016b/bin/mex.bat Compiler/generator: Not working (bindings will not be generated) Documentation: Doxygen: NO Tests and samples: Tests: YES Performance tests: YES C/C++ Examples: NO Install path: C:/A_Sharifian/opencv/build/install cvconfig.h is in: C:/A_Sharifian/opencv/build ----------------------------------------------------------------- Configuring done

libpng is linked despite being excluded in cmake

$
0
0
I'm trying to generate very compact version of OpenCV and it generally works except libpng (8 MB) cannot be striped out of the resulting binary (iOS Framework), despite having specified -DBUILD_PNG=OFF Is there any dependency by the included modules (actually it should not be)? Merging libraries: /works/opencv-master/ios/build/build-arm64-iphoneos/install/lib/libopencv_calib3d.a /works/opencv-master/ios/build/build-arm64-iphoneos/install/lib/libopencv_features2d.a /works/opencv-master/ios/build/build-arm64-iphoneos/install/lib/libopencv_core.a /works/opencv-master/ios/build/build-arm64-iphoneos/install/lib/libopencv_video.a /works/opencv-master/ios/build/build-arm64-iphoneos/install/lib/libopencv_imgproc.a /works/opencv-master/ios/build/build-arm64-iphoneos/install/share/OpenCV/3rdparty/lib/liblibpng.a /works/opencv-master/ios/build/build-arm64-iphoneos/install/share/OpenCV/3rdparty/lib/libzlib.a /works/opencv-master/ios/build/build-arm64-iphoneos/install/share/OpenCV/3rdparty/lib/liblibjpeg-turbo.a

C:\Users\m\AppData\Local\Temp\ccS5IfdC.s|20393|Error: invalid register for .seh_savexmm|

$
0
0
I am trying to use OpenCV 3.4.1 on Windows 10 with CodeBlocks. So I downloaded mingw64(`x86_64-8.1.0-release-posix-seh-rt_v6-rev0`), and used CMake to configure and generate `opencv.cbp` successfully. But when I opened it on CodeBlocks and tried to build it, I got these error message:> C:\Users\m\AppData\Local\Temp\ccS5IfdC.s|20393|Error: invalid register> for .seh_savexmm| > C:\Users\m\AppData\Local\Temp\ccS5IfdC.s|20395|Error: invalid register> for .seh_savexmm|> C:\Users\m\AppData\Local\Temp\ccS5IfdC.s|20397|Error: invalid register> for .seh_savexmm| >.> . >. > [modules\dnn\CMakeFiles\opencv_dnn.dir\build.make|1016|modules/dnn/CMakeFiles/opencv_dnn.dir/layers/layers_common.avx512_skx.cpp.obj]> Error 1| >> [CMakeFiles\Makefile2|4086|modules/dnn/CMakeFiles/opencv_dnn.dir/all]> Error 2| [ C:\opencv\build\Makefile|162|all] Error 2| ||=== Build> failed: 18 error(s), 1642 warning(s) (28 minute(s), 36 second(s)) ===>> |

failing build opencv and opencv_contrib on Jetson TX2

$
0
0
I'm trying to install OpenKAI on TX2, and install opencv like this : `git clone https://github.com/opencv/opencv.git git clone https://github.com/opencv/opencv_contrib.git cd ~/opencv mkdir build cd build cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local -D OPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules .. make -j3 sudo make install` But I failed 'make -j3' with output and error shown like this: Error log: 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/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes' ===== BUILD LOG ===== Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c9a06/fast" /usr/bin/make -f CMakeFiles/cmTC_c9a06.dir/build.make CMakeFiles/cmTC_c9a06.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_c9a06.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 -o CMakeFiles/cmTC_c9a06.dir/src.cxx.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx cc1plus: warning: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma ^ Linking CXX executable cmTC_c9a06 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c9a06.dir/link.txt --verbose=1 /usr/bin/c++ -O3 -DNDEBUG CMakeFiles/cmTC_c9a06.dir/src.cxx.o -o cmTC_c9a06 make[1]: Leaving directory '/home/apsync/GitHub/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/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wstrict-prototypes' ===== BUILD LOG ===== Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c1a26/fast" /usr/bin/make -f CMakeFiles/cmTC_c1a26.dir/build.make CMakeFiles/cmTC_c1a26.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_c1a26.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 -o CMakeFiles/cmTC_c1a26.dir/src.cxx.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma ^ Linking CXX executable cmTC_c1a26 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c1a26.dir/link.txt --verbose=1 /usr/bin/c++ -O3 -DNDEBUG CMakeFiles/cmTC_c1a26.dir/src.cxx.o -o cmTC_c1a26 make[1]: Leaving directory '/home/apsync/GitHub/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/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c' 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 -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo' ===== BUILD LOG ===== Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_32a8f/fast" /usr/bin/make -f CMakeFiles/cmTC_32a8f.dir/build.make CMakeFiles/cmTC_32a8f.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_32a8f.dir/src.c.o /usr/bin/cc -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 -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -o CMakeFiles/cmTC_32a8f.dir/src.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c cc1: warning: command line option ‘-Wsign-promo’ is valid for C++/ObjC++ but not for C /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma ^ Linking C executable cmTC_32a8f /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_32a8f.dir/link.txt --verbose=1 /usr/bin/cc -O3 -DNDEBUG CMakeFiles/cmTC_32a8f.dir/src.c.o -o cmTC_32a8f make[1]: Leaving directory '/home/apsync/GitHub/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/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c' 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 -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor' ===== BUILD LOG ===== Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_b3136/fast" /usr/bin/make -f CMakeFiles/cmTC_b3136.dir/build.make CMakeFiles/cmTC_b3136.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b3136.dir/src.c.o /usr/bin/cc -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 -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -o CMakeFiles/cmTC_b3136.dir/src.c.o -c /home/apsync/GitHub/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/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma ^ Linking C executable cmTC_b3136 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b3136.dir/link.txt --verbose=1 /usr/bin/cc -O3 -DNDEBUG CMakeFiles/cmTC_b3136.dir/src.c.o -o cmTC_b3136 make[1]: Leaving directory '/home/apsync/GitHub/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/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args' ===== BUILD LOG ===== Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_9fcb6/fast" /usr/bin/make -f CMakeFiles/cmTC_9fcb6.dir/build.make CMakeFiles/cmTC_9fcb6.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_9fcb6.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -o CMakeFiles/cmTC_9fcb6.dir/src.cxx.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx /home/apsync/GitHub/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_9fcb6 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9fcb6.dir/link.txt --verbose=1 /usr/bin/c++ -O3 -DNDEBUG CMakeFiles/cmTC_9fcb6.dir/src.cxx.o -o cmTC_9fcb6 make[1]: Leaving directory '/home/apsync/GitHub/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/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c' 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 -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-unnamed-type-template-args' ===== BUILD LOG ===== Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_18fee/fast" /usr/bin/make -f CMakeFiles/cmTC_18fee.dir/build.make CMakeFiles/cmTC_18fee.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_18fee.dir/src.c.o /usr/bin/cc -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 -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-unnamed-type-template-args -o CMakeFiles/cmTC_18fee.dir/src.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c /home/apsync/GitHub/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_18fee /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_18fee.dir/link.txt --verbose=1 /usr/bin/cc -O3 -DNDEBUG CMakeFiles/cmTC_18fee.dir/src.c.o -o cmTC_18fee make[1]: Leaving directory '/home/apsync/GitHub/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/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c' 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 -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden' ===== BUILD LOG ===== Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_52080/fast" /usr/bin/make -f CMakeFiles/cmTC_52080.dir/build.make CMakeFiles/cmTC_52080.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_52080.dir/src.c.o /usr/bin/cc -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 -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -o CMakeFiles/cmTC_52080.dir/src.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c cc1: warning: command line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma ^ Linking C executable cmTC_52080 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_52080.dir/link.txt --verbose=1 /usr/bin/cc -O3 -DNDEBUG CMakeFiles/cmTC_52080.dir/src.c.o -o cmTC_52080 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' ===== END ===== Determining if the system is big endian passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_a5375/fast" /usr/bin/make -f CMakeFiles/cmTC_a5375.dir/build.make CMakeFiles/cmTC_a5375.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a5375.dir/TestEndianess.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_a5375.dir/TestEndianess.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/TestEndianess.c Linking C executable cmTC_a5375 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a5375.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_a5375.dir/TestEndianess.c.o -o cmTC_a5375 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' TestEndianess.c: /* A 16 bit integer is required. */ typedef unsigned short cmakeint16; /* On a little endian machine, these 16bit ints will give "THIS IS LITTLE ENDIAN." On a big endian machine the characters will be exchanged pairwise. */ const cmakeint16 info_little[] = {0x4854, 0x5349, 0x4920, 0x2053, 0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000}; /* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN." On a little endian machine the characters will be exchanged pairwise. */ const cmakeint16 info_big[] = {0x5448, 0x4953, 0x2049, 0x5320, 0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_little[argc]; require += info_big[argc]; (void)argv; return require; } Determining if the include file io.h exists failed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_cd3fb/fast" /usr/bin/make -f CMakeFiles/cmTC_cd3fb.dir/build.make CMakeFiles/cmTC_cd3fb.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_cd3fb.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_cd3fb.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:16: fatal error: io.h: No such file or directory compilation terminated. CMakeFiles/cmTC_cd3fb.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_cd3fb.dir/CheckIncludeFile.c.o' failed make[1]: *** [CMakeFiles/cmTC_cd3fb.dir/CheckIncludeFile.c.o] Error 1 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_cd3fb/fast' failed make: *** [cmTC_cd3fb/fast] Error 2 Determining size of INT8 failed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_6b935/fast" /usr/bin/make -f CMakeFiles/cmTC_6b935.dir/build.make CMakeFiles/cmTC_6b935.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6b935.dir/int8.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_6b935.dir/int8.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/int8.c /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/int8.c:17:22: error: ‘INT8’ undeclared here (not in a function) #define SIZE (sizeof(INT8)) ^ /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/int8.c:19:12: note: in expansion of macro ‘SIZE’ ('0' + ((SIZE / 10000)%10)), ^ CMakeFiles/cmTC_6b935.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_6b935.dir/int8.c.o' failed make[1]: *** [CMakeFiles/cmTC_6b935.dir/int8.c.o] Error 1 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_6b935/fast' failed make: *** [cmTC_6b935/fast] Error 2 /home/apsync/GitHub/opencv/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','_','_' #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/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_84dd2/fast" /usr/bin/make -f CMakeFiles/cmTC_84dd2.dir/build.make CMakeFiles/cmTC_84dd2.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_84dd2.dir/int16.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_84dd2.dir/int16.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/int16.c /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/int16.c:17:22: error: ‘INT16’ undeclared here (not in a function) #define SIZE (sizeof(INT16)) ^ /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/int16.c:19:12: note: in expansion of macro ‘SIZE’ ('0' + ((SIZE / 10000)%10)), ^ CMakeFiles/cmTC_84dd2.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_84dd2.dir/int16.c.o' failed make[1]: *** [CMakeFiles/cmTC_84dd2.dir/int16.c.o] Error 1 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_84dd2/fast' failed make: *** [cmTC_84dd2/fast] Error 2 /home/apsync/GitHub/opencv/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','_','_' #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/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_440a7/fast" /usr/bin/make -f CMakeFiles/cmTC_440a7.dir/build.make CMakeFiles/cmTC_440a7.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_440a7.dir/int32.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_440a7.dir/int32.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/int32.c /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/int32.c:17:22: error: ‘INT32’ undeclared here (not in a function) #define SIZE (sizeof(INT32)) ^ /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/int32.c:19:12: note: in expansion of macro ‘SIZE’ ('0' + ((SIZE / 10000)%10)), ^ CMakeFiles/cmTC_440a7.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_440a7.dir/int32.c.o' failed make[1]: *** [CMakeFiles/cmTC_440a7.dir/int32.c.o] Error 1 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_440a7/fast' failed make: *** [cmTC_440a7/fast] Error 2 /home/apsync/GitHub/opencv/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','_','_' #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/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_1209e/fast" /usr/bin/make -f CMakeFiles/cmTC_1209e.dir/build.make CMakeFiles/cmTC_1209e.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1209e.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=setmode -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_1209e.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_1209e /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1209e.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=setmode -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_1209e.dir/CheckFunctionExists.c.o -o cmTC_1209e CMakeFiles/cmTC_1209e.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_1209e.dir/build.make:97: recipe for target 'cmTC_1209e' failed make[1]: *** [cmTC_1209e] Error 1 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_1209e/fast' failed make: *** [cmTC_1209e/fast] Error 2 Determining if the system is big endian passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_02f8f/fast" /usr/bin/make -f CMakeFiles/cmTC_02f8f.dir/build.make CMakeFiles/cmTC_02f8f.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_02f8f.dir/TestEndianess.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_02f8f.dir/TestEndianess.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/TestEndianess.c Linking C executable cmTC_02f8f /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_02f8f.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_02f8f.dir/TestEndianess.c.o -o cmTC_02f8f make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' TestEndianess.c: /* A 16 bit integer is required. */ typedef unsigned short cmakeint16; /* On a little endian machine, these 16bit ints will give "THIS IS LITTLE ENDIAN." On a big endian machine the characters will be exchanged pairwise. */ const cmakeint16 info_little[] = {0x4854, 0x5349, 0x4920, 0x2053, 0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000}; /* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN." On a little endian machine the characters will be exchanged pairwise. */ const cmakeint16 info_big[] = {0x5448, 0x4953, 0x2049, 0x5320, 0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_little[argc]; require += info_big[argc]; (void)argv; return require; } Build output check failed: Regex: 'unrecognized .*option' Output line: 'cc1: warning: unrecognized command line option ‘-Wno-misleading-indentation’' Compilation failed: source file: '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c' check option: ' -Wno-misleading-indentation' ===== BUILD LOG ===== Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_f57e2/fast" /usr/bin/make -f CMakeFiles/cmTC_f57e2.dir/build.make CMakeFiles/cmTC_f57e2.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f57e2.dir/src.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wstrict-prototypes -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -Wno-unused-but-set-variable -Wno-missing-prototypes -Wno-missing-declarations -Wno-undef -Wno-unused -Wno-sign-compare -Wno-cast-align -Wno-shadow -Wno-maybe-uninitialized -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -O3 -DNDEBUG -fPIE -Wno-misleading-indentation -o CMakeFiles/cmTC_f57e2.dir/src.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma ^ cc1: warning: unrecognized command line option ‘-Wno-misleading-indentation’ Linking C executable cmTC_f57e2 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f57e2.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wstrict-prototypes -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -Wno-unused-but-set-variable -Wno-missing-prototypes -Wno-missing-declarations -Wno-undef -Wno-unused -Wno-sign-compare -Wno-cast-align -Wno-shadow -Wno-maybe-uninitialized -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_f57e2.dir/src.c.o -o cmTC_f57e2 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' ===== END ===== Build output check failed: Regex: 'unrecognized .*option' Output line: 'cc1: warning: unrecognized command line option ‘-Wno-implicit-fallthrough’' Compilation failed: source file: '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c' check option: ' -Wno-implicit-fallthrough' ===== BUILD LOG ===== Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_7dc59/fast" /usr/bin/make -f CMakeFiles/cmTC_7dc59.dir/build.make CMakeFiles/cmTC_7dc59.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_7dc59.dir/src.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wstrict-prototypes -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -Wno-unused-but-set-variable -Wno-missing-prototypes -Wno-missing-declarations -Wno-undef -Wno-unused -Wno-sign-compare -Wno-cast-align -Wno-shadow -Wno-maybe-uninitialized -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -O3 -DNDEBUG -fPIE -Wno-implicit-fallthrough -o CMakeFiles/cmTC_7dc59.dir/src.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma ^ cc1: warning: unrecognized command line option ‘-Wno-implicit-fallthrough’ Linking C executable cmTC_7dc59 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7dc59.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wstrict-prototypes -Winit-self -Wpointer-arith -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -Wno-unused-but-set-variable -Wno-missing-prototypes -Wno-missing-declarations -Wno-undef -Wno-unused -Wno-sign-compare -Wno-cast-align -Wno-shadow -Wno-maybe-uninitialized -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_7dc59.dir/src.c.o -o cmTC_7dc59 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' ===== END ===== Build output check failed: Regex: 'unrecognized .*option' Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-misleading-indentation’' Compilation failed: source file: '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-misleading-indentation' ===== BUILD LOG ===== Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_03fca/fast" /usr/bin/make -f CMakeFiles/cmTC_03fca.dir/build.make CMakeFiles/cmTC_03fca.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_03fca.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -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 -O3 -DNDEBUG -fPIE -Wno-misleading-indentation -o CMakeFiles/cmTC_03fca.dir/src.cxx.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma ^ cc1plus: warning: unrecognized command line option ‘-Wno-misleading-indentation’ Linking CXX executable cmTC_03fca /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_03fca.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -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 -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_03fca.dir/src.cxx.o -o cmTC_03fca make[1]: Leaving directory '/home/apsync/GitHub/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/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-inconsistent-missing-override' ===== BUILD LOG ===== Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_196cc/fast" /usr/bin/make -f CMakeFiles/cmTC_196cc.dir/build.make CMakeFiles/cmTC_196cc.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_196cc.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -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-deprecated -Wno-suggest-override -O3 -DNDEBUG -fPIE -Wno-inconsistent-missing-override -o CMakeFiles/cmTC_196cc.dir/src.cxx.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx /home/apsync/GitHub/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_196cc /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_196cc.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -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-deprecated -Wno-suggest-override -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_196cc.dir/src.cxx.o -o cmTC_196cc make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' ===== END ===== Build output check failed: Regex: 'unrecognized .*option' Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-implicit-fallthrough’' Compilation failed: source file: '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-implicit-fallthrough' ===== BUILD LOG ===== Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_62cd2/fast" /usr/bin/make -f CMakeFiles/cmTC_62cd2.dir/build.make CMakeFiles/cmTC_62cd2.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_62cd2.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -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-deprecated -Wno-suggest-override -O3 -DNDEBUG -fPIE -Wno-implicit-fallthrough -o CMakeFiles/cmTC_62cd2.dir/src.cxx.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma ^ cc1plus: warning: unrecognized command line option ‘-Wno-implicit-fallthrough’ Linking CXX executable cmTC_62cd2 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_62cd2.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -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-deprecated -Wno-suggest-override -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_62cd2.dir/src.cxx.o -o cmTC_62cd2 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' ===== END ===== Determining if the include file linux/videodev.h exists failed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_f1d25/fast" /usr/bin/make -f CMakeFiles/cmTC_f1d25.dir/build.make CMakeFiles/cmTC_f1d25.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f1d25.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_f1d25.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:28: fatal error: linux/videodev.h: No such file or directory compilation terminated. CMakeFiles/cmTC_f1d25.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_f1d25.dir/CheckIncludeFile.c.o' failed make[1]: *** [CMakeFiles/cmTC_f1d25.dir/CheckIncludeFile.c.o] Error 1 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_f1d25/fast' failed make: *** [cmTC_f1d25/fast] Error 2 Determining if the include file sys/videoio.h exists failed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_7aa49/fast" /usr/bin/make -f CMakeFiles/cmTC_7aa49.dir/build.make CMakeFiles/cmTC_7aa49.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_7aa49.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_7aa49.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:25: fatal error: sys/videoio.h: No such file or directory compilation terminated. CMakeFiles/cmTC_7aa49.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_7aa49.dir/CheckIncludeFile.c.o' failed make[1]: *** [CMakeFiles/cmTC_7aa49.dir/CheckIncludeFile.c.o] Error 1 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_7aa49/fast' failed make: *** [cmTC_7aa49/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/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-missing-prototypes' ===== BUILD LOG ===== Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_6a46d/fast" /usr/bin/make -f CMakeFiles/cmTC_6a46d.dir/build.make CMakeFiles/cmTC_6a46d.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_6a46d.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -O3 -DNDEBUG -fPIE -Wno-missing-prototypes -o CMakeFiles/cmTC_6a46d.dir/src.cxx.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx cc1plus: warning: command line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but not for C++ /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma ^ Linking CXX executable cmTC_6a46d /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6a46d.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-deprecated -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_6a46d.dir/src.cxx.o -o cmTC_6a46d make[1]: Leaving directory '/home/apsync/GitHub/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/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-tautological-undefined-compare' ===== BUILD LOG ===== Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_ac810/fast" /usr/bin/make -f CMakeFiles/cmTC_ac810.dir/build.make CMakeFiles/cmTC_ac810.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_ac810.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -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 -fPIE -Wno-tautological-undefined-compare -o CMakeFiles/cmTC_ac810.dir/src.cxx.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx /home/apsync/GitHub/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_ac810 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ac810.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -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 -Wl,--gc-sections CMakeFiles/cmTC_ac810.dir/src.cxx.o -o cmTC_ac810 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' ===== END ===== Build output check failed: Regex: 'unrecognized .*option' Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-unused-const-variable’' Compilation failed: source file: '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-unused-const-variable' ===== BUILD LOG ===== Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_f0c0d/fast" /usr/bin/make -f CMakeFiles/cmTC_f0c0d.dir/build.make CMakeFiles/cmTC_f0c0d.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_f0c0d.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -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 -O3 -DNDEBUG -fPIE -Wno-unused-const-variable -o CMakeFiles/cmTC_f0c0d.dir/src.cxx.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx:1:0: warning: ignoring #pragma [-Wunknown-pragmas] #pragma ^ cc1plus: warning: unrecognized command line option ‘-Wno-unused-const-variable’ Linking CXX executable cmTC_f0c0d /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f0c0d.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -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 -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_f0c0d.dir/src.cxx.o -o cmTC_f0c0d make[1]: Leaving directory '/home/apsync/GitHub/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/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-shorten-64-to-32' ===== BUILD LOG ===== Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_0c1dc/fast" /usr/bin/make -f CMakeFiles/cmTC_0c1dc.dir/build.make CMakeFiles/cmTC_0c1dc.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_0c1dc.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -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 -O3 -DNDEBUG -fPIE -Wno-shorten-64-to-32 -o CMakeFiles/cmTC_0c1dc.dir/src.cxx.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx /home/apsync/GitHub/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_0c1dc /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0c1dc.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -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 -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_0c1dc.dir/src.cxx.o -o cmTC_0c1dc make[1]: Leaving directory '/home/apsync/GitHub/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/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-enum-compare-switch' ===== BUILD LOG ===== Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_13fc0/fast" /usr/bin/make -f CMakeFiles/cmTC_13fc0.dir/build.make CMakeFiles/cmTC_13fc0.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_13fc0.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -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-invalid-offsetof -O3 -DNDEBUG -fPIE -Wno-enum-compare-switch -o CMakeFiles/cmTC_13fc0.dir/src.cxx.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx /home/apsync/GitHub/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_13fc0 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_13fc0.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -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-invalid-offsetof -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_13fc0.dir/src.cxx.o -o cmTC_13fc0 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' ===== END ===== Performing C++ SOURCE FILE Test CXX_HAS_MFPU_NEON failed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_bb946/fast" /usr/bin/make -f CMakeFiles/cmTC_bb946.dir/build.make CMakeFiles/cmTC_bb946.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_bb946.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -funwind-tables -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -DCXX_HAS_MFPU_NEON -O3 -DNDEBUG -fPIE -mfpu=neon -o CMakeFiles/cmTC_bb946.dir/src.cxx.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx c++: error: unrecognized command line option '-mfpu=neon' CMakeFiles/cmTC_bb946.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_bb946.dir/src.cxx.o' failed make[1]: *** [CMakeFiles/cmTC_bb946.dir/src.cxx.o] Error 1 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_bb946/fast' failed make: *** [cmTC_bb946/fast] Error 2 Source file was: int main() { return 0; } Performing C SOURCE FILE Test C_HAS_MFPU_NEON failed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_3acb5/fast" /usr/bin/make -f CMakeFiles/cmTC_3acb5.dir/build.make CMakeFiles/cmTC_3acb5.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3acb5.dir/src.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -funwind-tables -fweb -fwrapv -frename-registers -fsched2-use-superblocks -fsched2-use-traces -fsched-stalled-insns-dep=100 -fsched-stalled-insns=2 -DC_HAS_MFPU_NEON -O3 -DNDEBUG -fPIE -mfpu=neon -o CMakeFiles/cmTC_3acb5.dir/src.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c cc: error: unrecognized command line option '-mfpu=neon' CMakeFiles/cmTC_3acb5.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_3acb5.dir/src.c.o' failed make[1]: *** [CMakeFiles/cmTC_3acb5.dir/src.c.o] Error 1 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_3acb5/fast' failed make: *** [cmTC_3acb5/fast] Error 2 Source file was: int main(void) { return 0; } Build output check failed: Regex: 'unrecognized .*option' Output line: 'cc1plus: warning: unrecognized command line option ‘-Wno-unused-private-field’' Compilation failed: source file: '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -Wno-unused-private-field' ===== BUILD LOG ===== Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_1f61f/fast" /usr/bin/make -f CMakeFiles/cmTC_1f61f.dir/build.make CMakeFiles/cmTC_1f61f.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_1f61f.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-unused-function -Wno-deprecated-declarations -Wno-overloaded-virtual -O3 -DNDEBUG -fPIE -Wno-unused-private-field -o CMakeFiles/cmTC_1f61f.dir/src.cxx.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.cxx /home/apsync/GitHub/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_1f61f /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1f61f.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 -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-unused-function -Wno-deprecated-declarations -Wno-overloaded-virtual -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_1f61f.dir/src.cxx.o -o cmTC_1f61f make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' ===== END ===== Output log: The system is: Linux - 4.4.38-tegra - aarch64 Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: /usr/bin/c++ Build flags: Id flags: The output was: 0 Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" The CXX compiler identification is GNU, found in "/home/apsync/GitHub/opencv/build/CMakeFiles/3.5.1/CompilerIdCXX/a.out" Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler: /usr/bin/cc Build flags: Id flags: The output was: 0 Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" The C compiler identification is GNU, found in "/home/apsync/GitHub/opencv/build/CMakeFiles/3.5.1/CompilerIdC/a.out" Determining if the CXX compiler works passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_27424/fast" /usr/bin/make -f CMakeFiles/cmTC_27424.dir/build.make CMakeFiles/cmTC_27424.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_27424.dir/testCXXCompiler.cxx.o /usr/bin/c++ -fPIE -o CMakeFiles/cmTC_27424.dir/testCXXCompiler.cxx.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTC_27424 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_27424.dir/link.txt --verbose=1 /usr/bin/c++ CMakeFiles/cmTC_27424.dir/testCXXCompiler.cxx.o -o cmTC_27424 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Detecting CXX compiler ABI info compiled with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_7fbe0/fast" /usr/bin/make -f CMakeFiles/cmTC_7fbe0.dir/build.make CMakeFiles/cmTC_7fbe0.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_7fbe0.dir/CMakeCXXCompilerABI.cpp.o /usr/bin/c++ -fPIE -o CMakeFiles/cmTC_7fbe0.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp Linking CXX executable cmTC_7fbe0 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7fbe0.dir/link.txt --verbose=1 /usr/bin/c++ -v CMakeFiles/cmTC_7fbe0.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_7fbe0 Using built-in specs. COLLECT_GCC=/usr/bin/c++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/5/lto-wrapper Target: aarch64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.10' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-arm64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-arm64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-arm64 --with-arch-directory=aarch64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu Thread model: posix gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.10) COMPILER_PATH=/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/:/lib/aarch64-linux-gnu/:/lib/../lib/:/usr/lib/aarch64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/aarch64-linux-gnu/5/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_7fbe0' '-shared-libgcc' '-mlittle-endian' '-mabi=lp64' /usr/lib/gcc/aarch64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/aarch64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/aarch64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/cchBwiII.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -z relro -o cmTC_7fbe0 /usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/crt1.o /usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/aarch64-linux-gnu/5 -L/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/5/../../.. CMakeFiles/cmTC_7fbe0.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/aarch64-linux-gnu/5/crtend.o /usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/crtn.o make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Parsed CXX implicit link information from above output: link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)] ignore line: [Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command:"/usr/bin/make" "cmTC_7fbe0/fast"] ignore line: [/usr/bin/make -f CMakeFiles/cmTC_7fbe0.dir/build.make CMakeFiles/cmTC_7fbe0.dir/build] ignore line: [make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp'] ignore line: [Building CXX object CMakeFiles/cmTC_7fbe0.dir/CMakeCXXCompilerABI.cpp.o] ignore line: [/usr/bin/c++ -fPIE -o CMakeFiles/cmTC_7fbe0.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp] ignore line: [Linking CXX executable cmTC_7fbe0] ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7fbe0.dir/link.txt --verbose=1] ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_7fbe0.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_7fbe0 ] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/usr/bin/c++] ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/5/lto-wrapper] ignore line: [Target: aarch64-linux-gnu] ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.10' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-arm64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-arm64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-arm64 --with-arch-directory=aarch64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu] ignore line: [Thread model: posix] ignore line: [gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.10) ] ignore line: [COMPILER_PATH=/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/] ignore line: [LIBRARY_PATH=/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/:/lib/aarch64-linux-gnu/:/lib/../lib/:/usr/lib/aarch64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/aarch64-linux-gnu/5/../../../:/lib/:/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_7fbe0' '-shared-libgcc' '-mlittle-endian' '-mabi=lp64'] link line: [ /usr/lib/gcc/aarch64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/aarch64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/aarch64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/cchBwiII.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -z relro -o cmTC_7fbe0 /usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/crt1.o /usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/aarch64-linux-gnu/5 -L/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/5/../../.. CMakeFiles/cmTC_7fbe0.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/aarch64-linux-gnu/5/crtend.o /usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/crtn.o] arg [/usr/lib/gcc/aarch64-linux-gnu/5/collect2] ==> ignore arg [-plugin] ==> ignore arg [/usr/lib/gcc/aarch64-linux-gnu/5/liblto_plugin.so] ==> ignore arg [-plugin-opt=/usr/lib/gcc/aarch64-linux-gnu/5/lto-wrapper] ==> ignore arg [-plugin-opt=-fresolution=/tmp/cchBwiII.res] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [--sysroot=/] ==> ignore arg [--build-id] ==> ignore arg [--eh-frame-hdr] ==> ignore arg [--hash-style=gnu] ==> ignore arg [--as-needed] ==> ignore arg [-dynamic-linker] ==> ignore arg [/lib/ld-linux-aarch64.so.1] ==> ignore arg [-X] ==> ignore arg [-EL] ==> ignore arg [-maarch64linux] ==> ignore arg [--fix-cortex-a53-843419] ==> ignore arg [-zrelro] ==> ignore arg [-o] ==> ignore arg [cmTC_7fbe0] ==> ignore arg [/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/crt1.o] ==> ignore arg [/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/crti.o] ==> ignore arg [/usr/lib/gcc/aarch64-linux-gnu/5/crtbegin.o] ==> ignore arg [-L/usr/lib/gcc/aarch64-linux-gnu/5] ==> dir [/usr/lib/gcc/aarch64-linux-gnu/5] arg [-L/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu] ==> dir [/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu] arg [-L/usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib] ==> dir [/usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib] arg [-L/lib/aarch64-linux-gnu] ==> dir [/lib/aarch64-linux-gnu] arg [-L/lib/../lib] ==> dir [/lib/../lib] arg [-L/usr/lib/aarch64-linux-gnu] ==> dir [/usr/lib/aarch64-linux-gnu] arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] arg [-L/usr/lib/gcc/aarch64-linux-gnu/5/../../..] ==> dir [/usr/lib/gcc/aarch64-linux-gnu/5/../../..] arg [CMakeFiles/cmTC_7fbe0.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore arg [-lstdc++] ==> lib [stdc++] arg [-lm] ==> lib [m] arg [-lgcc_s] ==> lib [gcc_s] arg [-lgcc] ==> lib [gcc] arg [-lc] ==> lib [c] arg [-lgcc_s] ==> lib [gcc_s] arg [-lgcc] ==> lib [gcc] arg [/usr/lib/gcc/aarch64-linux-gnu/5/crtend.o] ==> ignore arg [/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/crtn.o] ==> ignore remove lib [gcc_s] remove lib [gcc] remove lib [gcc_s] remove lib [gcc] collapse library dir [/usr/lib/gcc/aarch64-linux-gnu/5] ==> [/usr/lib/gcc/aarch64-linux-gnu/5] collapse library dir [/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu] ==> [/usr/lib/aarch64-linux-gnu] collapse library dir [/usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib] ==> [/usr/lib] collapse library dir [/lib/aarch64-linux-gnu] ==> [/lib/aarch64-linux-gnu] collapse library dir [/lib/../lib] ==> [/lib] collapse library dir [/usr/lib/aarch64-linux-gnu] ==> [/usr/lib/aarch64-linux-gnu] collapse library dir [/usr/lib/../lib] ==> [/usr/lib] collapse library dir [/usr/lib/gcc/aarch64-linux-gnu/5/../../..] ==> [/usr/lib] implicit libs: [stdc++;m;c] implicit dirs: [/usr/lib/gcc/aarch64-linux-gnu/5;/usr/lib/aarch64-linux-gnu;/usr/lib;/lib/aarch64-linux-gnu;/lib] implicit fwks: [] Detecting CXX [-std=c++14] compiler features compiled with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_88af6/fast" /usr/bin/make -f CMakeFiles/cmTC_88af6.dir/build.make CMakeFiles/cmTC_88af6.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_88af6.dir/feature_tests.cxx.o /usr/bin/c++ -fPIE -std=c++14 -o CMakeFiles/cmTC_88af6.dir/feature_tests.cxx.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/feature_tests.cxx Linking CXX executable cmTC_88af6 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_88af6.dir/link.txt --verbose=1 /usr/bin/c++ CMakeFiles/cmTC_88af6.dir/feature_tests.cxx.o -o cmTC_88af6 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers Feature record: CXX_FEATURE:1cxx_alias_templates Feature record: CXX_FEATURE:1cxx_alignas Feature record: CXX_FEATURE:1cxx_alignof Feature record: CXX_FEATURE:1cxx_attributes Feature record: CXX_FEATURE:1cxx_attribute_deprecated Feature record: CXX_FEATURE:1cxx_auto_type Feature record: CXX_FEATURE:1cxx_binary_literals Feature record: CXX_FEATURE:1cxx_constexpr Feature record: CXX_FEATURE:1cxx_contextual_conversions Feature record: CXX_FEATURE:1cxx_decltype Feature record: CXX_FEATURE:1cxx_decltype_auto Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types Feature record: CXX_FEATURE:1cxx_default_function_template_args Feature record: CXX_FEATURE:1cxx_defaulted_functions Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers Feature record: CXX_FEATURE:1cxx_delegating_constructors Feature record: CXX_FEATURE:1cxx_deleted_functions Feature record: CXX_FEATURE:1cxx_digit_separators Feature record: CXX_FEATURE:1cxx_enum_forward_declarations Feature record: CXX_FEATURE:1cxx_explicit_conversions Feature record: CXX_FEATURE:1cxx_extended_friend_declarations Feature record: CXX_FEATURE:1cxx_extern_templates Feature record: CXX_FEATURE:1cxx_final Feature record: CXX_FEATURE:1cxx_func_identifier Feature record: CXX_FEATURE:1cxx_generalized_initializers Feature record: CXX_FEATURE:1cxx_generic_lambdas Feature record: CXX_FEATURE:1cxx_inheriting_constructors Feature record: CXX_FEATURE:1cxx_inline_namespaces Feature record: CXX_FEATURE:1cxx_lambdas Feature record: CXX_FEATURE:1cxx_lambda_init_captures Feature record: CXX_FEATURE:1cxx_local_type_template_args Feature record: CXX_FEATURE:1cxx_long_long_type Feature record: CXX_FEATURE:1cxx_noexcept Feature record: CXX_FEATURE:1cxx_nonstatic_member_init Feature record: CXX_FEATURE:1cxx_nullptr Feature record: CXX_FEATURE:1cxx_override Feature record: CXX_FEATURE:1cxx_range_for Feature record: CXX_FEATURE:1cxx_raw_string_literals Feature record: CXX_FEATURE:1cxx_reference_qualified_functions Feature record: CXX_FEATURE:1cxx_relaxed_constexpr Feature record: CXX_FEATURE:1cxx_return_type_deduction Feature record: CXX_FEATURE:1cxx_right_angle_brackets Feature record: CXX_FEATURE:1cxx_rvalue_references Feature record: CXX_FEATURE:1cxx_sizeof_member Feature record: CXX_FEATURE:1cxx_static_assert Feature record: CXX_FEATURE:1cxx_strong_enums Feature record: CXX_FEATURE:1cxx_template_template_parameters Feature record: CXX_FEATURE:1cxx_thread_local Feature record: CXX_FEATURE:1cxx_trailing_return_types Feature record: CXX_FEATURE:1cxx_unicode_literals Feature record: CXX_FEATURE:1cxx_uniform_initialization Feature record: CXX_FEATURE:1cxx_unrestricted_unions Feature record: CXX_FEATURE:1cxx_user_literals Feature record: CXX_FEATURE:1cxx_variable_templates Feature record: CXX_FEATURE:1cxx_variadic_macros Feature record: CXX_FEATURE:1cxx_variadic_templates Detecting CXX [-std=c++11] compiler features compiled with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_196a2/fast" /usr/bin/make -f CMakeFiles/cmTC_196a2.dir/build.make CMakeFiles/cmTC_196a2.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_196a2.dir/feature_tests.cxx.o /usr/bin/c++ -fPIE -std=c++11 -o CMakeFiles/cmTC_196a2.dir/feature_tests.cxx.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/feature_tests.cxx Linking CXX executable cmTC_196a2 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_196a2.dir/link.txt --verbose=1 /usr/bin/c++ CMakeFiles/cmTC_196a2.dir/feature_tests.cxx.o -o cmTC_196a2 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers Feature record: CXX_FEATURE:1cxx_alias_templates Feature record: CXX_FEATURE:1cxx_alignas Feature record: CXX_FEATURE:1cxx_alignof Feature record: CXX_FEATURE:1cxx_attributes Feature record: CXX_FEATURE:0cxx_attribute_deprecated Feature record: CXX_FEATURE:1cxx_auto_type Feature record: CXX_FEATURE:0cxx_binary_literals Feature record: CXX_FEATURE:1cxx_constexpr Feature record: CXX_FEATURE:0cxx_contextual_conversions Feature record: CXX_FEATURE:1cxx_decltype Feature record: CXX_FEATURE:0cxx_decltype_auto Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types Feature record: CXX_FEATURE:1cxx_default_function_template_args Feature record: CXX_FEATURE:1cxx_defaulted_functions Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers Feature record: CXX_FEATURE:1cxx_delegating_constructors Feature record: CXX_FEATURE:1cxx_deleted_functions Feature record: CXX_FEATURE:0cxx_digit_separators Feature record: CXX_FEATURE:1cxx_enum_forward_declarations Feature record: CXX_FEATURE:1cxx_explicit_conversions Feature record: CXX_FEATURE:1cxx_extended_friend_declarations Feature record: CXX_FEATURE:1cxx_extern_templates Feature record: CXX_FEATURE:1cxx_final Feature record: CXX_FEATURE:1cxx_func_identifier Feature record: CXX_FEATURE:1cxx_generalized_initializers Feature record: CXX_FEATURE:0cxx_generic_lambdas Feature record: CXX_FEATURE:1cxx_inheriting_constructors Feature record: CXX_FEATURE:1cxx_inline_namespaces Feature record: CXX_FEATURE:1cxx_lambdas Feature record: CXX_FEATURE:0cxx_lambda_init_captures Feature record: CXX_FEATURE:1cxx_local_type_template_args Feature record: CXX_FEATURE:1cxx_long_long_type Feature record: CXX_FEATURE:1cxx_noexcept Feature record: CXX_FEATURE:1cxx_nonstatic_member_init Feature record: CXX_FEATURE:1cxx_nullptr Feature record: CXX_FEATURE:1cxx_override Feature record: CXX_FEATURE:1cxx_range_for Feature record: CXX_FEATURE:1cxx_raw_string_literals Feature record: CXX_FEATURE:1cxx_reference_qualified_functions Feature record: CXX_FEATURE:0cxx_relaxed_constexpr Feature record: CXX_FEATURE:0cxx_return_type_deduction Feature record: CXX_FEATURE:1cxx_right_angle_brackets Feature record: CXX_FEATURE:1cxx_rvalue_references Feature record: CXX_FEATURE:1cxx_sizeof_member Feature record: CXX_FEATURE:1cxx_static_assert Feature record: CXX_FEATURE:1cxx_strong_enums Feature record: CXX_FEATURE:1cxx_template_template_parameters Feature record: CXX_FEATURE:1cxx_thread_local Feature record: CXX_FEATURE:1cxx_trailing_return_types Feature record: CXX_FEATURE:1cxx_unicode_literals Feature record: CXX_FEATURE:1cxx_uniform_initialization Feature record: CXX_FEATURE:1cxx_unrestricted_unions Feature record: CXX_FEATURE:1cxx_user_literals Feature record: CXX_FEATURE:0cxx_variable_templates Feature record: CXX_FEATURE:1cxx_variadic_macros Feature record: CXX_FEATURE:1cxx_variadic_templates Detecting CXX [-std=c++98] compiler features compiled with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_5e69e/fast" /usr/bin/make -f CMakeFiles/cmTC_5e69e.dir/build.make CMakeFiles/cmTC_5e69e.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_5e69e.dir/feature_tests.cxx.o /usr/bin/c++ -fPIE -std=c++98 -o CMakeFiles/cmTC_5e69e.dir/feature_tests.cxx.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/feature_tests.cxx Linking CXX executable cmTC_5e69e /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5e69e.dir/link.txt --verbose=1 /usr/bin/c++ CMakeFiles/cmTC_5e69e.dir/feature_tests.cxx.o -o cmTC_5e69e make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers Feature record: CXX_FEATURE:0cxx_alias_templates Feature record: CXX_FEATURE:0cxx_alignas Feature record: CXX_FEATURE:0cxx_alignof Feature record: CXX_FEATURE:0cxx_attributes Feature record: CXX_FEATURE:0cxx_attribute_deprecated Feature record: CXX_FEATURE:0cxx_auto_type Feature record: CXX_FEATURE:0cxx_binary_literals Feature record: CXX_FEATURE:0cxx_constexpr Feature record: CXX_FEATURE:0cxx_contextual_conversions Feature record: CXX_FEATURE:0cxx_decltype Feature record: CXX_FEATURE:0cxx_decltype_auto Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types Feature record: CXX_FEATURE:0cxx_default_function_template_args Feature record: CXX_FEATURE:0cxx_defaulted_functions Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers Feature record: CXX_FEATURE:0cxx_delegating_constructors Feature record: CXX_FEATURE:0cxx_deleted_functions Feature record: CXX_FEATURE:0cxx_digit_separators Feature record: CXX_FEATURE:0cxx_enum_forward_declarations Feature record: CXX_FEATURE:0cxx_explicit_conversions Feature record: CXX_FEATURE:0cxx_extended_friend_declarations Feature record: CXX_FEATURE:0cxx_extern_templates Feature record: CXX_FEATURE:0cxx_final Feature record: CXX_FEATURE:0cxx_func_identifier Feature record: CXX_FEATURE:0cxx_generalized_initializers Feature record: CXX_FEATURE:0cxx_generic_lambdas Feature record: CXX_FEATURE:0cxx_inheriting_constructors Feature record: CXX_FEATURE:0cxx_inline_namespaces Feature record: CXX_FEATURE:0cxx_lambdas Feature record: CXX_FEATURE:0cxx_lambda_init_captures Feature record: CXX_FEATURE:0cxx_local_type_template_args Feature record: CXX_FEATURE:0cxx_long_long_type Feature record: CXX_FEATURE:0cxx_noexcept Feature record: CXX_FEATURE:0cxx_nonstatic_member_init Feature record: CXX_FEATURE:0cxx_nullptr Feature record: CXX_FEATURE:0cxx_override Feature record: CXX_FEATURE:0cxx_range_for Feature record: CXX_FEATURE:0cxx_raw_string_literals Feature record: CXX_FEATURE:0cxx_reference_qualified_functions Feature record: CXX_FEATURE:0cxx_relaxed_constexpr Feature record: CXX_FEATURE:0cxx_return_type_deduction Feature record: CXX_FEATURE:0cxx_right_angle_brackets Feature record: CXX_FEATURE:0cxx_rvalue_references Feature record: CXX_FEATURE:0cxx_sizeof_member Feature record: CXX_FEATURE:0cxx_static_assert Feature record: CXX_FEATURE:0cxx_strong_enums Feature record: CXX_FEATURE:1cxx_template_template_parameters Feature record: CXX_FEATURE:0cxx_thread_local Feature record: CXX_FEATURE:0cxx_trailing_return_types Feature record: CXX_FEATURE:0cxx_unicode_literals Feature record: CXX_FEATURE:0cxx_uniform_initialization Feature record: CXX_FEATURE:0cxx_unrestricted_unions Feature record: CXX_FEATURE:0cxx_user_literals Feature record: CXX_FEATURE:0cxx_variable_templates Feature record: CXX_FEATURE:0cxx_variadic_macros Feature record: CXX_FEATURE:0cxx_variadic_templates Determining if the C compiler works passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_75985/fast" /usr/bin/make -f CMakeFiles/cmTC_75985.dir/build.make CMakeFiles/cmTC_75985.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_75985.dir/testCCompiler.c.o /usr/bin/cc -fPIE -o CMakeFiles/cmTC_75985.dir/testCCompiler.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTC_75985 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_75985.dir/link.txt --verbose=1 /usr/bin/cc CMakeFiles/cmTC_75985.dir/testCCompiler.c.o -o cmTC_75985 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Detecting C compiler ABI info compiled with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_7e66b/fast" /usr/bin/make -f CMakeFiles/cmTC_7e66b.dir/build.make CMakeFiles/cmTC_7e66b.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_7e66b.dir/CMakeCCompilerABI.c.o /usr/bin/cc -fPIE -o CMakeFiles/cmTC_7e66b.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c Linking C executable cmTC_7e66b /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7e66b.dir/link.txt --verbose=1 /usr/bin/cc -v CMakeFiles/cmTC_7e66b.dir/CMakeCCompilerABI.c.o -o cmTC_7e66b Using built-in specs. COLLECT_GCC=/usr/bin/cc COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/5/lto-wrapper Target: aarch64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.10' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-arm64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-arm64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-arm64 --with-arch-directory=aarch64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu Thread model: posix gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.10) COMPILER_PATH=/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/:/lib/aarch64-linux-gnu/:/lib/../lib/:/usr/lib/aarch64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/aarch64-linux-gnu/5/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_7e66b' '-mlittle-endian' '-mabi=lp64' /usr/lib/gcc/aarch64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/aarch64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/aarch64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccbf8Dr0.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -z relro -o cmTC_7e66b /usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/crt1.o /usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/aarch64-linux-gnu/5 -L/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/5/../../.. CMakeFiles/cmTC_7e66b.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/aarch64-linux-gnu/5/crtend.o /usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/crtn.o make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Parsed C implicit link information from above output: link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)] ignore line: [Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command:"/usr/bin/make" "cmTC_7e66b/fast"] ignore line: [/usr/bin/make -f CMakeFiles/cmTC_7e66b.dir/build.make CMakeFiles/cmTC_7e66b.dir/build] ignore line: [make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp'] ignore line: [Building C object CMakeFiles/cmTC_7e66b.dir/CMakeCCompilerABI.c.o] ignore line: [/usr/bin/cc -fPIE -o CMakeFiles/cmTC_7e66b.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c] ignore line: [Linking C executable cmTC_7e66b] ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7e66b.dir/link.txt --verbose=1] ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_7e66b.dir/CMakeCCompilerABI.c.o -o cmTC_7e66b ] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=/usr/bin/cc] ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/5/lto-wrapper] ignore line: [Target: aarch64-linux-gnu] ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.10' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-arm64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-arm64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-arm64 --with-arch-directory=aarch64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu] ignore line: [Thread model: posix] ignore line: [gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.10) ] ignore line: [COMPILER_PATH=/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/] ignore line: [LIBRARY_PATH=/usr/lib/gcc/aarch64-linux-gnu/5/:/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/:/usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib/:/lib/aarch64-linux-gnu/:/lib/../lib/:/usr/lib/aarch64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/aarch64-linux-gnu/5/../../../:/lib/:/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_7e66b' '-mlittle-endian' '-mabi=lp64'] link line: [ /usr/lib/gcc/aarch64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/aarch64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/aarch64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccbf8Dr0.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -z relro -o cmTC_7e66b /usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/crt1.o /usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/aarch64-linux-gnu/5 -L/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/5/../../.. CMakeFiles/cmTC_7e66b.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/aarch64-linux-gnu/5/crtend.o /usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/crtn.o] arg [/usr/lib/gcc/aarch64-linux-gnu/5/collect2] ==> ignore arg [-plugin] ==> ignore arg [/usr/lib/gcc/aarch64-linux-gnu/5/liblto_plugin.so] ==> ignore arg [-plugin-opt=/usr/lib/gcc/aarch64-linux-gnu/5/lto-wrapper] ==> ignore arg [-plugin-opt=-fresolution=/tmp/ccbf8Dr0.res] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [-plugin-opt=-pass-through=-lc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [--sysroot=/] ==> ignore arg [--build-id] ==> ignore arg [--eh-frame-hdr] ==> ignore arg [--hash-style=gnu] ==> ignore arg [--as-needed] ==> ignore arg [-dynamic-linker] ==> ignore arg [/lib/ld-linux-aarch64.so.1] ==> ignore arg [-X] ==> ignore arg [-EL] ==> ignore arg [-maarch64linux] ==> ignore arg [--fix-cortex-a53-843419] ==> ignore arg [-zrelro] ==> ignore arg [-o] ==> ignore arg [cmTC_7e66b] ==> ignore arg [/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/crt1.o] ==> ignore arg [/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/crti.o] ==> ignore arg [/usr/lib/gcc/aarch64-linux-gnu/5/crtbegin.o] ==> ignore arg [-L/usr/lib/gcc/aarch64-linux-gnu/5] ==> dir [/usr/lib/gcc/aarch64-linux-gnu/5] arg [-L/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu] ==> dir [/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu] arg [-L/usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib] ==> dir [/usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib] arg [-L/lib/aarch64-linux-gnu] ==> dir [/lib/aarch64-linux-gnu] arg [-L/lib/../lib] ==> dir [/lib/../lib] arg [-L/usr/lib/aarch64-linux-gnu] ==> dir [/usr/lib/aarch64-linux-gnu] arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] arg [-L/usr/lib/gcc/aarch64-linux-gnu/5/../../..] ==> dir [/usr/lib/gcc/aarch64-linux-gnu/5/../../..] arg [CMakeFiles/cmTC_7e66b.dir/CMakeCCompilerABI.c.o] ==> ignore arg [-lgcc] ==> lib [gcc] arg [--as-needed] ==> ignore arg [-lgcc_s] ==> lib [gcc_s] arg [--no-as-needed] ==> ignore arg [-lc] ==> lib [c] arg [-lgcc] ==> lib [gcc] arg [--as-needed] ==> ignore arg [-lgcc_s] ==> lib [gcc_s] arg [--no-as-needed] ==> ignore arg [/usr/lib/gcc/aarch64-linux-gnu/5/crtend.o] ==> ignore arg [/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu/crtn.o] ==> ignore remove lib [gcc] remove lib [gcc_s] remove lib [gcc] remove lib [gcc_s] collapse library dir [/usr/lib/gcc/aarch64-linux-gnu/5] ==> [/usr/lib/gcc/aarch64-linux-gnu/5] collapse library dir [/usr/lib/gcc/aarch64-linux-gnu/5/../../../aarch64-linux-gnu] ==> [/usr/lib/aarch64-linux-gnu] collapse library dir [/usr/lib/gcc/aarch64-linux-gnu/5/../../../../lib] ==> [/usr/lib] collapse library dir [/lib/aarch64-linux-gnu] ==> [/lib/aarch64-linux-gnu] collapse library dir [/lib/../lib] ==> [/lib] collapse library dir [/usr/lib/aarch64-linux-gnu] ==> [/usr/lib/aarch64-linux-gnu] collapse library dir [/usr/lib/../lib] ==> [/usr/lib] collapse library dir [/usr/lib/gcc/aarch64-linux-gnu/5/../../..] ==> [/usr/lib] implicit libs: [c] implicit dirs: [/usr/lib/gcc/aarch64-linux-gnu/5;/usr/lib/aarch64-linux-gnu;/usr/lib;/lib/aarch64-linux-gnu;/lib] implicit fwks: [] Detecting C [-std=c11] compiler features compiled with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_04fc9/fast" /usr/bin/make -f CMakeFiles/cmTC_04fc9.dir/build.make CMakeFiles/cmTC_04fc9.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_04fc9.dir/feature_tests.c.o /usr/bin/cc -fPIE -std=c11 -o CMakeFiles/cmTC_04fc9.dir/feature_tests.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/feature_tests.c Linking C executable cmTC_04fc9 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_04fc9.dir/link.txt --verbose=1 /usr/bin/cc CMakeFiles/cmTC_04fc9.dir/feature_tests.c.o -o cmTC_04fc9 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Feature record: C_FEATURE:1c_function_prototypes Feature record: C_FEATURE:1c_restrict Feature record: C_FEATURE:1c_static_assert Feature record: C_FEATURE:1c_variadic_macros Detecting C [-std=c99] compiler features compiled with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c005f/fast" /usr/bin/make -f CMakeFiles/cmTC_c005f.dir/build.make CMakeFiles/cmTC_c005f.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c005f.dir/feature_tests.c.o /usr/bin/cc -fPIE -std=c99 -o CMakeFiles/cmTC_c005f.dir/feature_tests.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/feature_tests.c Linking C executable cmTC_c005f /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c005f.dir/link.txt --verbose=1 /usr/bin/cc CMakeFiles/cmTC_c005f.dir/feature_tests.c.o -o cmTC_c005f make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Feature record: C_FEATURE:1c_function_prototypes Feature record: C_FEATURE:1c_restrict Feature record: C_FEATURE:0c_static_assert Feature record: C_FEATURE:1c_variadic_macros Detecting C [-std=c90] compiler features compiled with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_033c1/fast" /usr/bin/make -f CMakeFiles/cmTC_033c1.dir/build.make CMakeFiles/cmTC_033c1.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_033c1.dir/feature_tests.c.o /usr/bin/cc -fPIE -std=c90 -o CMakeFiles/cmTC_033c1.dir/feature_tests.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/feature_tests.c Linking C executable cmTC_033c1 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_033c1.dir/link.txt --verbose=1 /usr/bin/cc CMakeFiles/cmTC_033c1.dir/feature_tests.c.o -o cmTC_033c1 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Feature record: C_FEATURE:1c_function_prototypes Feature record: C_FEATURE:0c_restrict Feature record: C_FEATURE:0c_static_assert Feature record: C_FEATURE:0c_variadic_macros Determining if the include file pthread.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_e2238/fast" /usr/bin/make -f CMakeFiles/cmTC_e2238.dir/build.make CMakeFiles/cmTC_e2238.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e2238.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_e2238.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_e2238 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e2238.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_e2238.dir/CheckIncludeFile.c.o -o cmTC_e2238 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the posix_memalign exist passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_1d2a3/fast" /usr/bin/make -f CMakeFiles/cmTC_1d2a3.dir/build.make CMakeFiles/cmTC_1d2a3.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1d2a3.dir/CheckSymbolExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_1d2a3.dir/CheckSymbolExists.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_1d2a3 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1d2a3.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_1d2a3.dir/CheckSymbolExists.c.o -o cmTC_1d2a3 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' File /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef posix_memalign return ((int*)(&posix_memalign))[argc]; #else (void)argc; return 0; #endif } Determining if the include file malloc.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_5b408/fast" /usr/bin/make -f CMakeFiles/cmTC_5b408.dir/build.make CMakeFiles/cmTC_5b408.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5b408.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_5b408.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_5b408 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5b408.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_5b408.dir/CheckIncludeFile.c.o -o cmTC_5b408 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the memalign exist passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_d249a/fast" /usr/bin/make -f CMakeFiles/cmTC_d249a.dir/build.make CMakeFiles/cmTC_d249a.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d249a.dir/CheckSymbolExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_d249a.dir/CheckSymbolExists.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_d249a /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d249a.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_d249a.dir/CheckSymbolExists.c.o -o cmTC_d249a make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' File /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef memalign return ((int*)(&memalign))[argc]; #else (void)argc; return 0; #endif } Determining if the include file sys/types.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_99949/fast" /usr/bin/make -f CMakeFiles/cmTC_99949.dir/build.make CMakeFiles/cmTC_99949.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_99949.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_99949.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_99949 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_99949.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_99949.dir/CheckIncludeFile.c.o -o cmTC_99949 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the include file stdint.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_c4361/fast" /usr/bin/make -f CMakeFiles/cmTC_c4361.dir/build.make CMakeFiles/cmTC_c4361.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_c4361.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_c4361.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_c4361 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c4361.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_c4361.dir/CheckIncludeFile.c.o -o cmTC_c4361 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the include file stddef.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_05f49/fast" /usr/bin/make -f CMakeFiles/cmTC_05f49.dir/build.make CMakeFiles/cmTC_05f49.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_05f49.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_05f49.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_05f49 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_05f49.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_05f49.dir/CheckIncludeFile.c.o -o cmTC_05f49 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining size of unsigned short passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_82d6b/fast" /usr/bin/make -f CMakeFiles/cmTC_82d6b.dir/build.make CMakeFiles/cmTC_82d6b.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_82d6b.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_82d6b.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c Linking C executable cmTC_82d6b /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_82d6b.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_82d6b.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o -o cmTC_82d6b make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the include file assert.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_d671d/fast" /usr/bin/make -f CMakeFiles/cmTC_d671d.dir/build.make CMakeFiles/cmTC_d671d.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d671d.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_d671d.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_d671d /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d671d.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_d671d.dir/CheckIncludeFile.c.o -o cmTC_d671d make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the include file dlfcn.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_bc5eb/fast" /usr/bin/make -f CMakeFiles/cmTC_bc5eb.dir/build.make CMakeFiles/cmTC_bc5eb.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_bc5eb.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_bc5eb.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_bc5eb /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bc5eb.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_bc5eb.dir/CheckIncludeFile.c.o -o cmTC_bc5eb make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the include file fcntl.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_89b6e/fast" /usr/bin/make -f CMakeFiles/cmTC_89b6e.dir/build.make CMakeFiles/cmTC_89b6e.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_89b6e.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_89b6e.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_89b6e /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_89b6e.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_89b6e.dir/CheckIncludeFile.c.o -o cmTC_89b6e make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the include file inttypes.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_941ea/fast" /usr/bin/make -f CMakeFiles/cmTC_941ea.dir/build.make CMakeFiles/cmTC_941ea.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_941ea.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_941ea.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_941ea /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_941ea.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_941ea.dir/CheckIncludeFile.c.o -o cmTC_941ea make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the include file limits.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_94762/fast" /usr/bin/make -f CMakeFiles/cmTC_94762.dir/build.make CMakeFiles/cmTC_94762.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_94762.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_94762.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_94762 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_94762.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_94762.dir/CheckIncludeFile.c.o -o cmTC_94762 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the include file memory.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_614b3/fast" /usr/bin/make -f CMakeFiles/cmTC_614b3.dir/build.make CMakeFiles/cmTC_614b3.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_614b3.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_614b3.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_614b3 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_614b3.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_614b3.dir/CheckIncludeFile.c.o -o cmTC_614b3 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the include file search.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_d45e1/fast" /usr/bin/make -f CMakeFiles/cmTC_d45e1.dir/build.make CMakeFiles/cmTC_d45e1.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d45e1.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_d45e1.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_d45e1 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d45e1.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_d45e1.dir/CheckIncludeFile.c.o -o cmTC_d45e1 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the include file string.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_a6015/fast" /usr/bin/make -f CMakeFiles/cmTC_a6015.dir/build.make CMakeFiles/cmTC_a6015.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a6015.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_a6015.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_a6015 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a6015.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_a6015.dir/CheckIncludeFile.c.o -o cmTC_a6015 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the include file strings.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_18d39/fast" /usr/bin/make -f CMakeFiles/cmTC_18d39.dir/build.make CMakeFiles/cmTC_18d39.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_18d39.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_18d39.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_18d39 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_18d39.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_18d39.dir/CheckIncludeFile.c.o -o cmTC_18d39 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the include file sys/time.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_9ce7e/fast" /usr/bin/make -f CMakeFiles/cmTC_9ce7e.dir/build.make CMakeFiles/cmTC_9ce7e.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9ce7e.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_9ce7e.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_9ce7e /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9ce7e.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_9ce7e.dir/CheckIncludeFile.c.o -o cmTC_9ce7e make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the include file unistd.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_2c457/fast" /usr/bin/make -f CMakeFiles/cmTC_2c457.dir/build.make CMakeFiles/cmTC_2c457.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2c457.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_2c457.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_2c457 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2c457.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_2c457.dir/CheckIncludeFile.c.o -o cmTC_2c457 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test C_HAS_inline succeeded with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_59267/fast" /usr/bin/make -f CMakeFiles/cmTC_59267.dir/build.make CMakeFiles/cmTC_59267.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_59267.dir/src.c.o /usr/bin/cc -Dinline=inline -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DC_HAS_inline -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_59267.dir/src.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c:3:29: warning: function declaration isn’t a prototype [-Wstrict-prototypes] static inline foo_t static_foo() {return 0;} ^ /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c:4:15: warning: function declaration isn’t a prototype [-Wstrict-prototypes] foo_t foo(){return 0;} ^ /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c: In function ‘main’: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c:5:22: warning: unused parameter ‘argc’ [-Wunused-parameter] int main(int argc, char *argv[]) {return 0;} ^ /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c:5:34: warning: unused parameter ‘argv’ [-Wunused-parameter] int main(int argc, char *argv[]) {return 0;} ^ Linking C executable cmTC_59267 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_59267.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DC_HAS_inline -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_59267.dir/src.c.o -o cmTC_59267 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Source file was: typedef int foo_t; static inline foo_t static_foo() {return 0;} foo_t foo(){return 0;} int main(int argc, char *argv[]) {return 0;} Determining size of signed short passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_0521f/fast" /usr/bin/make -f CMakeFiles/cmTC_0521f.dir/build.make CMakeFiles/cmTC_0521f.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0521f.dir/SIZEOF_SIGNED_SHORT.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_0521f.dir/SIZEOF_SIGNED_SHORT.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/SIZEOF_SIGNED_SHORT.c Linking C executable cmTC_0521f /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0521f.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_0521f.dir/SIZEOF_SIGNED_SHORT.c.o -o cmTC_0521f make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining size of unsigned short passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_95564/fast" /usr/bin/make -f CMakeFiles/cmTC_95564.dir/build.make CMakeFiles/cmTC_95564.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_95564.dir/SIZEOF_UNSIGNED_SHORT.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_95564.dir/SIZEOF_UNSIGNED_SHORT.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/SIZEOF_UNSIGNED_SHORT.c Linking C executable cmTC_95564 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_95564.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_95564.dir/SIZEOF_UNSIGNED_SHORT.c.o -o cmTC_95564 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining size of signed int passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_93a50/fast" /usr/bin/make -f CMakeFiles/cmTC_93a50.dir/build.make CMakeFiles/cmTC_93a50.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_93a50.dir/SIZEOF_SIGNED_INT.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_93a50.dir/SIZEOF_SIGNED_INT.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/SIZEOF_SIGNED_INT.c Linking C executable cmTC_93a50 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_93a50.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_93a50.dir/SIZEOF_SIGNED_INT.c.o -o cmTC_93a50 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining size of unsigned int passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_9c0f3/fast" /usr/bin/make -f CMakeFiles/cmTC_9c0f3.dir/build.make CMakeFiles/cmTC_9c0f3.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9c0f3.dir/SIZEOF_UNSIGNED_INT.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_9c0f3.dir/SIZEOF_UNSIGNED_INT.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/SIZEOF_UNSIGNED_INT.c Linking C executable cmTC_9c0f3 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9c0f3.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_9c0f3.dir/SIZEOF_UNSIGNED_INT.c.o -o cmTC_9c0f3 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining size of signed long passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_ba2ef/fast" /usr/bin/make -f CMakeFiles/cmTC_ba2ef.dir/build.make CMakeFiles/cmTC_ba2ef.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ba2ef.dir/SIZEOF_SIGNED_LONG.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_ba2ef.dir/SIZEOF_SIGNED_LONG.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/SIZEOF_SIGNED_LONG.c Linking C executable cmTC_ba2ef /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ba2ef.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_ba2ef.dir/SIZEOF_SIGNED_LONG.c.o -o cmTC_ba2ef make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining size of unsigned long passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_4f48a/fast" /usr/bin/make -f CMakeFiles/cmTC_4f48a.dir/build.make CMakeFiles/cmTC_4f48a.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4f48a.dir/SIZEOF_UNSIGNED_LONG.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_4f48a.dir/SIZEOF_UNSIGNED_LONG.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/SIZEOF_UNSIGNED_LONG.c Linking C executable cmTC_4f48a /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4f48a.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_4f48a.dir/SIZEOF_UNSIGNED_LONG.c.o -o cmTC_4f48a make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining size of signed long long passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_d98aa/fast" /usr/bin/make -f CMakeFiles/cmTC_d98aa.dir/build.make CMakeFiles/cmTC_d98aa.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d98aa.dir/SIZEOF_SIGNED_LONG_LONG.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_d98aa.dir/SIZEOF_SIGNED_LONG_LONG.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/SIZEOF_SIGNED_LONG_LONG.c Linking C executable cmTC_d98aa /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d98aa.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_d98aa.dir/SIZEOF_SIGNED_LONG_LONG.c.o -o cmTC_d98aa make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining size of unsigned long long passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_2fd65/fast" /usr/bin/make -f CMakeFiles/cmTC_2fd65.dir/build.make CMakeFiles/cmTC_2fd65.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2fd65.dir/SIZEOF_UNSIGNED_LONG_LONG.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_2fd65.dir/SIZEOF_UNSIGNED_LONG_LONG.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/SIZEOF_UNSIGNED_LONG_LONG.c Linking C executable cmTC_2fd65 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2fd65.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_2fd65.dir/SIZEOF_UNSIGNED_LONG_LONG.c.o -o cmTC_2fd65 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining size of unsigned char * passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_1d228/fast" /usr/bin/make -f CMakeFiles/cmTC_1d228.dir/build.make CMakeFiles/cmTC_1d228.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1d228.dir/SIZEOF_UNSIGNED_CHAR_P.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_1d228.dir/SIZEOF_UNSIGNED_CHAR_P.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/SIZEOF_UNSIGNED_CHAR_P.c Linking C executable cmTC_1d228 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1d228.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_1d228.dir/SIZEOF_UNSIGNED_CHAR_P.c.o -o cmTC_1d228 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining size of size_t passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_bf570/fast" /usr/bin/make -f CMakeFiles/cmTC_bf570.dir/build.make CMakeFiles/cmTC_bf570.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_bf570.dir/SIZEOF_SIZE_T.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_bf570.dir/SIZEOF_SIZE_T.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/SIZEOF_SIZE_T.c Linking C executable cmTC_bf570 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bf570.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_bf570.dir/SIZEOF_SIZE_T.c.o -o cmTC_bf570 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining size of ptrdiff_t passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_e4753/fast" /usr/bin/make -f CMakeFiles/cmTC_e4753.dir/build.make CMakeFiles/cmTC_e4753.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e4753.dir/SIZEOF_PTRDIFF_T.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_e4753.dir/SIZEOF_PTRDIFF_T.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CheckTypeSize/SIZEOF_PTRDIFF_T.c Linking C executable cmTC_e4753 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e4753.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_e4753.dir/SIZEOF_PTRDIFF_T.c.o -o cmTC_e4753 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the function floor exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_4645f/fast" /usr/bin/make -f CMakeFiles/cmTC_4645f.dir/build.make CMakeFiles/cmTC_4645f.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4645f.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=floor -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_4645f.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ :0:23: warning: conflicting types for built-in function ‘floor’ /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:6: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’ char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_4645f /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4645f.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=floor -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_4645f.dir/CheckFunctionExists.c.o -o cmTC_4645f /usr/lib/aarch64-linux-gnu/libm.so make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the function pow exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_34c5a/fast" /usr/bin/make -f CMakeFiles/cmTC_34c5a.dir/build.make CMakeFiles/cmTC_34c5a.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_34c5a.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=pow -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_34c5a.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ :0:23: warning: conflicting types for built-in function ‘pow’ /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:6: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’ char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_34c5a /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_34c5a.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=pow -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_34c5a.dir/CheckFunctionExists.c.o -o cmTC_34c5a /usr/lib/aarch64-linux-gnu/libm.so make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the function sqrt exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_e952f/fast" /usr/bin/make -f CMakeFiles/cmTC_e952f.dir/build.make CMakeFiles/cmTC_e952f.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e952f.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=sqrt -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_e952f.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ :0:23: warning: conflicting types for built-in function ‘sqrt’ /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:6: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’ char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_e952f /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e952f.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=sqrt -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_e952f.dir/CheckFunctionExists.c.o -o cmTC_e952f /usr/lib/aarch64-linux-gnu/libm.so make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the function isascii exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_9cf23/fast" /usr/bin/make -f CMakeFiles/cmTC_9cf23.dir/build.make CMakeFiles/cmTC_9cf23.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_9cf23.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=isascii -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_9cf23.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ :0:23: warning: conflicting types for built-in function ‘isascii’ /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:6: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’ char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_9cf23 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9cf23.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=isascii -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_9cf23.dir/CheckFunctionExists.c.o -o cmTC_9cf23 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the function memset exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_5ad39/fast" /usr/bin/make -f CMakeFiles/cmTC_5ad39.dir/build.make CMakeFiles/cmTC_5ad39.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_5ad39.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=memset -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_5ad39.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ :0:23: warning: conflicting types for built-in function ‘memset’ /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:6: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’ char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_5ad39 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5ad39.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=memset -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_5ad39.dir/CheckFunctionExists.c.o -o cmTC_5ad39 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the function mmap exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_1e1e4/fast" /usr/bin/make -f CMakeFiles/cmTC_1e1e4.dir/build.make CMakeFiles/cmTC_1e1e4.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1e1e4.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=mmap -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_1e1e4.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_1e1e4 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1e1e4.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=mmap -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_1e1e4.dir/CheckFunctionExists.c.o -o cmTC_1e1e4 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the function getopt exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_04fff/fast" /usr/bin/make -f CMakeFiles/cmTC_04fff.dir/build.make CMakeFiles/cmTC_04fff.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_04fff.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=getopt -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_04fff.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_04fff /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_04fff.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=getopt -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_04fff.dir/CheckFunctionExists.c.o -o cmTC_04fff make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the function memmove exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_84ba5/fast" /usr/bin/make -f CMakeFiles/cmTC_84ba5.dir/build.make CMakeFiles/cmTC_84ba5.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_84ba5.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=memmove -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_84ba5.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ :0:23: warning: conflicting types for built-in function ‘memmove’ /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:6: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’ char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_84ba5 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_84ba5.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=memmove -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_84ba5.dir/CheckFunctionExists.c.o -o cmTC_84ba5 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the function strcasecmp exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_98bc2/fast" /usr/bin/make -f CMakeFiles/cmTC_98bc2.dir/build.make CMakeFiles/cmTC_98bc2.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_98bc2.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=strcasecmp -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_98bc2.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ :0:23: warning: conflicting types for built-in function ‘strcasecmp’ /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:6: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’ char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_98bc2 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_98bc2.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=strcasecmp -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_98bc2.dir/CheckFunctionExists.c.o -o cmTC_98bc2 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the function strchr exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_7ecf9/fast" /usr/bin/make -f CMakeFiles/cmTC_7ecf9.dir/build.make CMakeFiles/cmTC_7ecf9.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_7ecf9.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=strchr -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_7ecf9.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ :0:23: warning: conflicting types for built-in function ‘strchr’ /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:6: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’ char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_7ecf9 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7ecf9.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=strchr -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_7ecf9.dir/CheckFunctionExists.c.o -o cmTC_7ecf9 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the function strrchr exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_6ba59/fast" /usr/bin/make -f CMakeFiles/cmTC_6ba59.dir/build.make CMakeFiles/cmTC_6ba59.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6ba59.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=strrchr -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_6ba59.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ :0:23: warning: conflicting types for built-in function ‘strrchr’ /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:6: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’ char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_6ba59 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6ba59.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=strrchr -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_6ba59.dir/CheckFunctionExists.c.o -o cmTC_6ba59 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the function strstr exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_e43ce/fast" /usr/bin/make -f CMakeFiles/cmTC_e43ce.dir/build.make CMakeFiles/cmTC_e43ce.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e43ce.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=strstr -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_e43ce.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ :0:23: warning: conflicting types for built-in function ‘strstr’ /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:6: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’ char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_e43ce /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e43ce.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=strstr -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_e43ce.dir/CheckFunctionExists.c.o -o cmTC_e43ce make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the function strtol exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_ec890/fast" /usr/bin/make -f CMakeFiles/cmTC_ec890.dir/build.make CMakeFiles/cmTC_ec890.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ec890.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=strtol -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_ec890.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_ec890 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ec890.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=strtol -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_ec890.dir/CheckFunctionExists.c.o -o cmTC_ec890 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the function strtol exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_1e5e5/fast" /usr/bin/make -f CMakeFiles/cmTC_1e5e5.dir/build.make CMakeFiles/cmTC_1e5e5.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1e5e5.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=strtol -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_1e5e5.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_1e5e5 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1e5e5.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=strtol -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_1e5e5.dir/CheckFunctionExists.c.o -o cmTC_1e5e5 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the function strtoull exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_ac93b/fast" /usr/bin/make -f CMakeFiles/cmTC_ac93b.dir/build.make CMakeFiles/cmTC_ac93b.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ac93b.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=strtoull -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_ac93b.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_ac93b /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ac93b.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=strtoull -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_ac93b.dir/CheckFunctionExists.c.o -o cmTC_ac93b make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the function lfind exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_36151/fast" /usr/bin/make -f CMakeFiles/cmTC_36151.dir/build.make CMakeFiles/cmTC_36151.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_36151.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=lfind -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_36151.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_36151 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_36151.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=lfind -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_36151.dir/CheckFunctionExists.c.o -o cmTC_36151 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test HAVE_SNPRINTF succeeded with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_0259b/fast" /usr/bin/make -f CMakeFiles/cmTC_0259b.dir/build.make CMakeFiles/cmTC_0259b.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0259b.dir/src.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DHAVE_SNPRINTF -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_0259b.dir/src.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_0259b /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0259b.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DHAVE_SNPRINTF -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_0259b.dir/src.c.o -o cmTC_0259b make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Source file was: #include int main(void) { char buf[10]; snprintf(buf, 10, "Test %d", 1); return 0; } Determining if the include file /usr/include/libpng/png.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_4c609/fast" /usr/bin/make -f CMakeFiles/cmTC_4c609.dir/build.make CMakeFiles/cmTC_4c609.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_4c609.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_4c609.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_4c609 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4c609.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_4c609.dir/CheckIncludeFile.c.o -o cmTC_4c609 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the include file semaphore.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_8a592/fast" /usr/bin/make -f CMakeFiles/cmTC_8a592.dir/build.make CMakeFiles/cmTC_8a592.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8a592.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_8a592.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_8a592 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8a592.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_8a592.dir/CheckIncludeFile.c.o -o cmTC_8a592 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the include file linux/videodev2.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_01705/fast" /usr/bin/make -f CMakeFiles/cmTC_01705.dir/build.make CMakeFiles/cmTC_01705.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_01705.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_01705.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_01705 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_01705.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_01705.dir/CheckIncludeFile.c.o -o cmTC_01705 make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the function dgemm_ exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_aa511/fast" /usr/bin/make -f CMakeFiles/cmTC_aa511.dir/build.make CMakeFiles/cmTC_aa511.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_aa511.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=dgemm_ -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_aa511.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_aa511 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_aa511.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=dgemm_ -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_aa511.dir/CheckFunctionExists.c.o -o cmTC_aa511 /usr/lib/libf77blas.so /usr/lib/libatlas.so make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the include file pthread.h exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_8fe0e/fast" /usr/bin/make -f CMakeFiles/cmTC_8fe0e.dir/build.make CMakeFiles/cmTC_8fe0e.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_8fe0e.dir/CheckIncludeFile.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_8fe0e.dir/CheckIncludeFile.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTC_8fe0e /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8fe0e.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_8fe0e.dir/CheckIncludeFile.c.o -o cmTC_8fe0e make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Determining if the pthread_create exist passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_131bc/fast" /usr/bin/make -f CMakeFiles/cmTC_131bc.dir/build.make CMakeFiles/cmTC_131bc.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_131bc.dir/CheckSymbolExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_131bc.dir/CheckSymbolExists.c.o -c /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_131bc /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_131bc.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_131bc.dir/CheckSymbolExists.c.o -o cmTC_131bc make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' File /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&pthread_create))[argc]; #else (void)argc; return 0; #endif } Determining if the function cheev_ exists passed with the following output: Change Dir: /home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_d5f9f/fast" /usr/bin/make -f CMakeFiles/cmTC_d5f9f.dir/build.make CMakeFiles/cmTC_d5f9f.dir/build make[1]: Entering directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d5f9f.dir/CheckFunctionExists.c.o /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=cheev_ -O3 -DNDEBUG -fPIE -o CMakeFiles/cmTC_d5f9f.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c:6:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] char CHECK_FUNCTION_EXISTS(); ^ Linking C executable cmTC_d5f9f /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d5f9f.dir/link.txt --verbose=1 /usr/bin/cc -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -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-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -DCHECK_FUNCTION_EXISTS=cheev_ -O3 -DNDEBUG -Wl,--gc-sections CMakeFiles/cmTC_d5f9f.dir/CheckFunctionExists.c.o -o cmTC_d5f9f /usr/lib/liblapack.so /usr/lib/libf77blas.so /usr/lib/libatlas.so make[1]: Leaving directory '/home/apsync/GitHub/opencv/build/CMakeFiles/CMakeTmp' I do appreciate any of your help!

failed to build through the scripte of the platforms/android/build_sdk.py

$
0
0
../platforms/android/build_sdk.py --no_ccache --config=ndk-16.config.py --ndk_path=/Users/cy/mytools/android-ndk-r18 --sdk_path=/Users/cy/mytools/android-sdk --extra_modules_path=./stork Args: Namespace(build_doc=False, config='ndk-16.config.py', extra_modules_path='./stork', extra_pack=None, force_copy=False, force_opencv_toolchain=False, ndk_path='/Users/cy/mytools/android-ndk-r18', no_ccache=True, opencv_dir='/Users/cy/workspace/opencv-master/platforms/android/../..', sdk_path='/Users/cy/mytools/android-sdk', sign_with=None, work_dir='.') Package configuration: ================================================================================ ABIs = [ ABI("2", "armeabi-v7a", "arm-linux-androideabi-4.9", cmake_vars=dict(ANDROID_ABI='armeabi-v7a with NEON')), ABI("1", "armeabi", "arm-linux-androideabi-4.9", cmake_vars=dict(WITH_TBB='OFF')), ABI("3", "arm64-v8a", "aarch64-linux-android-4.9"), ABI("5", "x86_64", "x86_64-4.9"), ABI("4", "x86", "x86-4.9"), ] ================================================================================ Android NDK path: /Users/cy/mytools/android-ndk-r18 Android SDK path: /Users/cy/mytools/android-sdk Check dir /Users/cy/workspace/opencv-master/outputs (create: True, clean: False) Check dir /Users/cy/workspace/opencv-master (create: False, clean: False) Check dir /Users/cy/workspace/opencv-master/outputs/o4a (create: True, clean: True) Removing dir: /Users/cy/workspace/opencv-master/outputs/o4a/CMakeFiles Removing dir: /Users/cy/workspace/opencv-master/outputs/o4a/junk Removing file: /Users/cy/workspace/opencv-master/outputs/o4a/CMakeDownloadLog.txt Removing file: /Users/cy/workspace/opencv-master/outputs/o4a/CMakeCache.txt Removing dir: /Users/cy/workspace/opencv-master/outputs/o4a/3rdparty Check dir /Users/cy/workspace/opencv-master/outputs/OpenCV-android-sdk (create: True, clean: True) Removing dir: /Users/cy/workspace/opencv-master/outputs/OpenCV-android-sdk/sdk Check dir /Users/cy/workspace/opencv-master/outputs/OpenCV-android-sdk/sdk/java/javadoc (create: True, clean: True) Detected OpenCV version: 4.0.0-pre Detected Engine version: 3.42 Check dir /Users/cy/workspace/opencv-master/outputs/build_service_armeabi-v7a (create: True, clean: True) ===== ===== Building library for armeabi-v7a (arm-linux-androideabi-4.9) ===== Executing: ['cmake', '-GNinja', "-DOPENCV_EXTRA_MODULES_PATH='/Users/cy/workspace/opencv-master/outputs/stork'", '-DBUILD_TESTS=ON', '-DINSTALL_TESTS=ON', "-DCMAKE_TOOLCHAIN_FILE='/Users/cy/mytools/android-ndk-r18/build/cmake/android.toolchain.cmake'", "-DWITH_OPENCL='OFF'", "-DWITH_IPP='OFF'", "-DWITH_TBB='ON'", "-DBUILD_EXAMPLES='OFF'", "-DBUILD_TESTS='OFF'", "-DBUILD_PERF_TESTS='OFF'", "-DBUILD_DOCS='OFF'", "-DBUILD_ANDROID_EXAMPLES='ON'", "-DINSTALL_ANDROID_EXAMPLES='ON'", "-DANDROID_STL='c++_static'", "-DANDROID_ABI='armeabi-v7a with NEON'", "-DANDROID_TOOLCHAIN_NAME='arm-linux-androideabi-4.9'", "-DANDROID_PLATFORM_ID='2'", "-DANDROID_TOOLCHAIN='clang'", '/Users/cy/workspace/opencv-master'] Executing: cmake -GNinja -DOPENCV_EXTRA_MODULES_PATH='/Users/cy/workspace/opencv-master/outputs/stork' -DBUILD_TESTS=ON -DINSTALL_TESTS=ON -DCMAKE_TOOLCHAIN_FILE='/Users/cy/mytools/android-ndk-r18/build/cmake/android.toolchain.cmake' -DWITH_OPENCL='OFF' -DWITH_IPP='OFF' -DWITH_TBB='ON' -DBUILD_EXAMPLES='OFF' -DBUILD_TESTS='OFF' -DBUILD_PERF_TESTS='OFF' -DBUILD_DOCS='OFF' -DBUILD_ANDROID_EXAMPLES='ON' -DINSTALL_ANDROID_EXAMPLES='ON' -DANDROID_STL='c++_static' -DANDROID_ABI='armeabi-v7a with NEON' -DANDROID_TOOLCHAIN_NAME='arm-linux-androideabi-4.9' -DANDROID_PLATFORM_ID='2' -DANDROID_TOOLCHAIN='clang' /Users/cy/workspace/opencv-master -- ANDROID_PLATFORM not set. Defaulting to minimum supported version 16. -- Check for working CXX compiler: /Users/cy/mytools/android-ndk-r18/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -- Check for working CXX compiler: /Users/cy/mytools/android-ndk-r18/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /Users/cy/mytools/android-ndk-r18/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -- Check for working C compiler: /Users/cy/mytools/android-ndk-r18/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.10", minimum required is "2.7") -- Found PythonInterp: /usr/local/bin/python3 (found suitable version "3.7", minimum required is "3.4") -- Looking for ccache - not found -- Performing Test HAVE_CXX_FSIGNED_CHAR -- Performing Test HAVE_CXX_FSIGNED_CHAR - Success -- Performing Test HAVE_C_FSIGNED_CHAR -- Performing Test HAVE_C_FSIGNED_CHAR - Success -- Performing Test HAVE_CXX_W -- Performing Test HAVE_CXX_W - Success -- Performing Test HAVE_C_W -- Performing Test HAVE_C_W - Success -- Performing Test HAVE_CXX_WALL -- Performing Test HAVE_CXX_WALL - Success -- Performing Test HAVE_C_WALL -- Performing Test HAVE_C_WALL - Success -- Performing Test HAVE_CXX_WERROR_RETURN_TYPE -- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success -- Performing Test HAVE_C_WERROR_RETURN_TYPE -- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success -- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR -- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR -- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_CXX_WERROR_ADDRESS -- Performing Test HAVE_CXX_WERROR_ADDRESS - Success -- Performing Test HAVE_C_WERROR_ADDRESS -- Performing Test HAVE_C_WERROR_ADDRESS - Success -- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT -- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success -- Performing Test HAVE_C_WERROR_SEQUENCE_POINT -- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success -- Performing Test HAVE_CXX_WFORMAT -- Performing Test HAVE_CXX_WFORMAT - Success -- Performing Test HAVE_C_WFORMAT -- Performing Test HAVE_C_WFORMAT - Success -- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY -- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success -- Performing Test HAVE_C_WERROR_FORMAT_SECURITY -- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success -- Performing Test HAVE_CXX_WMISSING_DECLARATIONS -- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success -- Performing Test HAVE_C_WMISSING_DECLARATIONS -- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success -- Performing Test HAVE_CXX_WMISSING_PROTOTYPES -- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Success -- Performing Test HAVE_C_WMISSING_PROTOTYPES -- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success -- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES -- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Success -- Performing Test HAVE_C_WSTRICT_PROTOTYPES -- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success -- Performing Test HAVE_CXX_WUNDEF -- Performing Test HAVE_CXX_WUNDEF - Success -- Performing Test HAVE_C_WUNDEF -- Performing Test HAVE_C_WUNDEF - Success -- Performing Test HAVE_CXX_WINIT_SELF -- Performing Test HAVE_CXX_WINIT_SELF - Success -- Performing Test HAVE_C_WINIT_SELF -- Performing Test HAVE_C_WINIT_SELF - Success -- Performing Test HAVE_CXX_WPOINTER_ARITH -- Performing Test HAVE_CXX_WPOINTER_ARITH - Success -- Performing Test HAVE_C_WPOINTER_ARITH -- Performing Test HAVE_C_WPOINTER_ARITH - Success -- Performing Test HAVE_CXX_WSHADOW -- Performing Test HAVE_CXX_WSHADOW - Success -- Performing Test HAVE_C_WSHADOW -- Performing Test HAVE_C_WSHADOW - Success -- Performing Test HAVE_CXX_WSIGN_PROMO -- Performing Test HAVE_CXX_WSIGN_PROMO - Success -- Performing Test HAVE_C_WSIGN_PROMO -- Performing Test HAVE_C_WSIGN_PROMO - Success -- Performing Test HAVE_CXX_WUNINITIALIZED -- Performing Test HAVE_CXX_WUNINITIALIZED - Success -- Performing Test HAVE_C_WUNINITIALIZED -- Performing Test HAVE_C_WUNINITIALIZED - Success -- Performing Test HAVE_CXX_WINCONSISTENT_MISSING_OVERRIDE -- Performing Test HAVE_CXX_WINCONSISTENT_MISSING_OVERRIDE - Success -- Performing Test HAVE_C_WINCONSISTENT_MISSING_OVERRIDE -- Performing Test HAVE_C_WINCONSISTENT_MISSING_OVERRIDE - Success -- Performing Test HAVE_CXX_WNO_NARROWING -- Performing Test HAVE_CXX_WNO_NARROWING - Success -- Performing Test HAVE_C_WNO_NARROWING -- Performing Test HAVE_C_WNO_NARROWING - Success -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success -- Performing Test HAVE_CXX_WNO_COMMENT -- Performing Test HAVE_CXX_WNO_COMMENT - Success -- Performing Test HAVE_C_WNO_COMMENT -- Performing Test HAVE_C_WNO_COMMENT - Success -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success -- Performing Test HAVE_CXX_QUNUSED_ARGUMENTS -- Performing Test HAVE_CXX_QUNUSED_ARGUMENTS - Success -- Performing Test HAVE_C_QUNUSED_ARGUMENTS -- Performing Test HAVE_C_QUNUSED_ARGUMENTS - Success -- Performing Test HAVE_CXX_MFPU_VFPV3 -- Performing Test HAVE_CXX_MFPU_VFPV3 - Success -- Performing Test HAVE_CPU_NEON_SUPPORT (check file: cmake/checks/cpu_neon.cpp) -- Performing Test HAVE_CPU_NEON_SUPPORT - Success -- Performing Test HAVE_CPU_FP16_SUPPORT (check file: cmake/checks/cpu_fp16.cpp) -- Performing Test HAVE_CPU_FP16_SUPPORT - Failed -- Performing Test HAVE_CXX_MFPU_NEON_FP16 (check file: cmake/checks/cpu_fp16.cpp) -- Performing Test HAVE_CXX_MFPU_NEON_FP16 - Success -- Performing Test HAVE_CPU_BASELINE_FLAGS -- Performing Test HAVE_CPU_BASELINE_FLAGS - Success -- Performing Test HAVE_CXX_MFP16_FORMAT_IEEE -- Performing Test HAVE_CXX_MFP16_FORMAT_IEEE - Failed -- Performing Test HAVE_C_MFP16_FORMAT_IEEE -- Performing Test HAVE_C_MFP16_FORMAT_IEEE - Failed -- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN -- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN - Success -- Performing Test HAVE_C_FVISIBILITY_HIDDEN -- Performing Test HAVE_C_FVISIBILITY_HIDDEN - Success -- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN -- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN - Success -- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN -- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN - Success -- OpenCV disables pkg-config to avoid using of host libraries. Consider using PKG_CONFIG_LIBDIR to specify target SYSROOT -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for posix_memalign -- Looking for posix_memalign - not found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for memalign -- Looking for memalign - found -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Found ZLIB: /Users/cy/mytools/android-ndk-r18/platforms/android-16/arch-arm/usr/lib/libz.so (found suitable version "1.2.3", minimum required is "1.2.3") -- Performing Test HAVE_C_WNO_UNUSED_PARAMETER -- Performing Test HAVE_C_WNO_UNUSED_PARAMETER - Success -- Performing Test HAVE_C_WNO_SIGN_COMPARE -- Performing Test HAVE_C_WNO_SIGN_COMPARE - Success -- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 -- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 - Success -- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH -- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH - Success -- libjpeg-turbo: VERSION = 1.5.3, BUILD = opencv-4.0.0-pre-libjpeg-turbo -- Check size of size_t -- Check size of size_t - done -- Looking for assert.h -- Looking for assert.h - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for io.h -- Looking for io.h - not found -- Looking for limits.h -- Looking for limits.h - found -- Looking for memory.h -- Looking for memory.h - found -- Looking for search.h -- Looking for search.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Performing Test C_HAS_inline -- Performing Test C_HAS_inline - Success -- Check size of signed short -- Check size of signed short - done -- Check size of unsigned short -- Check size of unsigned short - done -- Check size of signed int -- Check size of signed int - done -- Check size of unsigned int -- Check size of unsigned int - done -- Check size of signed long -- Check size of signed long - done -- Check size of unsigned long -- Check size of unsigned long - done -- Check size of signed long long -- Check size of signed long long - done -- Check size of unsigned long long -- Check size of unsigned long long - done -- Check size of unsigned char * -- Check size of unsigned char * - done -- Check size of ptrdiff_t -- Check size of ptrdiff_t - done -- Check size of INT8 -- Check size of INT8 - failed -- Check size of INT16 -- Check size of INT16 - failed -- Check size of INT32 -- Check size of INT32 - failed -- Looking for floor -- Looking for floor - found -- Looking for pow -- Looking for pow - found -- Looking for sqrt -- Looking for sqrt - found -- Looking for isascii -- Looking for isascii - found -- Looking for memset -- Looking for memset - found -- Looking for mmap -- Looking for mmap - found -- Looking for getopt -- Looking for getopt - found -- Looking for memmove -- Looking for memmove - found -- Looking for setmode -- Looking for setmode - not found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for strchr -- Looking for strchr - found -- Looking for strrchr -- Looking for strrchr - found -- Looking for strstr -- Looking for strstr - found -- Looking for strtol -- Looking for strtol - found -- Looking for strtol -- Looking for strtol - found -- Looking for strtoull -- Looking for strtoull - found -- Looking for lfind -- Looking for lfind - not found -- Performing Test HAVE_SNPRINTF -- Performing Test HAVE_SNPRINTF - Success -- Check if the system is big endian -- Searching 16 bit integer -- Using unsigned short -- Check if the system is big endian - little endian -- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE -- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE - Failed -- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES -- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES - Success -- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS -- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS - Success -- Performing Test HAVE_C_WNO_UNDEF -- Performing Test HAVE_C_WNO_UNDEF - Success -- Performing Test HAVE_C_WNO_UNUSED -- Performing Test HAVE_C_WNO_UNUSED - Success -- Performing Test HAVE_C_WNO_CAST_ALIGN -- Performing Test HAVE_C_WNO_CAST_ALIGN - Success -- Performing Test HAVE_C_WNO_SHADOW -- Performing Test HAVE_C_WNO_SHADOW - Success -- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED -- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED - Failed -- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST -- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST - Success -- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST -- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST - Success -- Performing Test HAVE_C_WNO_MISLEADING_INDENTATION -- Performing Test HAVE_C_WNO_MISLEADING_INDENTATION - Failed -- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS -- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success -- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER -- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER - Success -- Performing Test HAVE_CXX_WNO_UNDEF -- Performing Test HAVE_CXX_WNO_UNDEF - Success -- Performing Test HAVE_C_WNO_UNUSED_VARIABLE -- Performing Test HAVE_C_WNO_UNUSED_VARIABLE - Success -- Performing Test HAVE_C_WNO_UNUSED_FUNCTION -- Performing Test HAVE_C_WNO_UNUSED_FUNCTION - Success -- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION -- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION - Success -- Performing Test HAVE_C_WNO_UNINITIALIZED -- Performing Test HAVE_C_WNO_UNINITIALIZED - Success -- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER -- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER - Failed -- Performing Test HAVE_C_WNO_STRICT_OVERFLOW -- Performing Test HAVE_C_WNO_STRICT_OVERFLOW - Success -- Performing Test HAVE_C_WNO_POINTER_COMPARE -- Performing Test HAVE_C_WNO_POINTER_COMPARE - Failed -- Performing Test HAVE_C_WNO_ABSOLUTE_VALUE -- Performing Test HAVE_C_WNO_ABSOLUTE_VALUE - Success -- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES -- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES - Success -- The ASM compiler identification is Clang -- Found assembler: /Users/cy/mytools/android-ndk-r18/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -- Looking for semaphore.h -- Looking for semaphore.h - found -- Performing Test HAVE_CXX_WNO_SHADOW -- Performing Test HAVE_CXX_WNO_SHADOW - Success -- Performing Test HAVE_CXX_WNO_UNUSED -- Performing Test HAVE_CXX_WNO_UNUSED - Success -- Performing Test HAVE_CXX_WNO_SIGN_COMPARE -- Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success -- Performing Test HAVE_CXX_WNO_UNINITIALIZED -- Performing Test HAVE_CXX_WNO_UNINITIALIZED - Success -- Performing Test HAVE_CXX_WNO_SWITCH -- Performing Test HAVE_CXX_WNO_SWITCH - Success -- Performing Test HAVE_CXX_WNO_PARENTHESES -- Performing Test HAVE_CXX_WNO_PARENTHESES - Success -- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS -- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success -- Performing Test HAVE_CXX_WNO_EXTRA -- Performing Test HAVE_CXX_WNO_EXTRA - Success -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success -- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION -- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION - Failed -- Performing Test HAVE_CXX_WNO_DEPRECATED -- Performing Test HAVE_CXX_WNO_DEPRECATED - Success -- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE -- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE - Failed -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Success -- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH -- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH - Success -- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES -- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES - Success -- TBB: Download: 2018_U1.tar.gz -- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS -- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS - Success -- Performing Test HAVE_CXX_WNO_SIGN_PROMO -- Performing Test HAVE_CXX_WNO_SIGN_PROMO - Success -- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE -- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE - Success -- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS -- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS - Success -- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION -- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION - Success -- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE -- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE - Success -- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 -- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 - Success -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF - Success -- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH -- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH - Success -- Update variable ANDROID_SDK from environment: /Users/cy/mytools/android-sdk -- Android SDK Tools: ver. 26.1.1 (description: 'Android SDK Tools') -- Android SDK Build Tools: ver. 28.0.1 (subdir 28.0.1 from 23.0.2;26.0.2;27.0.3;28.0.0;28.0.1) -- Android SDK Tools: Ant (Eclipse) builds are NOT supported by Android SDK -- Android SDK Build Tools: Gradle 3.0.0+ builds support is available -- Android SDK Tools: Prepare Android projects for using Gradle 3.0.0+ build scripts CMake Error at cmake/android/android_gradle_projects.cmake:1 (message): Android gradle-based build/projects are not supported in this version of OpenCV. You need to downgrade Android SDK Tools to version 25.2.5. Details: https://github.com/opencv/opencv/issues/8460 Call Stack (most recent call first): cmake/android/OpenCVDetectAndroidSDK.cmake:204 (include) CMakeLists.txt:644 (include) -- Configuring incomplete, errors occurred! See also "/Users/cy/workspace/opencv-master/outputs/o4a/CMakeFiles/CMakeOutput.log". See also "/Users/cy/workspace/opencv-master/outputs/o4a/CMakeFiles/CMakeError.log". Traceback (most recent call last): File "../platforms/android/build_sdk.py", line 369, in builder.build_library(abi, do_install) File "../platforms/android/build_sdk.py", line 185, in build_library execute(cmd) File "../platforms/android/build_sdk.py", line 23, in execute raise Fail("Child returned: %s" % retcode) __main__.Fail: Child returned: 1

How do I compile a C program that contains a OPENCV header file?h

$
0
0
What can I do to include a custom OPENCV and then use EMCC to package it into a wasm file?

How do I properly build Android OpenCV from sources?

$
0
0
The end goal is to build opencv with contrib for Android, but i cant seem to get the build_sdk.py script to even work without the --extra_pack flag I've downloaded build Tools 25.0.3, sdk tools 25.2.5,, ndk 16b and the latest opencv and contrib repos. Commands: export ANDROID_SDK=/home/wmmc88/Android/Sdk/ export ANDROID_NDK=/home/wmmc88/Android/android-ndk-r16b/ python3 ../android/build_sdk.py test/ ../../../opencv --no_ccache --config ../android/ndk-16.config.py Output: > Args: Namespace(build_doc=False,> config='../android/ndk-16.config.py',> extra_modules_path=None,> extra_pack=None, force_copy=False,> force_opencv_toolchain=False,> ndk_path=None, no_ccache=True,> opencv_dir='../../../opencv',> sdk_path=None, sign_with=None,> work_dir='test/') Package> configuration:> ================================================================================ ABIs = [> ABI("2", "armeabi-v7a", "arm-linux-androideabi-4.9",> cmake_vars=dict(ANDROID_ABI='armeabi-v7a> with NEON')),> ABI("1", "armeabi", "arm-linux-androideabi-4.9",> cmake_vars=dict(WITH_TBB='OFF')),> ABI("3", "arm64-v8a", "aarch64-linux-android-4.9"),> ABI("5", "x86_64", "x86_64-4.9"),> ABI("4", "x86", "x86-4.9"), ]> ================================================================================ Android NDK path:> /home/wmmc88/Android/android-ndk-r16b/> Android SDK path:> /home/wmmc88/Android/Sdk/ Check dir> /home/wmmc88/OpenCVRepo/opencv/platforms/Custom/test> (create: True, clean: False) Check dir> /home/wmmc88/OpenCVRepo/opencv> (create: False, clean: False) Check> dir> /home/wmmc88/OpenCVRepo/opencv/platforms/Custom/test/o4a> (create: True, clean: True) Removing> file:> /home/wmmc88/OpenCVRepo/opencv/platforms/Custom/test/o4a/CMakeCache.txt> Removing dir:> /home/wmmc88/OpenCVRepo/opencv/platforms/Custom/test/o4a/CMakeFiles> Removing dir:> /home/wmmc88/OpenCVRepo/opencv/platforms/Custom/test/o4a/3rdparty> Removing file:> /home/wmmc88/OpenCVRepo/opencv/platforms/Custom/test/o4a/CMakeDownloadLog.txt> Removing dir:> /home/wmmc88/OpenCVRepo/opencv/platforms/Custom/test/o4a/junk> Check dir> /home/wmmc88/OpenCVRepo/opencv/platforms/Custom/test/OpenCV-android-sdk> (create: True, clean: True) Removing> dir:> /home/wmmc88/OpenCVRepo/opencv/platforms/Custom/test/OpenCV-android-sdk/sdk> Check dir> /home/wmmc88/OpenCVRepo/opencv/platforms/Custom/test/OpenCV-android-sdk/sdk/java/javadoc> (create: True, clean: True) Detected> OpenCV version: 4.0.0-pre Detected> Engine version: 3.42 Check dir> /home/wmmc88/OpenCVRepo/opencv/platforms/Custom/test/build_service_armeabi-v7a> (create: True, clean: True)> =====> ===== Building library for armeabi-v7a (arm-linux-androideabi-4.9)> =====>> Executing: ['cmake', '-GNinja',> '-DBUILD_TESTS=ON',> '-DINSTALL_TESTS=ON',> "-DCMAKE_TOOLCHAIN_FILE='/home/wmmc88/Android/android-ndk-r16b/build/cmake/android.toolchain.cmake'",> "-DWITH_OPENCL='OFF'",> "-DWITH_IPP='OFF'", "-DWITH_TBB='ON'",> "-DBUILD_EXAMPLES='OFF'",> "-DBUILD_TESTS='OFF'",> "-DBUILD_PERF_TESTS='OFF'",> "-DBUILD_DOCS='OFF'",> "-DBUILD_ANDROID_EXAMPLES='ON'",> "-DINSTALL_ANDROID_EXAMPLES='ON'",> "-DANDROID_STL='gnustl_static'",> "-DANDROID_ABI='armeabi-v7a with> NEON'",> "-DANDROID_TOOLCHAIN_NAME='arm-linux-androideabi-4.9'",> "-DANDROID_PLATFORM_ID='2'",> '/home/wmmc88/OpenCVRepo/opencv']> Executing: cmake -GNinja> -DBUILD_TESTS=ON -DINSTALL_TESTS=ON -DCMAKE_TOOLCHAIN_FILE='/home/wmmc88/Android/android-ndk-r16b/build/cmake/android.toolchain.cmake'> -DWITH_OPENCL='OFF' -DWITH_IPP='OFF' -DWITH_TBB='ON' -DBUILD_EXAMPLES='OFF' -DBUILD_TESTS='OFF' -DBUILD_PERF_TESTS='OFF' -DBUILD_DOCS='OFF' -DBUILD_ANDROID_EXAMPLES='ON' -DINSTALL_ANDROID_EXAMPLES='ON' -DANDROID_STL='gnustl_static' -DANDROID_ABI='armeabi-v7a with NEON' -DANDROID_TOOLCHAIN_NAME='arm-linux-androideabi-4.9'> -DANDROID_PLATFORM_ID='2' /home/wmmc88/OpenCVRepo/opencv> -- The CXX compiler identification is GNU 4.9.0> -- The C compiler identification is GNU 4.9.0> -- Check for working CXX compiler: /home/wmmc88/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++> -- Check for working CXX compiler: /home/wmmc88/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++> -- works> -- Detecting CXX compiler ABI info> -- Detecting CXX compiler ABI info - done> -- Detecting CXX compile features> -- Detecting CXX compile features - done> -- Check for working C compiler: /home/wmmc88/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc> -- Check for working C compiler: /home/wmmc88/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc> -- works> -- Detecting C compiler ABI info> -- Detecting C compiler ABI info - done> -- Detecting C compile features> -- Detecting C compile features - done> -- Found PythonInterp: /usr/bin/python2.7 (found suitable> version "2.7.15", minimum required is> "2.7") > -- Found PythonInterp: /usr/bin/python3 (found suitable> version "3.6.5", minimum required is> "3.4") > -- Looking for ccache - not found> -- Performing Test HAVE_CXX_FSIGNED_CHAR> -- Performing Test HAVE_CXX_FSIGNED_CHAR - Success> -- Performing Test HAVE_C_FSIGNED_CHAR> -- Performing Test HAVE_C_FSIGNED_CHAR - Success> -- Performing Test HAVE_CXX_W> -- Performing Test HAVE_CXX_W - Success> -- Performing Test HAVE_C_W> -- Performing Test HAVE_C_W - Success> -- Performing Test HAVE_CXX_WALL> -- Performing Test HAVE_CXX_WALL - Success> -- Performing Test HAVE_C_WALL> -- Performing Test HAVE_C_WALL - Success> -- Performing Test HAVE_CXX_WERROR_RETURN_TYPE> -- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success> -- Performing Test HAVE_C_WERROR_RETURN_TYPE> -- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success> -- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR> -- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR -> Success> -- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR> -- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR -> Success> -- Performing Test HAVE_CXX_WERROR_ADDRESS> -- Performing Test HAVE_CXX_WERROR_ADDRESS - Success> -- Performing Test HAVE_C_WERROR_ADDRESS> -- Performing Test HAVE_C_WERROR_ADDRESS - Success> -- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT> -- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT -> Success> -- Performing Test HAVE_C_WERROR_SEQUENCE_POINT> -- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success> -- Performing Test HAVE_CXX_WFORMAT> -- Performing Test HAVE_CXX_WFORMAT - Success> -- Performing Test HAVE_C_WFORMAT> -- Performing Test HAVE_C_WFORMAT - Success> -- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY> -- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY -> Success> -- Performing Test HAVE_C_WERROR_FORMAT_SECURITY> -- Performing Test HAVE_C_WERROR_FORMAT_SECURITY -> Success> -- Performing Test HAVE_CXX_WMISSING_DECLARATIONS> -- Performing Test HAVE_CXX_WMISSING_DECLARATIONS -> Success> -- Performing Test HAVE_C_WMISSING_DECLARATIONS> -- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success> -- Performing Test HAVE_CXX_WMISSING_PROTOTYPES> -- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Failed> -- Performing Test HAVE_C_WMISSING_PROTOTYPES> -- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success> -- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES> -- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Failed> -- Performing Test HAVE_C_WSTRICT_PROTOTYPES> -- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success> -- Performing Test HAVE_CXX_WUNDEF> -- Performing Test HAVE_CXX_WUNDEF - Success> -- Performing Test HAVE_C_WUNDEF> -- Performing Test HAVE_C_WUNDEF - Success> -- Performing Test HAVE_CXX_WINIT_SELF> -- Performing Test HAVE_CXX_WINIT_SELF - Success> -- Performing Test HAVE_C_WINIT_SELF> -- Performing Test HAVE_C_WINIT_SELF - Success> -- Performing Test HAVE_CXX_WPOINTER_ARITH> -- Performing Test HAVE_CXX_WPOINTER_ARITH - Success> -- Performing Test HAVE_C_WPOINTER_ARITH> -- Performing Test HAVE_C_WPOINTER_ARITH - Success> -- Performing Test HAVE_CXX_WSHADOW> -- Performing Test HAVE_CXX_WSHADOW - Success> -- Performing Test HAVE_C_WSHADOW> -- Performing Test HAVE_C_WSHADOW - Success> -- Performing Test HAVE_CXX_WSIGN_PROMO> -- Performing Test HAVE_CXX_WSIGN_PROMO - Success> -- Performing Test HAVE_C_WSIGN_PROMO> -- Performing Test HAVE_C_WSIGN_PROMO - Failed> -- Performing Test HAVE_CXX_WUNINITIALIZED> -- Performing Test HAVE_CXX_WUNINITIALIZED - Success> -- Performing Test HAVE_C_WUNINITIALIZED> -- Performing Test HAVE_C_WUNINITIALIZED - Success> -- Performing Test HAVE_CXX_WSUGGEST_OVERRIDE> -- Performing Test HAVE_CXX_WSUGGEST_OVERRIDE - Failed> -- Performing Test HAVE_C_WSUGGEST_OVERRIDE> -- Performing Test HAVE_C_WSUGGEST_OVERRIDE - Failed> -- Performing Test HAVE_CXX_WNO_NARROWING> -- Performing Test HAVE_CXX_WNO_NARROWING - Success> -- Performing Test HAVE_C_WNO_NARROWING> -- Performing Test HAVE_C_WNO_NARROWING - Success> -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR> -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR -> Success> -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR> -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR -> Failed> -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS> -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS> - Failed> -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS> -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS> - Failed> -- Performing Test HAVE_CXX_WNO_COMMENT> -- Performing Test HAVE_CXX_WNO_COMMENT - Success> -- Performing Test HAVE_C_WNO_COMMENT> -- Performing Test HAVE_C_WNO_COMMENT - Success> -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION> -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION -> Success> -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION> -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION -> Success> -- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER> -- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER - Success> -- Performing Test HAVE_C_FOMIT_FRAME_POINTER> -- Performing Test HAVE_C_FOMIT_FRAME_POINTER - Success> -- Performing Test HAVE_CXX_MFPU_VFPV3> -- Performing Test HAVE_CXX_MFPU_VFPV3 - Success> -- Performing Test HAVE_CPU_NEON_SUPPORT (check file:> cmake/checks/cpu_neon.cpp)> -- Performing Test HAVE_CPU_NEON_SUPPORT - Success> -- Performing Test HAVE_CPU_FP16_SUPPORT (check file:> cmake/checks/cpu_fp16.cpp)> -- Performing Test HAVE_CPU_FP16_SUPPORT - Failed> -- Performing Test HAVE_CXX_MFPU_NEON_FP16 (check file:> cmake/checks/cpu_fp16.cpp)> -- Performing Test HAVE_CXX_MFPU_NEON_FP16 - Success> -- Performing Test HAVE_CPU_BASELINE_FLAGS> -- Performing Test HAVE_CPU_BASELINE_FLAGS - Success> -- Performing Test HAVE_CXX_MFP16_FORMAT_IEEE> -- Performing Test HAVE_CXX_MFP16_FORMAT_IEEE - Success> -- Performing Test HAVE_C_MFP16_FORMAT_IEEE> -- Performing Test HAVE_C_MFP16_FORMAT_IEEE - Success> -- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN> -- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN - Success> -- Performing Test HAVE_C_FVISIBILITY_HIDDEN> -- Performing Test HAVE_C_FVISIBILITY_HIDDEN - Success> -- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN> -- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN -> Success> -- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN> -- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN -> Failed> -- OpenCV disables pkg-config to avoid using of host libraries. Consider> using PKG_CONFIG_LIBDIR to specify> target SYSROOT> -- Looking for pthread.h> -- Looking for pthread.h - found> -- Looking for posix_memalign> -- Looking for posix_memalign - not found> -- Looking for malloc.h> -- Looking for malloc.h - found> -- Looking for memalign> -- Looking for memalign - found> -- Check if the system is big endian> -- Searching 16 bit integer> -- Looking for sys/types.h> -- Looking for sys/types.h - found> -- Looking for stdint.h> -- Looking for stdint.h - found> -- Looking for stddef.h> -- Looking for stddef.h - found> -- Check size of unsigned short> -- Check size of unsigned short - done> -- Using unsigned short> -- Check if the system is big endian - little endian> -- Found ZLIB: /home/wmmc88/Android/android-ndk-r16b/platforms/android-14/arch-arm/usr/lib/libz.so> (found suitable version "1.2.3",> minimum required is "1.2.3") > -- Performing Test HAVE_C_WNO_UNUSED_PARAMETER> -- Performing Test HAVE_C_WNO_UNUSED_PARAMETER - Success> -- Performing Test HAVE_C_WNO_SIGN_COMPARE> -- Performing Test HAVE_C_WNO_SIGN_COMPARE - Success> -- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32> -- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 - Failed> -- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH> -- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH -> Failed> -- libjpeg-turbo: VERSION = 1.5.3, BUILD = opencv-4.0.0-pre-libjpeg-turbo> -- Check size of size_t> -- Check size of size_t - done> -- Looking for assert.h> -- Looking for assert.h - found> -- Looking for dlfcn.h> -- Looking for dlfcn.h - found> -- Looking for fcntl.h> -- Looking for fcntl.h - found> -- Looking for inttypes.h> -- Looking for inttypes.h - found> -- Looking for io.h> -- Looking for io.h - not found> -- Looking for limits.h> -- Looking for limits.h - found> -- Looking for memory.h> -- Looking for memory.h - found> -- Looking for search.h> -- Looking for search.h - found> -- Looking for string.h> -- Looking for string.h - found> -- Looking for strings.h> -- Looking for strings.h - found> -- Looking for sys/time.h> -- Looking for sys/time.h - found> -- Looking for unistd.h> -- Looking for unistd.h - found> -- Performing Test C_HAS_inline> -- Performing Test C_HAS_inline - Success> -- Check size of signed short> -- Check size of signed short - done> -- Check size of unsigned short> -- Check size of unsigned short - done> -- Check size of signed int> -- Check size of signed int - done> -- Check size of unsigned int> -- Check size of unsigned int - done> -- Check size of signed long> -- Check size of signed long - done> -- Check size of unsigned long> -- Check size of unsigned long - done> -- Check size of signed long long> -- Check size of signed long long - done> -- Check size of unsigned long long> -- Check size of unsigned long long - done> -- Check size of unsigned char *> -- Check size of unsigned char * - done> -- Check size of ptrdiff_t> -- Check size of ptrdiff_t - done> -- Check size of INT8> -- Check size of INT8 - failed> -- Check size of INT16> -- Check size of INT16 - failed> -- Check size of INT32> -- Check size of INT32 - failed> -- Looking for floor> -- Looking for floor - found> -- Looking for pow> -- Looking for pow - found> -- Looking for sqrt> -- Looking for sqrt - found> -- Looking for isascii> -- Looking for isascii - found> -- Looking for memset> -- Looking for memset - found> -- Looking for mmap> -- Looking for mmap - found> -- Looking for getopt> -- Looking for getopt - found> -- Looking for memmove> -- Looking for memmove - found> -- Looking for setmode> -- Looking for setmode - not found> -- Looking for strcasecmp> -- Looking for strcasecmp - found> -- Looking for strchr> -- Looking for strchr - found> -- Looking for strrchr> -- Looking for strrchr - found> -- Looking for strstr> -- Looking for strstr - found> -- Looking for strtol> -- Looking for strtol - found> -- Looking for strtol> -- Looking for strtol - found> -- Looking for strtoull> -- Looking for strtoull - found> -- Looking for lfind> -- Looking for lfind - not found> -- Performing Test HAVE_SNPRINTF> -- Performing Test HAVE_SNPRINTF - Success> -- Check if the system is big endian> -- Searching 16 bit integer> -- Using unsigned short> -- Check if the system is big endian - little endian> -- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE> -- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE -> Success> -- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES> -- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES -> Success> -- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS> -- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS -> Success> -- Performing Test HAVE_C_WNO_UNDEF> -- Performing Test HAVE_C_WNO_UNDEF - Success> -- Performing Test HAVE_C_WNO_UNUSED> -- Performing Test HAVE_C_WNO_UNUSED - Success> -- Performing Test HAVE_C_WNO_CAST_ALIGN> -- Performing Test HAVE_C_WNO_CAST_ALIGN - Success> -- Performing Test HAVE_C_WNO_SHADOW> -- Performing Test HAVE_C_WNO_SHADOW - Success> -- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED> -- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED -> Success> -- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST> -- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST -> Success> -- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST> -- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST -> Success> -- Performing Test HAVE_C_WNO_MISLEADING_INDENTATION> -- Performing Test HAVE_C_WNO_MISLEADING_INDENTATION -> Failed> -- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS> -- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS -> Success> -- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER> -- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER -> Success> -- Performing Test HAVE_CXX_WNO_UNDEF> -- Performing Test HAVE_CXX_WNO_UNDEF - Success> -- Performing Test HAVE_C_WNO_UNUSED_VARIABLE> -- Performing Test HAVE_C_WNO_UNUSED_VARIABLE - Success> -- Performing Test HAVE_C_WNO_UNUSED_FUNCTION> -- Performing Test HAVE_C_WNO_UNUSED_FUNCTION - Success> -- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION> -- Performing Test HAVE_C_WNO_IMPLICIT_FUNCTION_DECLARATION> - Success> -- Performing Test HAVE_C_WNO_UNINITIALIZED> -- Performing Test HAVE_C_WNO_UNINITIALIZED - Success> -- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER> -- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_PARAMETER -> Success> -- Performing Test HAVE_C_WNO_STRICT_OVERFLOW> -- Performing Test HAVE_C_WNO_STRICT_OVERFLOW - Success> -- Performing Test HAVE_C_WNO_POINTER_COMPARE> -- Performing Test HAVE_C_WNO_POINTER_COMPARE - Failed> -- Performing Test HAVE_C_WNO_ABSOLUTE_VALUE> -- Performing Test HAVE_C_WNO_ABSOLUTE_VALUE - Failed> -- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES> -- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES - Success> -- The ASM compiler identification is GNU> -- Found assembler: /home/wmmc88/Android/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc> -- Looking for semaphore.h> -- Looking for semaphore.h - found> -- Performing Test HAVE_CXX_WNO_SHADOW> -- Performing Test HAVE_CXX_WNO_SHADOW - Success> -- Performing Test HAVE_CXX_WNO_UNUSED> -- Performing Test HAVE_CXX_WNO_UNUSED - Success> -- Performing Test HAVE_CXX_WNO_SIGN_COMPARE> -- Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success> -- Performing Test HAVE_CXX_WNO_UNINITIALIZED> -- Performing Test HAVE_CXX_WNO_UNINITIALIZED - Success> -- Performing Test HAVE_CXX_WNO_SWITCH> -- Performing Test HAVE_CXX_WNO_SWITCH - Success> -- Performing Test HAVE_CXX_WNO_PARENTHESES> -- Performing Test HAVE_CXX_WNO_PARENTHESES - Success> -- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS> -- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success> -- Performing Test HAVE_CXX_WNO_EXTRA> -- Performing Test HAVE_CXX_WNO_EXTRA - Success> -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS> -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS -> Success> -- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION> -- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION -> Failed> -- Performing Test HAVE_CXX_WNO_DEPRECATED> -- Performing Test HAVE_CXX_WNO_DEPRECATED - Success> -- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE> -- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE - Failed> -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE> -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Failed> -- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH> -- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH -> Failed> -- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES> -- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES -> Failed> -- TBB: Download: 2018_U1.tar.gz> -- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS> -- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS -> Success> -- Performing Test HAVE_CXX_WNO_SIGN_PROMO> -- Performing Test HAVE_CXX_WNO_SIGN_PROMO - Success> -- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE> -- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE> - Failed> -- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS> -- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS -> Success> -- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION> -- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION - Success> -- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE> -- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE -> Failed> -- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32> -- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 - Failed> -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF> -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF -> Success> -- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH> -- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH -> Failed> -- Update variable ANDROID_SDK from environment: /home/wmmc88/Android/Sdk> -- Android SDK Tools: ver. 25.2.5> -- Android SDK Build Tools: ver. 25.0.3 (subdir 25.0.3 from 25.0.3) CMake Error at> cmake/android/OpenCVDetectAndroidSDK.cmake:184> (message): Android SDK: Can't build> Android projects as requested by > BUILD_ANDROID_PROJECTS=ON variable.>> Use BUILD_ANDROID_PROJECTS=OFF to> prepare Android project files without > building them Call Stack (most recent> call first): CMakeLists.txt:644> (include)>>> -- Configuring incomplete, errors occurred! See also> "/home/wmmc88/OpenCVRepo/opencv/platforms/Custom/test/o4a/CMakeFiles/CMakeOutput.log".> See also> "/home/wmmc88/OpenCVRepo/opencv/platforms/Custom/test/o4a/CMakeFiles/CMakeError.log".> Traceback (most recent call last): > File "../android/build_sdk.py", line> 368, in > builder.build_library(abi, do_install) File> "../android/build_sdk.py", line 184,> in build_library> execute(cmd) File "../android/build_sdk.py", line 23, in> execute> raise Fail("Child returned: %s" % retcode)> __main__.Fail: Child returned: 1

Has anyone built OpenCV with CUDA compute 7.0?

$
0
0
I'm currently attempting to build OCV with CUDA compute level 7.0 enabled using visual studio 2017, and I keep getting an error I see that in the latest cuda cmake file, Volta/7.0 have been added, but every time I try to run a build I get: `Error LNK2019 unresolved external symbol` `__cudaRegisterLinkedBinary_54_tmpxft_00003c60_00000000_14_gpu_mat_compute_70_cpp1_ii_71482d89 referenced in function "void __cdecl __sti____cudaRegisterAll(void)" (?__sti____cudaRegisterAll@@YAXXZ) opencv_core C:\OCV40\modules\core\cuda_compile_generated_gpu_mat.cu.obj` It seems to be unhappy about CUDA 70, so is it expected that it is supported at the moment, or is this expected behavior? Thanks

Cmake with TBB on win64 (unfamiliar cmake gui fields)

$
0
0
I tried to follow instructions here https://perso.uclouvain.be/allan.barrea/opencv/cmake_config.html to run cmake gui with tbb enabled. However, instead of the expected fields (after second configure) TBB_INCLUDE_DIRS, TBB_LIB_DIR, and TBB_STDDEF_PATH I get ![image description](https://i.imgur.com/zLOsHSF.png )

Is it possible to build OpenCV 3.4.2 as a 64-bit Windows dll?

$
0
0
Our Windows app is using too much memory to be run as 32-bit. We'd like to switch to 64-bit but are limited by OpenCV being built as a 32-bit dll. I've been told a 64-bit Windows app can't call a 32-bit dll. Is it possible to build OpenCV 3.4.2 as a 64-bit dll? I've looked through the options in CMake, but don't see anything obvious.

Error during installation of built opencv with CUDA

$
0
0
I am trying to build opencv library from source. Here some platform information: Ubuntu 16.04, gcc version 5.4.0, CUDA version 8 I added this flags for compilation: -D ENABLE_CXX11=ON -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D OPENCV_EXTRA_MODULES_PATH=/home/unlut/opencvdir/opencv_contrib/modules -D BUILD_opencv_hdf=OFF -D WITH_CUDA=ON -D ENABLE_FAST_MATH=1 -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 -D INSTALL_C_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=OFF -D BUILD_TESTS=OFF First make operation is completed successfully, however, when I try to install (sudo make install), I got errors like this: /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h(436): error: identifier "nullptr" is undefined /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h(436): error: expected a ";" /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h(200): error: expected a ";" /usr/include/c++/5/exception(63): error: expected a ";" /usr/include/c++/5/exception(68): error: expected a ";" ... /usr/include/c++/5/bits/exception_ptr.h(64): error: function "std::current_exception" returns incomplete type "std::__exception_ptr::exception_ptr" /usr/include/c++/5/bits/exception_ptr.h(64): error: expected a "{" /usr/include/c++/5/bits/exception_ptr.h(79): error: expected a ";" ... Error limit reached. 100 errors detected in the compilation of "/tmp/tmpxft_0000024a_00000000-21_gpu_mat.compute_61.cpp1.ii". Compilation terminated. CMake Error at cuda_compile_generated_gpu_mat.cu.o.cmake:266 (message): Error generating file /home/USERNAME/opencvdir/opencv/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_gpu_mat.cu.o It seems like c++11 issue however I can see -std=c++11 flag both among my c++ release and c++ debug flags. What could possibly cause this error? Thanks for taking your time to read.

Error while compiling OpenCV Pre-Release 4.0.0 with CMAKE

$
0
0
[ 86%] Built target opencv_calib3d_pch_dephelp [ 86%] Built target pch_Generate_opencv_calib3d [ 88%] Built target opencv_calib3d [ 88%] Built target opencv_perf_calib3d_pch_dephelp [ 88%] Built target pch_Generate_opencv_perf_calib3d [ 89%] Built target opencv_perf_calib3d [ 90%] Built target pch_Generate_opencv_test_calib3d [ 92%] Built target opencv_test_calib3d [ 92%] Built target opencv_stitching_pch_dephelp [ 92%] Built target pch_Generate_opencv_stitching [ 93%] Built target opencv_stitching [ 93%] Built target opencv_test_stitching_pch_dephelp [ 93%] Built target pch_Generate_opencv_test_stitching [ 93%] Built target opencv_test_stitching [ 93%] Built target opencv_perf_stitching_pch_dephelp [ 94%] Built target pch_Generate_opencv_perf_stitching [ 95%] Built target opencv_perf_stitching [ 95%] Built target opencv_videostab_pch_dephelp [ 95%] Built target pch_Generate_opencv_videostab [ 96%] Built target opencv_videostab [ 96%] Built target opencv_test_videostab_pch_dephelp [ 96%] Built target pch_Generate_opencv_test_videostab [ 97%] Built target opencv_test_videostab [ 97%] Built target gen_opencv_python_source [ 97%] Linking CXX shared module ..\..\lib\python3\cv2.cp35-win32.pyd collect2.exe: error: ld returned 5 exit status mingw32-make[2]: *** [modules\python3\CMakeFiles\opencv_python3.dir\build.make:104: lib/python3/cv2.cp35-win32.pyd] Error 1 mingw32-make[2]: *** Deleting file 'lib/python3/cv2.cp35-win32.pyd' mingw32-make[1]: *** [CMakeFiles\Makefile2:7584: modules/python3/CMakeFiles/opencv_python3.dir/all] Error 2 mingw32-make: *** [Makefile:162: all] Error 2 (py3cv4) D:\Python-Virtual\OpenCV-4\opencv\opencv\build> This is the error occuring. I'm stuck at 97% and trying to build the python module but it doesn't say anything either about what seems to be failing.

I get build error while building OpenCV and OpenCV_Contrib from the source on Linux

$
0
0
I'm building OpenCV on Linux with OpenCV_contrib and I can't make it work. OpenCV alone can build with no errors. > cmake -D > OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib-3.4/modules .. >> $ make j5 During make process , it fails at 100% ,😔😔😔😔😔😔😔😔 [100%] Building CXX object modules/stitching/CMakeFiles/opencv_perf_stitching.dir/perf/perf_matchers.cpp.o Scanning dependencies of target opencv_perf_tracking [100%] Building CXX object modules/tracking/CMakeFiles/opencv_perf_tracking.dir/perf/perf_main.cpp.o [100%] Building CXX object modules/tracking/CMakeFiles/opencv_perf_tracking.dir/perf/perf_Tracker.cpp.o [100%] Linking CXX executable ../../bin/opencv_test_tracking [100%] Built target opencv_test_tracking Scanning dependencies of target opencv_python2 [100%] Building CXX object modules/python2/CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o [100%] Linking CXX executable ../../bin/opencv_perf_stitching [100%] Built target opencv_perf_stitching In file included from /home/habib/Documents/Projects/Packages/opencv-3.4.3/build/modules/python_bindings_generator/pyopencv_custom_headers.h:8:0, from /home/habib/Documents/Projects/Packages/opencv-3.4.3/modules/python/src2/cv2.cpp:1816: /home/habib/Documents/Projects/Packages/opencv_contrib- 3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:4:40: error: ‘linemod’ was not declared in this scope template<> struct pyopencvVecConverter ^ /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:4:54: error: template argument 1 is invalid template<> struct pyopencvVecConverter ^ /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:17:40: error: ‘linemod’ was not declared in this scope template<> struct pyopencvVecConverter ^ /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:17:57: error: template argument 1 is invalid template<> struct pyopencvVecConverter ^ /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:30:40: error: ‘linemod’ was not declared in this scope template<> struct pyopencvVecConverter ^ /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:30:56: error: template argument 1 is invalid template<> struct pyopencvVecConverter ^ /home/habib/Documents/Projects/Packages/opencv_contrib- 3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:43:44: error: ‘linemod’ was not declared in this scope template<> struct pyopencvVecConverter> ^ /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:43:61: error: template argument 1 is invalid template<> struct pyopencvVecConverter> ^ /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:43:63: error: template argument 1 is invalid template<> struct pyopencvVecConverter> ^ /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:56:21: error: ‘linemod’ was not declared in this scope typedef std::vector vector_Match; ^ /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:56:35: error: template argument 1 is invalid typedef std::vector vector_Match; ^ /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:56:35: error: template argument 2 is invalid /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:57:21: error: ‘linemod’ was not declared in this scope typedef std::vector vector_Template; ^ /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:57:38: error: template argument 1 is invalid typedef std::vector vector_Template; ^ /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:57:38: error: template argument 2 is invalid /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:58:21: error: ‘linemod’ was not declared in this scope typedef std::vector vector_Feature; ^ /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:58:37: error: template argument 1 is invalid typedef std::vector vector_Feature; ^ /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:58:37: error: template argument 2 is invalid /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:59:25: error: ‘linemod’ was not declared in this scope typedef std::vector> vector_Ptr_Modality; ^ /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:59:42: error: template argument 1 is invalid typedef std::vector> vector_Ptr_Modality; ^ /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:59:44: error: template argument 1 is invalid typedef std::vector> vector_Ptr_Modality; ^ /home/habib/Documents/Projects/Packages/opencv_contrib-3.4/modules/rgbd/misc/python/pyopencv_linemod.hpp:59:44: error: template argument 2 is invalid [100%] Linking CXX executable ../../bin/opencv_perf_tracking [100%] Built target opencv_perf_tracking modules/python2/CMakeFiles/opencv_python2.dir/build.make:62: recipe for target 'modules/python2/CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o' failed make[2]: *** [modules/python2/CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o] Error 1 CMakeFiles/Makefile2:15272: recipe for target 'modules/python2/CMakeFiles/opencv_python2.dir/all' failed make[1]: *** [modules/python2/CMakeFiles/opencv_python2.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2

Help to build only selected modules for android

$
0
0
I am trying to build *.so files for android modules which iam looking are core,imgproc and java files. Below code works fine it generates java wrapper files which here is "libopencv_java400.so" cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_LIST=${OPEN_CV_BUILD_MODULES} -D BUILD_ANDROID_PROJECTS=OFF -D WITH_FFMPEG=OFF -D WITH_IPP=OFF -D WITH_OPENEXR=OFF -D BUILD_EXAMPLES=OFF -D BUILD_ANDROID_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=OFF -D BUILD_DOCS=OFF -D BUILD_opencv_python2=OFF -D BUILD_opencv_python3=OFF -D BUILD_SHARED_LIBS=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF .. && make -j8 But when i run to generate for arm64 it doesnt generate java files and libopencv_java400.so file cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D ANDROID=ON \ -D ANDROID_ABI="arm64-v8a" \ -D BUILD_LIST="imgproc,java" \ -D BUILD_ANDROID_PROJECTS=OFF \ -D BUILD_SHARED_LIBS=ON \ -D CMAKE_TOOLCHAIN_FILE=../platforms/android/android.toolchain.cmake \ -D ANDROID_NATIVE_API_LEVEL=19 \ -D ANDROID_FORCE_ARM_BUILD=OFF \ -D ANDROID_STL_FORCE_FEATURES=OFF \ .. &&\ make -j$NUM_CORES && \ make install Can any one share working cmake code to geneate. Thank you here is my dockerfile code https://gist.githubusercontent.com/Rajeshr34/43fc08179bcb8c787d6630e0dd926a74/raw/788c41f4699ba72ee0c31eea025d2852d2c720bd/DockerFile

conda can't find cv2 lib located at /opt/conda/python/3.6/cv2.cpython-36m-x86_64-linux-gnu.so

$
0
0
I have compiled opencv from source and used following flag to install it in anaconda lib path ``` -DCMAKE_INSTALL_PREFIX=/opt/conda -DCMAKE_BUILD_TYPE=Release (blah blah) ``` after running `make install` the opencv lib gets installed at `/opt/conda/python/3.6/cv2.cpython-36m-x86_64-linux-gnu.so` which is a bit strange as I was expecting to be installed in `/opt/conda/lib` directory. More importantly when I try to do `import cv2` inside python terminal, I get a `ModuleNotFoundError` error. OpenCV is also not showing in `conda list`. Am I missing something here? **Where should OpenCV be installed to get it imported in Ananconda ?** For completeness my `LD_LIBRARY_PATH` and `PATH` are given below: `LD_LIBRARY_PATH= /opt/conda/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64` `PATH=/opt/conda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin` PS: I am able to import OpenCV in Anaconda after doing `cp /opt/conda/python/3.6/cv2.cpython-36m-x86_64-linux-gnu.so /opt/conda/lib/python3.6/site-packages/cv2.so` but this is not a proper solution as I have to do it after each compilation. What `CMAKE_INSTALL_PREFIX` should I set to get it installed at the right place.
Viewing all 304 articles
Browse latest View live