Closed NicholasJallan closed 5 years ago
I experienced the same thing with 4.1.2 but was able to build 4.1.0 no problem.
This error message is not useful. Try to run make VERBOSE=1
.
Scanning dependencies of target opencv_objdetect_pch_dephelp [ 25%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect_pch_dephelp.dir/opencv_objdetect_pch_dephelp.cxx.o [ 25%] Linking CXX static library ../../lib/libopencv_perf_calib3d_pch_dephelp.a [ 25%] Built target opencv_perf_calib3d_pch_dephelp Scanning dependencies of target opencv_rgbd_pch_dephelp [ 25%] Linking CXX static library ../lib/liblibprotobuf.a [ 25%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd_pch_dephelp.dir/opencv_rgbd_pch_dephelp.cxx.o [ 25%] Built target libprotobuf Scanning dependencies of target opencv_shape_pch_dephelp [ 25%] Building CXX object modules/shape/CMakeFiles/opencv_shape_pch_dephelp.dir/opencv_shape_pch_dephelp.cxx.o [ 25%] Linking CXX static library ../../lib/libopencv_objdetect_pch_dephelp.a [ 25%] Built target opencv_objdetect_pch_dephelp Scanning dependencies of target opencv_structured_light_pch_dephelp [ 25%] Building CXX object modules/structured_light/CMakeFiles/opencv_structured_light_pch_dephelp.dir/opencv_structured_light_pch_dephelp.cxx.o [ 25%] Linking CXX static library ../../lib/libopencv_perf_objdetect_pch_dephelp.a [ 25%] Built target opencv_perf_objdetect_pch_dephelp Scanning dependencies of target opencv_text_pch_dephelp [ 25%] Building CXX object modules/text/CMakeFiles/opencv_text_pch_dephelp.dir/opencv_text_pch_dephelp.cxx.o [ 25%] Linking CXX static library ../../lib/libopencv_rgbd_pch_dephelp.a [ 25%] Linking CXX static library ../../lib/libopencv_shape_pch_dephelp.a [ 25%] Built target opencv_rgbd_pch_dephelp Scanning dependencies of target opencv_video_pch_dephelp [ 25%] Built target opencv_shape_pch_dephelp Scanning dependencies of target opencv_perf_video_pch_dephelp [ 25%] Linking CXX static library ../../lib/libopencv_structured_light_pch_dephelp.a [ 25%] Building CXX object modules/video/CMakeFiles/opencv_video_pch_dephelp.dir/opencv_video_pch_dephelp.cxx.o [ 25%] Building CXX object modules/video/CMakeFiles/opencv_perf_video_pch_dephelp.dir/opencv_perf_video_pch_dephelp.cxx.o [ 25%] Built target opencv_structured_light_pch_dephelp Scanning dependencies of target opencv_videostab_pch_dephelp [ 25%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab_pch_dephelp.dir/opencv_videostab_pch_dephelp.cxx.o [ 25%] Linking CXX static library ../../lib/libopencv_text_pch_dephelp.a [ 25%] Built target opencv_text_pch_dephelp Scanning dependencies of target opencv_xfeatures2d_pch_dephelp [ 25%] Building CXX object modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d_pch_dephelp.dir/opencv_xfeatures2d_pch_dephelp.cxx.o [ 25%] Linking CXX static library ../../lib/libopencv_video_pch_dephelp.a [ 25%] Built target opencv_video_pch_dephelp Scanning dependencies of target opencv_perf_xfeatures2d_pch_dephelp [ 25%] Building CXX object modules/xfeatures2d/CMakeFiles/opencv_perf_xfeatures2d_pch_dephelp.dir/opencv_perf_xfeatures2d_pch_dephelp.cxx.o [ 25%] Linking CXX static library ../../lib/libopencv_videostab_pch_dephelp.a [ 25%] Built target opencv_videostab_pch_dephelp Scanning dependencies of target opencv_ximgproc_pch_dephelp [ 25%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc_pch_dephelp.dir/opencv_ximgproc_pch_dephelp.cxx.o [ 25%] Linking CXX static library ../../lib/libopencv_perf_video_pch_dephelp.a [ 25%] Built target opencv_perf_video_pch_dephelp Scanning dependencies of target opencv_perf_ximgproc_pch_dephelp [ 25%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc_pch_dephelp.dir/opencv_perf_ximgproc_pch_dephelp.cxx.o [ 25%] Linking CXX static library ../../lib/libopencv_xfeatures2d_pch_dephelp.a [ 25%] Built target opencv_xfeatures2d_pch_dephelp Scanning dependencies of target opencv_xobjdetect_pch_dephelp [ 25%] Building CXX object modules/xobjdetect/CMakeFiles/opencv_xobjdetect_pch_dephelp.dir/opencv_xobjdetect_pch_dephelp.cxx.o [ 25%] Linking CXX static library ../../lib/libopencv_ximgproc_pch_dephelp.a [ 25%] Built target opencv_ximgproc_pch_dephelp Scanning dependencies of target opencv_aruco_pch_dephelp [ 25%] Building CXX object modules/aruco/CMakeFiles/opencv_aruco_pch_dephelp.dir/opencv_aruco_pch_dephelp.cxx.o [ 25%] Linking CXX static library ../../lib/libopencv_perf_xfeatures2d_pch_dephelp.a [ 25%] Built target opencv_perf_xfeatures2d_pch_dephelp Scanning dependencies of target opencv_bgsegm_pch_dephelp [ 25%] Building CXX object modules/bgsegm/CMakeFiles/opencv_bgsegm_pch_dephelp.dir/opencv_bgsegm_pch_dephelp.cxx.o [ 26%] Linking CXX static library ../../lib/libopencv_xobjdetect_pch_dephelp.a [ 26%] Built target opencv_xobjdetect_pch_dephelp Scanning dependencies of target opencv_bioinspired_pch_dephelp [ 26%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired_pch_dephelp.dir/opencv_bioinspired_pch_dephelp.cxx.o [ 26%] Linking CXX static library ../../lib/libopencv_perf_ximgproc_pch_dephelp.a [ 26%] Built target opencv_perf_ximgproc_pch_dephelp Scanning dependencies of target opencv_perf_bioinspired_pch_dephelp [ 26%] Building CXX object modules/bioinspired/CMakeFiles/opencv_perf_bioinspired_pch_dephelp.dir/opencv_perf_bioinspired_pch_dephelp.cxx.o [ 26%] Linking CXX static library ../../lib/libopencv_aruco_pch_dephelp.a [ 26%] Built target opencv_aruco_pch_dephelp Scanning dependencies of target opencv_ccalib_pch_dephelp [ 26%] Building CXX object modules/ccalib/CMakeFiles/opencv_ccalib_pch_dephelp.dir/opencv_ccalib_pch_dephelp.cxx.o [ 26%] Linking CXX static library ../../lib/libopencv_bgsegm_pch_dephelp.a [ 26%] Built target opencv_bgsegm_pch_dephelp Scanning dependencies of target opencv_dnn_objdetect_pch_dephelp [ 26%] Building CXX object modules/dnn_objdetect/CMakeFiles/opencv_dnn_objdetect_pch_dephelp.dir/opencv_dnn_objdetect_pch_dephelp.cxx.o [ 26%] Linking CXX static library ../../lib/libopencv_bioinspired_pch_dephelp.a [ 26%] Built target opencv_bioinspired_pch_dephelp Scanning dependencies of target opencv_dpm_pch_dephelp [ 26%] Building CXX object modules/dpm/CMakeFiles/opencv_dpm_pch_dephelp.dir/opencv_dpm_pch_dephelp.cxx.o [ 26%] Linking CXX static library ../../lib/libopencv_perf_bioinspired_pch_dephelp.a [ 26%] Built target opencv_perf_bioinspired_pch_dephelp Scanning dependencies of target opencv_face_pch_dephelp [ 26%] Building CXX object modules/face/CMakeFiles/opencv_face_pch_dephelp.dir/opencv_face_pch_dephelp.cxx.o [ 26%] Linking CXX static library ../../lib/libopencv_ccalib_pch_dephelp.a [ 26%] Built target opencv_ccalib_pch_dephelp Scanning dependencies of target opencv_optflow_pch_dephelp [ 26%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow_pch_dephelp.dir/opencv_optflow_pch_dephelp.cxx.o [ 26%] Linking CXX static library ../../lib/libopencv_dnn_objdetect_pch_dephelp.a [ 26%] Built target opencv_dnn_objdetect_pch_dephelp Scanning dependencies of target opencv_perf_optflow_pch_dephelp [ 26%] Building CXX object modules/optflow/CMakeFiles/opencv_perf_optflow_pch_dephelp.dir/opencv_perf_optflow_pch_dephelp.cxx.o [ 26%] Linking CXX static library ../../lib/libopencv_dpm_pch_dephelp.a [ 26%] Built target opencv_dpm_pch_dephelp Scanning dependencies of target opencv_stitching_pch_dephelp [ 26%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching_pch_dephelp.dir/opencv_stitching_pch_dephelp.cxx.o [ 26%] Linking CXX static library ../../lib/libopencv_face_pch_dephelp.a [ 27%] Linking CXX static library ../../lib/libopencv_optflow_pch_dephelp.a [ 27%] Built target opencv_face_pch_dephelp Scanning dependencies of target opencv_perf_stitching_pch_dephelp [ 27%] Built target opencv_optflow_pch_dephelp [ 27%] Building CXX object modules/stitching/CMakeFiles/opencv_perf_stitching_pch_dephelp.dir/opencv_perf_stitching_pch_dephelp.cxx.o Scanning dependencies of target opencv_superres_pch_dephelp [ 27%] Building CXX object modules/superres/CMakeFiles/opencv_superres_pch_dephelp.dir/opencv_superres_pch_dephelp.cxx.o [ 27%] Linking CXX static library ../../lib/libopencv_perf_optflow_pch_dephelp.a [ 27%] Built target opencv_perf_optflow_pch_dephelp Scanning dependencies of target opencv_perf_superres_pch_dephelp [ 27%] Building CXX object modules/superres/CMakeFiles/opencv_perf_superres_pch_dephelp.dir/opencv_perf_superres_pch_dephelp.cxx.o [ 27%] Linking CXX static library ../../lib/libopencv_stitching_pch_dephelp.a [ 27%] Built target opencv_stitching_pch_dephelp Scanning dependencies of target opencv_tracking_pch_dephelp [ 27%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking_pch_dephelp.dir/opencv_tracking_pch_dephelp.cxx.o [ 27%] Linking CXX static library ../../lib/libopencv_superres_pch_dephelp.a [ 27%] Built target opencv_superres_pch_dephelp Scanning dependencies of target opencv_perf_tracking_pch_dephelp [ 27%] Building CXX object modules/tracking/CMakeFiles/opencv_perf_tracking_pch_dephelp.dir/opencv_perf_tracking_pch_dephelp.cxx.o [ 27%] Linking CXX static library ../../lib/libopencv_perf_stitching_pch_dephelp.a [ 27%] Built target opencv_perf_stitching_pch_dephelp Scanning dependencies of target opencv_stereo_pch_dephelp [ 27%] Building CXX object modules/stereo/CMakeFiles/opencv_stereo_pch_dephelp.dir/opencv_stereo_pch_dephelp.cxx.o [ 27%] Linking CXX static library ../../lib/libopencv_perf_superres_pch_dephelp.a [ 27%] Linking CXX static library ../../lib/libopencv_tracking_pch_dephelp.a [ 27%] Built target opencv_perf_superres_pch_dephelp Scanning dependencies of target opencv_perf_stereo_pch_dephelp [ 27%] Built target opencv_tracking_pch_dephelp Scanning dependencies of target gen_opencv_python_source [ 27%] Building CXX object modules/stereo/CMakeFiles/opencv_perf_stereo_pch_dephelp.dir/opencv_perf_stereo_pch_dephelp.cxx.o [ 27%] Generate files for Python bindings and documentation Note: Class Feature2D has more than 1 base class (not supported by Python C extensions) Bases: cv::Algorithm, cv::class, cv::Feature2D, cv::Algorithm Only the first base class will be used [ 27%] Linking CXX static library ../../lib/libopencv_perf_tracking_pch_dephelp.a [ 27%] Built target opencv_perf_tracking_pch_dephelp Scanning dependencies of target tegra_hal [ 28%] Linking CXX static library ../../lib/libtegra_hal.a [ 28%] Built target tegra_hal Scanning dependencies of target pch_Generate_opencv_ts Note: Class detail_GraphCutSeamFinder has more than 1 base class (not supported by Python C extensions) Bases: cv::detail::GraphCutSeamFinderBase, cv::detail::SeamFinder Only the first base class will be used [ 28%] Generating precomp.hpp [ 28%] Generating precomp.hpp.gch/opencv_ts_RELEASE.gch [ 28%] Linking CXX static library ../../lib/libopencv_stereo_pch_dephelp.a [ 28%] Built target opencv_stereo_pch_dephelp [ 28%] Processing OpenCL kernels (core) Scanning dependencies of target opencv_core [ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o [ 28%] Linking CXX static library ../../lib/libopencv_perf_stereo_pch_dephelp.a [ 28%] Built target opencv_perf_stereo_pch_dephelp [ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/alloc.cpp.o [ 28%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/arithm.cpp.o [ 28%] Built target gen_opencv_python_source [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/arithm.dispatch.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/array.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/async.cpp.o [ 29%] Built target pch_Generate_opencv_ts [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/batch_distance.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/bindings_utils.cpp.o Scanning dependencies of target pch_Generate_opencv_imgproc [ 29%] Generating precomp.hpp [ 29%] Generating precomp.hpp.gch/opencv_imgproc_RELEASE.gch [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/channels.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/check.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/command_line_parser.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/conjugate_gradient.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert.dispatch.cpp.o Scanning dependencies of target pch_Generate_opencv_imgcodecs [ 29%] Built target pch_Generate_opencv_imgproc Scanning dependencies of target pch_Generate_opencv_videoio [ 29%] Generating precomp.hpp [ 29%] Generating precomp.hpp [ 29%] Generating precomp.hpp.gch/opencv_imgcodecs_RELEASE.gch [ 29%] Generating precomp.hpp.gch/opencv_videoio_RELEASE.gch [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert_c.cpp.o [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert_scale.dispatch.cpp.o Scanning dependencies of target pch_Generate_opencv_highgui [ 29%] Generating precomp.hpp [ 29%] Generating precomp.hpp.gch/opencv_highgui_RELEASE.gch [ 29%] Built target pch_Generate_opencv_videoio [ 29%] Built target pch_Generate_opencv_imgcodecs [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/copy.cpp.o Scanning dependencies of target pch_Generate_opencv_perf_core [ 29%] Generating perf_precomp.hpp [ 29%] Generating perf_precomp.hpp.gch/opencv_perf_core_RELEASE.gch [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/count_non_zero.dispatch.cpp.o [ 29%] Built target pch_Generate_opencv_highgui [ 29%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_gpu_mat.cpp.o Scanning dependencies of target pch_Generate_opencv_flann [ 30%] Generating precomp.hpp [ 30%] Generating precomp.hpp.gch/opencv_flann_RELEASE.gch Scanning dependencies of target pch_Generate_opencv_perf_imgproc [ 30%] Generating perf_precomp.hpp [ 30%] Generating perf_precomp.hpp.gch/opencv_perf_imgproc_RELEASE.gch [ 30%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_host_mem.cpp.o [ 30%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_info.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_stream.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/datastructs.cpp.o [ 31%] Built target pch_Generate_opencv_perf_core Scanning dependencies of target pch_Generate_opencv_ml [ 31%] Generating precomp.hpp [ 31%] Generating precomp.hpp.gch/opencv_ml_RELEASE.gch [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/directx.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/downhill_simplex.cpp.o [ 31%] Built target pch_Generate_opencv_flann Scanning dependencies of target pch_Generate_opencv_phase_unwrapping [ 31%] Generating precomp.hpp [ 31%] Generating precomp.hpp.gch/opencv_phase_unwrapping_RELEASE.gch [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/dxt.cpp.o [ 31%] Built target pch_Generate_opencv_perf_imgproc Scanning dependencies of target pch_Generate_opencv_photo [ 31%] Generating precomp.hpp [ 31%] Generating precomp.hpp.gch/opencv_photo_RELEASE.gch [ 31%] Built target pch_Generate_opencv_phase_unwrapping [ 31%] Built target pch_Generate_opencv_ml [ 31%] Built target pch_Generate_opencv_photo Scanning dependencies of target pch_Generate_opencv_perf_photo [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/gl_core_3_1.cpp.o Scanning dependencies of target pch_Generate_opencv_plot [ 31%] Generating perf_precomp.hpp [ 31%] Generating precomp.hpp [ 31%] Generating perf_precomp.hpp.gch/opencv_perf_photo_RELEASE.gch [ 31%] Generating precomp.hpp.gch/opencv_plot_RELEASE.gch Scanning dependencies of target pch_Generate_opencv_quality [ 31%] Generating precomp.hpp [ 31%] Generating precomp.hpp.gch/opencv_quality_RELEASE.gch [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/glob.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/hal_internal.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/kmeans.cpp.o [ 31%] Built target pch_Generate_opencv_plot [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lapack.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lda.cpp.o [ 31%] Built target pch_Generate_opencv_quality Scanning dependencies of target pch_Generate_opencv_reg [ 31%] Generating precomp.hpp [ 31%] Built target pch_Generate_opencv_perf_photo [ 31%] Generating precomp.hpp.gch/opencv_reg_RELEASE.gch Scanning dependencies of target pch_Generate_opencv_perf_reg [ 31%] Generating perf_precomp.hpp [ 31%] Generating perf_precomp.hpp.gch/opencv_perf_reg_RELEASE.gch [ 31%] Built target pch_Generate_opencv_reg Scanning dependencies of target pch_Generate_opencv_surface_matching [ 31%] Generating precomp.hpp [ 31%] Generating precomp.hpp.gch/opencv_surface_matching_RELEASE.gch [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/logger.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lpsolver.cpp.o [ 31%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lut.cpp.o Scanning dependencies of target pch_Generate_opencv_perf_xphoto [ 31%] Generating perf_precomp.hpp [ 32%] Generating perf_precomp.hpp.gch/opencv_perf_xphoto_RELEASE.gch [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mathfuncs.cpp.o [ 32%] Built target pch_Generate_opencv_surface_matching [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mathfuncs_core.dispatch.cpp.o [ 32%] Built target pch_Generate_opencv_perf_reg [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matmul.dispatch.cpp.o Scanning dependencies of target pch_Generate_opencv_dnn [ 33%] Generating precomp.hpp [ 33%] Generating precomp.hpp.gch/opencv_dnn_RELEASE.gch [ 33%] Built target pch_Generate_opencv_perf_xphoto [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix.cpp.o Scanning dependencies of target pch_Generate_opencv_perf_dnn [ 33%] Generating perf_precomp.hpp [ 33%] Generating perf_precomp.hpp.gch/opencv_perf_dnn_RELEASE.gch [ 33%] Built target pch_Generate_opencv_dnn [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_c.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_decomp.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_expressions.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_iterator.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_operations.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_sparse.cpp.o [ 33%] Built target pch_Generate_opencv_perf_dnn Scanning dependencies of target pch_Generate_opencv_features2d [ 33%] Generating precomp.hpp [ 33%] Generating precomp.hpp.gch/opencv_features2d_RELEASE.gch [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_wrap.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mean.dispatch.cpp.o [ 33%] Built target pch_Generate_opencv_features2d Scanning dependencies of target pch_Generate_opencv_perf_features2d [ 34%] Generating perf_precomp.hpp [ 34%] Generating perf_precomp.hpp.gch/opencv_perf_features2d_RELEASE.gch [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/merge.dispatch.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/minmax.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/norm.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/ocl.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_clamdblas.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_clamdfft.cpp.o Scanning dependencies of target pch_Generate_opencv_freetype [ 34%] Generating precomp.hpp [ 34%] Generating precomp.hpp.gch/opencv_freetype_RELEASE.gch [ 34%] Built target pch_Generate_opencv_perf_features2d [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_core.cpp.o [ 34%] Built target pch_Generate_opencv_freetype Scanning dependencies of target pch_Generate_opencv_fuzzy [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opengl.cpp.o [ 35%] Generating precomp.hpp [ 35%] Generating precomp.hpp.gch/opencv_fuzzy_RELEASE.gch Scanning dependencies of target pch_Generate_opencv_gapi [ 35%] Generating precomp.hpp [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/out.cpp.o [ 35%] Generating precomp.hpp.gch/opencv_gapi_RELEASE.gch [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/ovx.cpp.o Scanning dependencies of target pch_Generate_opencv_perf_gapi [ 35%] Generating perf_precomp.hpp [ 35%] Generating perf_precomp.hpp.gch/opencv_perf_gapi_RELEASE.gch [ 35%] Built target pch_Generate_opencv_fuzzy [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel.cpp.o Scanning dependencies of target pch_Generate_opencv_hfs [ 35%] Generating precomp.hpp [ 35%] Generating precomp.hpp.gch/opencv_hfs_RELEASE.gch [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel_impl.cpp.o [ 35%] Built target pch_Generate_opencv_gapi Scanning dependencies of target pch_Generate_opencv_img_hash [ 35%] Generating precomp.hpp [ 35%] Generating precomp.hpp.gch/opencv_img_hash_RELEASE.gch [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/pca.cpp.o [ 35%] Built target pch_Generate_opencv_hfs Scanning dependencies of target pch_Generate_opencv_perf_imgcodecs [ 35%] Generating perf_precomp.hpp [ 35%] Generating perf_precomp.hpp.gch/opencv_perf_imgcodecs_RELEASE.gch [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence.cpp.o [ 35%] Built target pch_Generate_opencv_img_hash [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_json.cpp.o [ 35%] Built target pch_Generate_opencv_perf_gapi Scanning dependencies of target pch_Generate_opencv_line_descriptor [ 35%] Generating precomp.hpp [ 35%] Built target pch_Generate_opencv_perf_imgcodecs [ 36%] Generating precomp.hpp.gch/opencv_line_descriptor_RELEASE.gch [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_types.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_xml.cpp.o Scanning dependencies of target pch_Generate_opencv_perf_line_descriptor [ 36%] Generating perf_precomp.hpp [ 36%] Generating perf_precomp.hpp.gch/opencv_perf_line_descriptor_RELEASE.gch [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_yml.cpp.o [ 36%] Built target pch_Generate_opencv_line_descriptor [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/rand.cpp.o Scanning dependencies of target pch_Generate_opencv_saliency [ 36%] Generating precomp.hpp [ 36%] Generating precomp.hpp.gch/opencv_saliency_RELEASE.gch [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/softfloat.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/split.dispatch.cpp.o [ 36%] Built target pch_Generate_opencv_perf_line_descriptor Scanning dependencies of target pch_Generate_opencv_perf_videoio [ 36%] Generating perf_precomp.hpp [ 36%] Built target pch_Generate_opencv_saliency [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat.dispatch.cpp.o Scanning dependencies of target pch_Generate_opencv_calib3d [ 36%] Generating perf_precomp.hpp.gch/opencv_perf_videoio_RELEASE.gch [ 37%] Generating precomp.hpp [ 37%] Generating precomp.hpp.gch/opencv_calib3d_RELEASE.gch [ 37%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat_c.cpp.o [ 37%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stl.cpp.o [ 38%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/sum.dispatch.cpp.o [ 38%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o [ 38%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/tables.cpp.o [ 38%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/trace.cpp.o [ 38%] Built target pch_Generate_opencv_calib3d Scanning dependencies of target pch_Generate_opencv_perf_calib3d [ 38%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/types.cpp.o [ 38%] Generating perf_precomp.hpp [ 38%] Generating perf_precomp.hpp.gch/opencv_perf_calib3d_RELEASE.gch [ 38%] Built target pch_Generate_opencv_perf_videoio [ 38%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/umatrix.cpp.o Scanning dependencies of target pch_Generate_opencv_objdetect [ 38%] Generating precomp.hpp [ 38%] Generating precomp.hpp.gch/opencv_objdetect_RELEASE.gch [ 38%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/datafile.cpp.o Scanning dependencies of target pch_Generate_opencv_perf_objdetect [ 38%] Generating perf_precomp.hpp [ 38%] Generating perf_precomp.hpp.gch/opencv_perf_objdetect_RELEASE.gch [ 38%] Built target pch_Generate_opencv_objdetect Scanning dependencies of target pch_Generate_opencv_rgbd [ 38%] Built target pch_Generate_opencv_perf_calib3d [ 38%] Generating precomp.hpp Scanning dependencies of target pch_Generate_opencv_shape [ 38%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/filesystem.cpp.o [ 39%] Generating precomp.hpp [ 39%] Generating precomp.hpp.gch/opencv_rgbd_RELEASE.gch [ 39%] Generating precomp.hpp.gch/opencv_shape_RELEASE.gch [ 39%] Built target pch_Generate_opencv_perf_objdetect [ 39%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/logtagconfigparser.cpp.o Scanning dependencies of target pch_Generate_opencv_structured_light [ 39%] Generating precomp.hpp [ 39%] Generating precomp.hpp.gch/opencv_structured_light_RELEASE.gch [ 39%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/logtagmanager.cpp.o [ 39%] Built target pch_Generate_opencv_shape Scanning dependencies of target pch_Generate_opencv_text [ 39%] Generating precomp.hpp [ 39%] Built target pch_Generate_opencv_rgbd [ 39%] Generating precomp.hpp.gch/opencv_text_RELEASE.gch Scanning dependencies of target pch_Generate_opencv_video [ 39%] Generating precomp.hpp [ 40%] Generating precomp.hpp.gch/opencv_video_RELEASE.gch [ 40%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/samples.cpp.o [ 40%] Built target pch_Generate_opencv_structured_light Scanning dependencies of target pch_Generate_opencv_perf_video [ 40%] Generating perf_precomp.hpp [ 40%] Generating perf_precomp.hpp.gch/opencv_perf_video_RELEASE.gch [ 40%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/va_intel.cpp.o [ 40%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/opencl_kernels_core.cpp.o [ 40%] Linking CXX shared library ../../lib/libopencv_core.so [ 40%] Built target opencv_core Scanning dependencies of target pch_Generate_opencv_videostab [ 40%] Built target pch_Generate_opencv_text [ 40%] Built target pch_Generate_opencv_video Scanning dependencies of target pch_Generate_opencv_xfeatures2d [ 40%] Generating precomp.hpp [ 40%] Generating precomp.hpp Scanning dependencies of target pch_Generate_opencv_perf_xfeatures2d [ 40%] Generating perf_precomp.hpp [ 40%] Generating precomp.hpp.gch/opencv_xfeatures2d_RELEASE.gch [ 40%] Generating precomp.hpp.gch/opencv_videostab_RELEASE.gch [ 40%] Generating perf_precomp.hpp.gch/opencv_perf_xfeatures2d_RELEASE.gch [ 40%] Built target pch_Generate_opencv_perf_video Scanning dependencies of target pch_Generate_opencv_ximgproc [ 40%] Generating precomp.hpp [ 40%] Generating precomp.hpp.gch/opencv_ximgproc_RELEASE.gch [ 40%] Built target pch_Generate_opencv_xfeatures2d [ 40%] Built target pch_Generate_opencv_ximgproc [ 40%] Built target pch_Generate_opencv_videostab [ 40%] Built target pch_Generate_opencv_perf_xfeatures2d Scanning dependencies of target pch_Generate_opencv_perf_ximgproc Scanning dependencies of target pch_Generate_opencv_aruco Scanning dependencies of target pch_Generate_opencv_xobjdetect Scanning dependencies of target pch_Generate_opencv_bgsegm [ 40%] Generating perf_precomp.hpp [ 40%] Generating precomp.hpp [ 40%] Generating precomp.hpp [ 40%] Generating precomp.hpp [ 40%] Generating perf_precomp.hpp.gch/opencv_perf_ximgproc_RELEASE.gch [ 40%] Generating precomp.hpp.gch/opencv_xobjdetect_RELEASE.gch [ 40%] Generating precomp.hpp.gch/opencv_aruco_RELEASE.gch [ 40%] Generating precomp.hpp.gch/opencv_bgsegm_RELEASE.gch [ 40%] Built target pch_Generate_opencv_xobjdetect [ 40%] Built target pch_Generate_opencv_aruco [ 40%] Built target pch_Generate_opencv_bgsegm Scanning dependencies of target pch_Generate_opencv_bioinspired Scanning dependencies of target pch_Generate_opencv_ccalib Scanning dependencies of target pch_Generate_opencv_perf_bioinspired [ 40%] Built target pch_Generate_opencv_perf_ximgproc [ 40%] Generating precomp.hpp [ 40%] Generating perf_precomp.hpp [ 40%] Generating precomp.hpp Scanning dependencies of target pch_Generate_opencv_dnn_objdetect [ 40%] Generating perf_precomp.hpp.gch/opencv_perf_bioinspired_RELEASE.gch [ 40%] Generating precomp.hpp [ 40%] Generating precomp.hpp.gch/opencv_bioinspired_RELEASE.gch [ 40%] Generating precomp.hpp.gch/opencv_ccalib_RELEASE.gch [ 40%] Generating precomp.hpp.gch/opencv_dnn_objdetect_RELEASE.gch [ 40%] Built target pch_Generate_opencv_dnn_objdetect [ 40%] Built target pch_Generate_opencv_ccalib [ 40%] Built target pch_Generate_opencv_bioinspired Scanning dependencies of target pch_Generate_opencv_face Scanning dependencies of target pch_Generate_opencv_dpm Scanning dependencies of target pch_Generate_opencv_optflow [ 40%] Generating precomp.hpp [ 40%] Generating precomp.hpp [ 40%] Generating precomp.hpp [ 40%] Generating precomp.hpp.gch/opencv_dpm_RELEASE.gch [ 40%] Generating precomp.hpp.gch/opencv_optflow_RELEASE.gch [ 40%] Generating precomp.hpp.gch/opencv_face_RELEASE.gch [ 40%] Built target pch_Generate_opencv_perf_bioinspired Scanning dependencies of target pch_Generate_opencv_perf_optflow [ 40%] Generating perf_precomp.hpp [ 40%] Generating perf_precomp.hpp.gch/opencv_perf_optflow_RELEASE.gch [ 40%] Built target pch_Generate_opencv_face [ 40%] Built target pch_Generate_opencv_dpm [ 40%] Built target pch_Generate_opencv_optflow [ 40%] Built target pch_Generate_opencv_perf_optflow Scanning dependencies of target pch_Generate_opencv_perf_stitching Scanning dependencies of target pch_Generate_opencv_superres Scanning dependencies of target pch_Generate_opencv_stitching Scanning dependencies of target pch_Generate_opencv_perf_superres [ 40%] Generating precomp.hpp [ 40%] Generating perf_precomp.hpp [ 40%] Generating precomp.hpp [ 40%] Generating perf_precomp.hpp [ 40%] Generating perf_precomp.hpp.gch/opencv_perf_stitching_RELEASE.gch [ 40%] Generating precomp.hpp.gch/opencv_stitching_RELEASE.gch [ 40%] Generating precomp.hpp.gch/opencv_superres_RELEASE.gch [ 40%] Generating perf_precomp.hpp.gch/opencv_perf_superres_RELEASE.gch [ 40%] Built target pch_Generate_opencv_superres Scanning dependencies of target pch_Generate_opencv_perf_tracking [ 40%] Generating perf_precomp.hpp [ 40%] Generating perf_precomp.hpp.gch/opencv_perf_tracking_RELEASE.gch [ 40%] Built target pch_Generate_opencv_stitching [ 40%] Built target pch_Generate_opencv_perf_superres Scanning dependencies of target pch_Generate_opencv_tracking [ 40%] Generating precomp.hpp Scanning dependencies of target pch_Generate_opencv_stereo [ 40%] Generating precomp.hpp.gch/opencv_tracking_RELEASE.gch [ 40%] Built target pch_Generate_opencv_perf_stitching [ 40%] Generating precomp.hpp Scanning dependencies of target pch_Generate_opencv_perf_stereo [ 40%] Generating perf_precomp.hpp [ 40%] Generating precomp.hpp.gch/opencv_stereo_RELEASE.gch [ 41%] Generating perf_precomp.hpp.gch/opencv_perf_stereo_RELEASE.gch [ 41%] Built target pch_Generate_opencv_stereo Scanning dependencies of target opencv_version [ 41%] Built target pch_Generate_opencv_tracking [ 41%] Built target pch_Generate_opencv_perf_tracking [ 41%] Built target pch_Generate_opencv_perf_stereo [ 41%] Processing OpenCL kernels (imgproc) Scanning dependencies of target opencv_flann [ 41%] Building CXX object apps/version/CMakeFiles/opencv_version.dir/opencv_version.cpp.o Scanning dependencies of target opencv_ml [ 41%] Building CXX object modules/flann/CMakeFiles/opencv_flann.dir/src/flann.cpp.o [ 41%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/ann_mlp.cpp.o Scanning dependencies of target opencv_imgproc [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/accum.cpp.o [ 41%] Linking CXX executable ../../bin/opencv_version [ 41%] Building CXX object modules/flann/CMakeFiles/opencv_flann.dir/src/miniflann.cpp.o /usr/bin/ld: ../../lib/libopencv_core.so.4.1.1: undefined reference to
atomic_compare_exchange_8'
/usr/bin/ld: ../../lib/libopencv_core.so.4.1.1: undefined reference to `atomic_fetch_sub_8'
/usr/bin/ld: ../../lib/libopencv_core.so.4.1.1: undefined reference to __atomic_load_8' /usr/bin/ld: ../../lib/libopencv_core.so.4.1.1: undefined reference to
atomic_store_8'
/usr/bin/ld: ../../lib/libopencv_core.so.4.1.1: undefined reference to `atomic_fetch_add_8'
collect2: error: ld returned 1 exit status
make[2]: [apps/version/CMakeFiles/opencv_version.dir/build.make:85: bin/opencv_version] Error 1
make[1]: [CMakeFiles/Makefile2:12108: apps/version/CMakeFiles/opencv_version.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/accum.dispatch.cpp.o
[ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/approx.cpp.o
[ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/bilateral_filter.dispatch.cpp.o
[ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/blend.cpp.o
[ 42%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/boost.cpp.o
[ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/box_filter.dispatch.cpp.o
[ 42%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/data.cpp.o
In file included from /usr/include/c++/8/vector:69,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/build/modules/flann/precomp.hpp:8:
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator~~~~~~
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {double}; _Tp = double; _Alloc = std::allocator~~~~
In file included from /usr/include/c++/8/vector:64,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/build/modules/flann/precomp.hpp:8:
/usr/include/c++/8/bits/stl_vector.h: In member function ‘void cv::flann::IndexParams::getAll(std::vector<std::cxx11::basic_string~~~~
[ 42%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/em.cpp.o
[ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/canny.cpp.o
[ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/clahe.cpp.o
[ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color.cpp.o
[ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_hsv.dispatch.cpp.o
[ 42%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/gbt.cpp.o
[ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_lab.cpp.o
[ 42%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/inner_functions.cpp.o
[ 42%] Linking CXX shared library ../../lib/libopencv_flann.so
[ 42%] Built target opencv_flann
[ 42%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/kdtree.cpp.o
[ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_rgb.dispatch.cpp.o
[ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_yuv.dispatch.cpp.o
[ 42%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/knearest.cpp.o
[ 42%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/lr.cpp.o
[ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/colormap.cpp.o
[ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/connectedcomponents.cpp.o
[ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/contours.cpp.o
[ 42%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/nbayes.cpp.o
In file included from /usr/include/c++/8/vector:69,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/modules/imgproc/include/opencv2/imgproc.hpp:46,
from /home/pi/opencv/build/modules/imgproc/precomp.hpp:46:
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = cv::connectedcomponents::Point2ui64; _Alloc = std::allocator~~~~~~
In file included from /usr/include/c++/8/vector:64,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/modules/imgproc/include/opencv2/imgproc.hpp:46,
from /home/pi/opencv/build/modules/imgproc/precomp.hpp:46:
/usr/include/c++/8/bits/stl_vector.h: In member function ‘void cv::connectedcomponents::CCStatsOp::init(int)’:
/usr/include/c++/8/bits/stl_vector.h:847:4: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<cv::connectedcomponents::Point2ui64*, std::vector~~~~~
/usr/include/c++/8/bits/stl_vector.h: In member function ‘void cv::connectedcomponents::CCStatsOp::initElement(int)’:
/usr/include/c++/8/bits/stl_vector.h:847:4: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<cv::connectedcomponents::Point2ui64*, std::vector~~~~~
[ 43%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/rtrees.cpp.o
[ 43%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/svm.cpp.o
/usr/include/c++/8/bits/stl_vector.h: In member function ‘void cv::connectedcomponents::LabelingWuParallel<LabelT, PixelT, StatsOp>::SecondScan::operator()(const cv::Range&) const [with LabelT = int; PixelT = unsigned char; StatsOp = cv::connectedcomponents::CCStatsOp]’:
/usr/include/c++/8/bits/stl_vector.h:847:4: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<cv::connectedcomponents::Point2ui64*, std::vector~~~~~
[ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/convhull.cpp.o
[ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/corner.cpp.o
[ 43%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/svmsgd.cpp.o
In file included from /usr/include/c++/8/vector:69,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/build/modules/ml/precomp.hpp:44:
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const cv::ml::SVMImpl::DecisionFunc&}; _Tp = cv::ml::SVMImpl::DecisionFunc; _Alloc = std::allocator~~~~~~
[ 43%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/testset.cpp.o
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const cv::ml::SvmParams&}; _Tp = cv::ml::SvmParams; _Alloc = std::allocator~~~~
In file included from /usr/include/c++/8/vector:64,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/build/modules/ml/precomp.hpp:44:
/usr/include/c++/8/bits/stl_vector.h: In member function ‘virtual void cv::ml::SVMImpl::read(const cv::FileNode&)’:
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<cv::ml::SVMImpl::DecisionFunc~~~~
In file included from /usr/include/c++/8/bits/stl_algo.h:61,
from /usr/include/c++/8/algorithm:62,
from /home/pi/opencv/modules/core/include/opencv2/core/base.hpp:55,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:54,
from /home/pi/opencv/build/modules/ml/precomp.hpp:44:
/usr/include/c++/8/bits/stl_heap.h: In function ‘void std::adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = gnu_cxx::normal_iterator<cv::ml::PairDI*, std::vector~~~~
In file included from /usr/include/c++/8/algorithm:62,
from /home/pi/opencv/modules/core/include/opencv2/core/base.hpp:55,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:54,
from /home/pi/opencv/build/modules/ml/precomp.hpp:44:
/usr/include/c++/8/bits/stl_algo.h: In function ‘void std::insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gnu_cxx::normal_iterator<cv::ml::PairDI*, std::vector~~~
/usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<cv::ml::PairDI, std::vector~~~
/usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<cv::ml::PairDI, std::vector
In file included from /usr/include/c++/8/vector:69,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/build/modules/ml/precomp.hpp:44:
/usr/include/c++/8/bits/vector.tcc: In member function ‘bool cv::ml::SVMImpl::do_train(const cv::Mat&, const cv::Mat&)’:
/usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::ml::SVMImpl::DecisionFunc*, std::vector<cv::ml::SVMImpl::DecisionFunc> >’ changed in GCC 7.1
_M_realloc_insert(end(), std::forward<_Args>(__args)...);
^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/vector:64,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/build/modules/ml/precomp.hpp:44:
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::ml::SVMImpl::DecisionFunc*, std::vector<cv::ml::SVMImpl::DecisionFunc> >’ changed in GCC 7.1
_M_realloc_insert(end(), __x);
^~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h: In function ‘void cv::ml::createConcentricSpheresTestSet(int, int, int, cv::OutputArray, cv::OutputArray)’:
/usr/include/c++/8/bits/stl_algo.h:1968:25: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::ml::PairDI*, std::vector<cv::ml::PairDI> >’ changed in GCC 7.1
std::__introsort_loop(__first, __last,
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
std::__lg(__last - __first) * 2,
__comp);
~~~~~~~
/usr/include/c++/8/bits/stl_algo.h:1885:25: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<cv::ml::PairDI*, std::vector
/usr/include/c++/8/bits/stl_algo.h:1890:23: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::ml::PairDI*, std::vector<cv::ml::PairDI> >’ changed in GCC 7.1
std::__insertion_sort(__first, __last, __comp);
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
[ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/cornersubpix.cpp.o
[ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/demosaicing.cpp.o
[ 43%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/tree.cpp.o
[ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/deriv.cpp.o
/usr/include/c++/8/bits/stl_vector.h: In member function ‘virtual bool cv::ml::SVMImpl::trainAuto(const cv::Ptr<cv::ml::TrainData>&, int, cv::ml::ParamGrid, cv::ml::ParamGrid, cv::ml::ParamGrid, cv::ml::ParamGrid, cv::ml::ParamGrid, cv::ml::ParamGrid, bool)’:
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::ml::SvmParams*, std::vector<cv::ml::SvmParams> >’ changed in GCC 7.1
_M_realloc_insert(end(), __x);
^~~~~~~~~~~~~~~~~
[ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/distransform.cpp.o
[ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/drawing.cpp.o
[ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/emd.cpp.o
In file included from /usr/include/c++/8/algorithm:62,
from /home/pi/opencv/modules/core/include/opencv2/core/base.hpp:55,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:54,
from /home/pi/opencv/modules/imgproc/include/opencv2/imgproc.hpp:46,
from /home/pi/opencv/build/modules/imgproc/precomp.hpp:46:
/usr/include/c++/8/bits/stl_algo.h: In function ‘void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<cv::PolyEdge*, std::vector<cv::PolyEdge> >; _Compare = __gnu_cxx::__ops::_Val_comp_iter<cv::CmpEdges>]’:
/usr/include/c++/8/bits/stl_algo.h:1821:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::PolyEdge*, std::vector<cv::PolyEdge> >’ changed in GCC 7.1
__unguarded_linear_insert(_RandomAccessIterator __last,
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h: In function ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<cv::PolyEdge*, std::vector<cv::PolyEdge> >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<cv::CmpEdges>]’:
/usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::PolyEdge*, std::vector<cv::PolyEdge> >’ changed in GCC 7.1
__insertion_sort(_RandomAccessIterator __first,
^~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::PolyEdge*, std::vector<cv::PolyEdge> >’ changed in GCC 7.1
In file included from /usr/include/c++/8/bits/stl_algo.h:61,
from /usr/include/c++/8/algorithm:62,
from /home/pi/opencv/modules/core/include/opencv2/core/base.hpp:55,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:54,
from /home/pi/opencv/modules/imgproc/include/opencv2/imgproc.hpp:46,
from /home/pi/opencv/build/modules/imgproc/precomp.hpp:46:
/usr/include/c++/8/bits/stl_heap.h: In function ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<cv::PolyEdge*, std::vector<cv::PolyEdge> >; _Distance = int; _Tp = cv::PolyEdge; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<cv::CmpEdges>]’:
/usr/include/c++/8/bits/stl_heap.h:214:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::PolyEdge*, std::vector<cv::PolyEdge> >’ changed in GCC 7.1
__adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,
^~~~~~~~~~~~~
[ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/featureselect.cpp.o
In file included from /usr/include/c++/8/vector:69,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/build/modules/ml/precomp.hpp:44:
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const cv::ml::DTrees::Node&}; _Tp = cv::ml::DTrees::Node; _Alloc = std::allocator<cv::ml::DTrees::Node>]’:
/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<cv::ml::DTrees::Node>::iterator’ {aka ‘__gnu_cxx::__normal_iterator<cv::ml::DTrees::Node*, std::vector<cv::ml::DTrees::Node> >’} changed in GCC 7.1
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/vector:64,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/build/modules/ml/precomp.hpp:44:
/usr/include/c++/8/bits/stl_vector.h: In member function ‘virtual int cv::ml::DTreesImpl::readNode(const cv::FileNode&)’:
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::ml::DTrees::Node*, std::vector<cv::ml::DTrees::Node> >’ changed in GCC 7.1
_M_realloc_insert(end(), __x);
^~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_vector.h: In member function ‘virtual int cv::ml::DTreesImpl::addTree(const std::vector<int>&)’:
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::ml::DTrees::Node*, std::vector<cv::ml::DTrees::Node> >’ changed in GCC 7.1
_M_realloc_insert(end(), __x);
^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/vector:69,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/build/modules/ml/precomp.hpp:44:
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {cv::ml::DTreesImpl::WNode}; _Tp = cv::ml::DTreesImpl::WNode; _Alloc = std::allocator<cv::ml::DTreesImpl::WNode>]’:
/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<cv::ml::DTreesImpl::WNode>::iterator’ {aka ‘__gnu_cxx::__normal_iterator<cv::ml::DTreesImpl::WNode*, std::vector<cv::ml::DTreesImpl::WNode> >’} changed in GCC 7.1
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
[ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/filter.dispatch.cpp.o
/usr/include/c++/8/bits/vector.tcc: In member function ‘virtual int cv::ml::DTreesImpl::addNodeAndTrySplit(int, const std::vector<int>&)’:
/usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::ml::DTreesImpl::WNode*, std::vector<cv::ml::DTreesImpl::WNode> >’ changed in GCC 7.1
_M_realloc_insert(end(), std::forward<_Args>(__args)...);
^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/vector:69,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/modules/imgproc/include/opencv2/imgproc.hpp:46,
from /home/pi/opencv/build/modules/imgproc/precomp.hpp:46:
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const cv::Point_<long long int>&}; _Tp = cv::Point_<long long int>; _Alloc = std::allocator<cv::Point_<long long int> >]’:
/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<cv::Point_<long long int> >::iterator’ {aka ‘__gnu_cxx::__normal_iterator<cv::Point_<long long int>*, std::vector<cv::Point_<long long int> > >’} changed in GCC 7.1
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const cv::PolyEdge&}; _Tp = cv::PolyEdge; _Alloc = std::allocator<cv::PolyEdge>]’:
/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<cv::PolyEdge>::iterator’ {aka ‘__gnu_cxx::__normal_iterator<cv::PolyEdge*, std::vector<cv::PolyEdge> >’} changed in GCC 7.1
In file included from /usr/include/c++/8/vector:64,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/modules/imgproc/include/opencv2/imgproc.hpp:46,
from /home/pi/opencv/build/modules/imgproc/precomp.hpp:46:
/usr/include/c++/8/bits/stl_vector.h: In function ‘void cv::CollectPolyEdges(cv::Mat&, const Point2l*, int, std::vector<cv::PolyEdge>&, const void*, int, int, cv::Point)’:
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::PolyEdge*, std::vector<cv::PolyEdge> >’ changed in GCC 7.1
_M_realloc_insert(end(), __x);
^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/algorithm:62,
from /home/pi/opencv/modules/core/include/opencv2/core/base.hpp:55,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:54,
from /home/pi/opencv/modules/imgproc/include/opencv2/imgproc.hpp:46,
from /home/pi/opencv/build/modules/imgproc/precomp.hpp:46:
/usr/include/c++/8/bits/stl_algo.h: In function ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<cv::PolyEdge*, std::vector<cv::PolyEdge> >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<cv::CmpEdges>]’:
/usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::PolyEdge*, std::vector<cv::PolyEdge> >’ changed in GCC 7.1
__introsort_loop(_RandomAccessIterator __first,
^~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::PolyEdge*, std::vector<cv::PolyEdge> >’ changed in GCC 7.1
/usr/include/c++/8/bits/stl_algo.h:1954:25: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::PolyEdge*, std::vector<cv::PolyEdge> >’ changed in GCC 7.1
std::__introsort_loop(__cut, __last, __depth_limit, __comp);
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h: In function ‘void cv::FillEdgeCollection(cv::Mat&, std::vector<cv::PolyEdge>&, const void*)’:
/usr/include/c++/8/bits/stl_algo.h:1968:25: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::PolyEdge*, std::vector<cv::PolyEdge> >’ changed in GCC 7.1
std::__introsort_loop(__first, __last,
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
std::__lg(__last - __first) * 2,
__comp);
~~~~~~~
/usr/include/c++/8/bits/stl_algo.h:1885:25: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<cv::PolyEdge*, std::vector
/usr/include/c++/8/bits/stl_algo.h:1890:23: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::PolyEdge*, std::vector<cv::PolyEdge> >’ changed in GCC 7.1
std::__insertion_sort(__first, __last, __comp);
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/vector:64,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/modules/imgproc/include/opencv2/imgproc.hpp:46,
from /home/pi/opencv/build/modules/imgproc/precomp.hpp:46:
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::PolyEdge*, std::vector<cv::PolyEdge> >’ changed in GCC 7.1
_M_realloc_insert(end(), __x);
^~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_vector.h: In function ‘void cv::EllipseEx(cv::Mat&, cv::Point2l, cv::Size2l, int, int, int, const void*, int, int)’:
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::Point_<long long int>*, std::vector<cv::Point_<long long int> > >’ changed in GCC 7.1
_M_realloc_insert(end(), __x);
^~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::Point_<long long int>*, std::vector<cv::Point_<long long int> > >’ changed in GCC 7.1
_M_realloc_insert(end(), __x);
^~~~~~~~~~~~~~~~~
[ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/floodfill.cpp.o
[ 44%] Linking CXX shared library ../../lib/libopencv_ml.so
[ 44%] Built target opencv_ml
[ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/gabor.cpp.o
[ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/generalized_hough.cpp.o
[ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/geometry.cpp.o
In file included from /home/pi/opencv/build/custom_hal.hpp:5,
from /home/pi/opencv/modules/imgproc/src/hal_replacement.hpp:783,
from /home/pi/opencv/build/modules/imgproc/precomp.hpp:54:
/home/pi/opencv/build/carotene/tegra_hal.hpp: In function ‘int TEGRA_FILTERINIT(cvhalFilter2D**, uchar*, size_t, int, int, int, int, int, int, int, int, double, int, int, bool, bool)’:
/home/pi/opencv/build/carotene/tegra_hal.hpp:1129:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
}
^
/home/pi/opencv/build/carotene/tegra_hal.hpp:1130:5: note: here
default:
^~~~~~~
/home/pi/opencv/build/carotene/tegra_hal.hpp: In function ‘int TEGRA_SEPFILTERINIT(cvhalFilter2D**, int, int, int, uchar*, int, uchar*, int, int, int, double, int)’:
/home/pi/opencv/build/carotene/tegra_hal.hpp:1245:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
ctx->kernely_data[2]=((int16_t*)kernely_data)[2];
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/opencv/build/carotene/tegra_hal.hpp:1246:5: note: here
default:
^~~~~~~
[ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/grabcut.cpp.o
In file included from /usr/include/c++/8/vector:69,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/modules/imgproc/include/opencv2/imgproc.hpp:46,
from /home/pi/opencv/build/modules/imgproc/precomp.hpp:46:
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const cv::detail::GCGraph<double>::Vtx&}; _Tp = cv::detail::GCGraph<double>::Vtx; _Alloc = std::allocator<cv::detail::GCGraph<double>::Vtx>]’:
/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<cv::detail::GCGraph<double>::Vtx, std::allocator<cv::detail::GCGraph<double>::Vtx> >::iterator’ {aka ‘__gnu_cxx::__normal_iterator<cv::detail::GCGraph<double>::Vtx*, std::vector<cv::detail::GCGraph<double>::Vtx, std::allocator<cv::detail::GCGraph<double>::Vtx> > >’} changed in GCC 7.1
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const cv::detail::GCGraph<double>::Edge&}; _Tp = cv::detail::GCGraph<double>::Edge; _Alloc = std::allocator<cv::detail::GCGraph<double>::Edge>]’:
/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<cv::detail::GCGraph<double>::Edge, std::allocator<cv::detail::GCGraph<double>::Edge> >::iterator’ {aka ‘__gnu_cxx::__normal_iterator<cv::detail::GCGraph<double>::Edge*, std::vector<cv::detail::GCGraph<double>::Edge, std::allocator<cv::detail::GCGraph<double>::Edge> > >’} changed in GCC 7.1
In file included from /usr/include/c++/8/vector:64,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/modules/imgproc/include/opencv2/imgproc.hpp:46,
from /home/pi/opencv/build/modules/imgproc/precomp.hpp:46:
/usr/include/c++/8/bits/stl_vector.h: In member function ‘void cv::detail::GCGraph<TWeight>::addEdges(int, int, TWeight, TWeight) [with TWeight = double]’:
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::detail::GCGraph<double>::Edge*, std::vector<cv::detail::GCGraph<double>::Edge, std::allocator<cv::detail::GCGraph<double>::Edge> > >’ changed in GCC 7.1
_M_realloc_insert(end(), __x);
^~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::detail::GCGraph<double>::Edge*, std::vector<cv::detail::GCGraph<double>::Edge, std::allocator<cv::detail::GCGraph<double>::Edge> > >’ changed in GCC 7.1
_M_realloc_insert(end(), __x);
^~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_vector.h: In function ‘void cv::grabCut(cv::InputArray, cv::InputOutputArray, cv::Rect, cv::InputOutputArray, cv::InputOutputArray, int, int)’:
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::detail::GCGraph<double>::Vtx*, std::vector<cv::detail::GCGraph<double>::Vtx, std::allocator<cv::detail::GCGraph<double>::Vtx> > >’ changed in GCC 7.1
_M_realloc_insert(end(), __x);
^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/vector:69,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/modules/imgproc/include/opencv2/imgproc.hpp:46,
from /home/pi/opencv/build/modules/imgproc/precomp.hpp:46:
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {std::pair<double, int>}; _Tp = std::pair<double, int>; _Alloc = std::allocator<std::pair<double, int> >]’:
/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<std::pair<double, int> >::iterator’ {aka ‘__gnu_cxx::__normal_iterator<std::pair<double, int>*, std::vector<std::pair<double, int> > >’} changed in GCC 7.1
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/vector.tcc: In member function ‘void {anonymous}::GeneralizedHoughGuilImpl::calcScale(double)’:
/usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<std::pair<double, int>*, std::vector<std::pair<double, int> > >’ changed in GCC 7.1
_M_realloc_insert(end(), std::forward<_Args>(__args)...);
^~~~~~~~~~~~~~~~~
[ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/hershey_fonts.cpp.o
/usr/include/c++/8/bits/vector.tcc: In member function ‘void {anonymous}::GeneralizedHoughGuilImpl::calcOrientation()’:
/usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<std::pair<double, int>*, std::vector<std::pair<double, int> > >’ changed in GCC 7.1
_M_realloc_insert(end(), std::forward<_Args>(__args)...);
^~~~~~~~~~~~~~~~~
[ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/histogram.cpp.o
[ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/hough.cpp.o
[ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.cpp.o
In file included from /usr/include/c++/8/vector:69,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/modules/imgproc/include/opencv2/imgproc.hpp:46,
from /home/pi/opencv/build/modules/imgproc/precomp.hpp:46:
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {cv::Vec<double, 3>}; _Tp = cv::Vec<double, 3>; _Alloc = std::allocator<cv::Vec<double, 3> >]’:
/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<cv::Vec<double, 3> >::iterator’ {aka ‘__gnu_cxx::__normal_iterator<cv::Vec<double, 3>*, std::vector<cv::Vec<double, 3> > >’} changed in GCC 7.1
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/vector.tcc: In function ‘void cv::HoughLinesPointSet(cv::InputArray, cv::OutputArray, int, int, double, double, double, double, double, double)’:
/usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<cv::Vec<double, 3>*, std::vector<cv::Vec<double, 3> > >’ changed in GCC 7.1
_M_realloc_insert(end(), std::forward<_Args>(__args)...);
^~~~~~~~~~~~~~~~~
[ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/intersection.cpp.o
[ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/linefit.cpp.o
[ 45%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/lsd.cpp.o
[ 45%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/main.cpp.o
[ 45%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/matchcontours.cpp.o
[ 45%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/median_blur.dispatch.cpp.o
[ 45%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/min_enclosing_triangle.cpp.o
In file included from /usr/include/c++/8/vector:69,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/modules/imgproc/include/opencv2/imgproc.hpp:46,
from /home/pi/opencv/build/modules/imgproc/precomp.hpp:46:
/usr/include/c++/8/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator<double>]’:
/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type ‘std::vector<double, std::allocator<double> >::iterator’ {aka ‘__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator<double> > >’} changed in GCC 7.1
vector<_Tp, _Alloc>::
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/vector:64,
from /home/pi/opencv/modules/core/include/opencv2/core/types.hpp:53,
from /home/pi/opencv/modules/core/include/opencv2/core.hpp:58,
from /home/pi/opencv/modules/imgproc/include/opencv2/imgproc.hpp:46,
from /home/pi/opencv/build/modules/imgproc/precomp.hpp:46:
/usr/include/c++/8/bits/stl_vector.h: In function ‘std::vector<double, std::allocator<double> > minEnclosingTriangle::lineEquationParameters(const Point2f&, const Point2f&)’:
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator<double> > >’ changed in GCC 7.1
_M_realloc_insert(end(), __x);
^~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator<double> > >’ changed in GCC 7.1
_M_realloc_insert(end(), __x);
^~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator<double> > >’ changed in GCC 7.1
_M_realloc_insert(end(), __x);
^~~~~~~~~~~~~~~~~
[ 45%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/moments.cpp.o
[ 45%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/morph.dispatch.cpp.o
[ 45%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/phasecorr.cpp.o
[ 45%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/pyramids.cpp.o
[ 45%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/resize.cpp.o
[ 45%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/rotcalipers.cpp.o
[ 45%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/samplers.cpp.o
[ 45%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/segmentation.cpp.o
[ 45%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/shapedescr.cpp.o
[ 45%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/smooth.dispatch.cpp.o
[ 45%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/spatialgradient.cpp.o
[ 45%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/subdivision2d.cpp.o
[ 46%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/sumpixels.cpp.o
[ 46%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/tables.cpp.o
[ 46%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/templmatch.cpp.o
[ 46%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/thresh.cpp.o
[ 46%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/utils.cpp.o
[ 46%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/opencl_kernels_imgproc.cpp.o
[ 46%] Linking CXX shared library ../../lib/libopencv_imgproc.so
[ 46%] Built target opencv_imgproc
make: *** [Makefile:163: all] Error 2
`
see #15278
System information (version)
Detailed description
Build is failing without any detail when opencv positionned on tag 4.1.0 and opencv_contrib on tag 4.1.0
and you get back to the prompt.
Steps to reproduce
sudo apt-get -y update sudo apt-get -y upgrade sudo apt-get -y install screen sudo apt-get -y install htop
sudo sed -i 's/CONF_SWAPSIZE=100/CONF_SWAPSIZE=2048/g' /etc/dphys-swapfile
sudo /etc/init.d/dphys-swapfile stop sudo /etc/init.d/dphys-swapfile start
sudo sed -i '$a gpu_mem=128' /boot/config.txt
sudo apt-get -y install build-essential cmake pkg-config sudo apt-get -y install libjpeg-dev libtiff-dev libjasper-dev libpng12-dev sudo apt-get -y install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev sudo apt-get -y install libxvidcore-dev libx264-dev sudo apt-get -y install libgtk2.0-dev libgtk-3-dev sudo apt-get -y install libatlas-base-dev gfortran
sudo apt-get -y install python3-dev
cd ~ git clone https://github.com/opencv/opencv.git git clone https://github.com/opencv/opencv_contrib.git cd opencv git checkout 4.1.1 cd ../opencv_contrib git checkout 4.1.1 cd ~
you have to make python3.6 env so it uses python3.6 for the build
mkdir -p .virtualenvs python3 -m venv .virtualenvs/cv2_env source .virtualenvs/cv2_env/bin/activate
took a really long time
pip3 install numpy
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 \ -D ENABLE_NEON=ON \ -D ENABLE_VFPV3=ON \ -D BUILD_TESTS=OFF \ -D OPENCV_ENABLE_NONFREE=ON \ -D INSTALL_PYTHON_EXAMPLES=OFF \ -D BUILD_EXAMPLES=OFF ..
make -j4
[ 45%] Linking CXX shared library ../../lib/libopencv_imgproc.so [ 45%] Built target opencv_imgproc make: *** [Makefile:163: all] Error 2