OpenCV 4.2.0 编译成功日志

Posted cx2016

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了OpenCV 4.2.0 编译成功日志相关的知识,希望对你有一定的参考价值。

 

CarolH@CHE  ~/Downloads/opencv-4.2.0/build  cmake .. -DCMAKE_CXX_FLAGS="-std=c++11 -stdlib=libc++" -DCMAKE_EXE_LINKER_FLAGS="-std=c++11 -stdlib=libc++" -DCMAKE_OSX_DEPLOYMENT_TARGET= -DBUILD_JASPER=ON -DBUILD_JPEG=ON -DBUILD_OPENEXR=ON -DBUILD_PERF_TESTS=OFF -DBUILD_PNG=ON -DBUILD_TESTS=OFF -DBUILD_TIFF=ON -DBUILD_ZLIB=ON -DBUILD_opencv_hdf=ON -DBUILD_opencv_java=ON -DBUILD_opencv_text=ON -DOPENCV_ENABLE_NONFREE=ON -DOPENCV_GENERATE_PKGCONFIG=ON -DWITH_1394=ON -DWITH_CUDA=OFF -DWITH_EIGEN=ON -DWITH_FFMPEG=ON -DWITH_GPHOTO2=ON -DWITH_GSTREAMER=ON -DWITH_JASPER=ON -DWITH_OPENEXR=ON -DWITH_OPENGL=ON -DWITH_QT=ON -DWITH_TBB=ON -DWITH_VTK=ON -DVTK_DIR=/usr/local/Cellar/vtk/8.2.0_7/lib -DOPENCV_EXTRA_MODULES_PATH=/Users/CarolH/git/opencv_contrib/modules -DBUILD_opencv_python2=ON -DBUILD_opencv_python3=ON -DCMAKE_PREFIX_PATH="$(brew --prefix qt5);$(brew --prefix vtk)"
sudo make -j8
sudo make install


-- Detected processor: x86_64
-- Looking for ccache - found (/usr/local/bin/ccache)
-- AVX512_KNM is not supported by C++ compiler
-- libjpeg-turbo: VERSION = 2.0.2, BUILD = opencv-4.2.0-libjpeg-turbo
-- Found TBB (cmake): /usr/local/lib/libtbb.dylib
-- found Intel IPP (ICV version): 2019.0.0 [2019.0.0 Gold]
-- at: /Users/CarolH/Downloads/opencv-4.2.0/build/3rdparty/ippicv/ippicv_mac/icv
-- found Intel IPP Integration Wrappers sources: 2019.0.0
-- at: /Users/CarolH/Downloads/opencv-4.2.0/build/3rdparty/ippicv/ippicv_mac/iw
-- LAPACK(LAPACK/Apple): LAPACK_LIBRARIES: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Accelerate.framework
-- LAPACK(LAPACK/Apple): Support is enabled.
-- Found VTK 8.2.0 (/usr/local/Cellar/vtk/8.2.0_7/lib/cmake/vtk-8.2/UseVTK.cmake)
-- OpenCV Python: during development append to PYTHONPATH: /Users/CarolH/Downloads/opencv-4.2.0/build/python_loader
-- Checking for module ‘gstreamer-app-1.0‘
-- Found gstreamer-app-1.0, version 1.16.2
-- Checking for module ‘gstreamer-riff-1.0‘
-- Found gstreamer-riff-1.0, version 1.16.2
-- Checking for module ‘gstreamer-pbutils-1.0‘
-- Found gstreamer-pbutils-1.0, version 1.16.2
-- Caffe: YES
-- Protobuf: NO
-- Glog: YES
-- freetype2: YES (ver 23.1.17)
-- harfbuzz: YES (ver 2.6.4)
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Module opencv_ovis disabled because OGRE3D was not found
-- 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.
-- Found installed version of gflags: /usr/local/lib/cmake/gflags
-- Detected gflags version: 2.2.2
-- Found installed version of Eigen: /usr/local/share/eigen3/cmake
-- Found required Ceres dependency: Eigen version 3.3.7 in /usr/local/include/eigen3
-- Found required Ceres dependency: glog
-- Found installed version of gflags: /usr/local/lib/cmake/gflags
-- Detected gflags version: 2.2.2
-- Found required Ceres dependency: gflags
-- Found Ceres version: 1.14.0 installed in: /usr/local with components: [EigenSparse, SparseLinearAlgebraLibrary, LAPACK, SuiteSparse, CXSparse, SchurSpecializations]
-- Checking SFM deps... TRUE
-- Tesseract: YES (ver 4.1.1)
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Registering hook ‘INIT_MODULE_SOURCES_opencv_dnn‘: /Users/CarolH/Downloads/opencv-4.2.0/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake
-- opencv_dnn: filter out ocl4dnn source code
-- opencv_dnn: filter out cuda4dnn source code
-- 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.
-- Found installed version of gflags: /usr/local/lib/cmake/gflags
-- Detected gflags version: 2.2.2
-- Found installed version of Eigen: /usr/local/share/eigen3/cmake
-- Found required Ceres dependency: Eigen version 3.3.7 in /usr/local/include/eigen3
-- Found required Ceres dependency: glog
-- Found installed version of gflags: /usr/local/lib/cmake/gflags
-- Detected gflags version: 2.2.2
-- Found required Ceres dependency: gflags
-- Found Ceres version: 1.14.0 installed in: /usr/local with components: [EigenSparse, SparseLinearAlgebraLibrary, LAPACK, SuiteSparse, CXSparse, SchurSpecializations]
-- Checking SFM deps... TRUE
--
-- General configuration for OpenCV 4.2.0 =====================================
-- Version control: unknown
--
-- Extra modules:
-- Location (extra): /Users/CarolH/git/opencv_contrib/modules
-- Version control (extra): 4.2.0-25-gbdfd1e75
--
-- Platform:
-- Timestamp: 2020-02-23T17:36:52Z
-- Host: Darwin 18.2.0 x86_64
-- CMake: 3.16.3
-- CMake generator: Unix Makefiles
-- CMake build tool: /usr/bin/make
-- Configuration: Release
--
-- CPU/HW features:
-- Baseline: SSE SSE2 SSE3 SSSE3 SSE4_1
-- requested: DETECT
-- Dispatched code generation: SSE4_2 FP16 AVX AVX2 AVX512_SKX
-- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
-- SSE4_2 (1 files): + POPCNT SSE4_2
-- FP16 (0 files): + POPCNT SSE4_2 FP16 AVX
-- AVX (4 files): + POPCNT SSE4_2 AVX
-- AVX2 (27 files): + POPCNT SSE4_2 FP16 FMA3 AVX AVX2
-- AVX512_SKX (3 files): + POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX
--
-- C/C++:
-- Built as dynamic libs?: YES
-- C++ Compiler: /Library/Developer/CommandLineTools/usr/bin/c++ (ver 10.0.1.10010046)
-- C++ flags (Release): -std=c++11 -stdlib=libc++ -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 -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Wno-long-long -Qunused-arguments -Wno-semicolon-before-method-body -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
-- C++ flags (Debug): -std=c++11 -stdlib=libc++ -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 -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Wno-long-long -Qunused-arguments -Wno-semicolon-before-method-body -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG
-- C Compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- C flags (Release): -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 -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Wno-long-long -Qunused-arguments -Wno-semicolon-before-method-body -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
-- C flags (Debug): -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 -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -fdiagnostics-show-option -Wno-long-long -Qunused-arguments -Wno-semicolon-before-method-body -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG
-- Linker flags (Release): -Wl,-dead_strip
-- Linker flags (Debug): -Wl,-dead_strip
-- ccache: YES
-- Precompiled headers: NO
-- Extra dependencies: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework
-- 3rdparty dependencies:
--
-- OpenCV modules:
-- To be built: aruco bgsegm bioinspired calib3d ccalib core cvv datasets dnn dnn_objdetect dnn_superres dpm face features2d flann freetype fuzzy gapi hdf hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor ml objdetect optflow phase_unwrapping photo plot python2 python3 quality rapid reg rgbd saliency sfm shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab viz xfeatures2d ximgproc xobjdetect xphoto
-- Disabled: cnn_3dobj world
-- Disabled by dependency: -
-- Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java js matlab ovis
-- Applications: apps
-- Documentation: NO
-- Non-free algorithms: YES
--
-- GUI:
-- QT: YES (ver 5.14.1)
-- QT OpenGL support: YES (Qt5::OpenGL 5.14.1)
-- Cocoa: YES
-- OpenGL support: YES (/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework)
-- VTK support: YES (ver 8.2.0)
--
-- Media I/O:
-- ZLib: build (ver 1.2.11)
-- JPEG: build-libjpeg-turbo (ver 2.0.2-62)
-- WEBP: build (ver encoder: 0x020e)
-- PNG: build (ver 1.6.37)
-- TIFF: build (ver 42 - 4.0.10)
-- JPEG 2000: build (ver 1.900.1)
-- OpenEXR: build (ver 2.3.0)
-- HDR: YES
-- SUNRASTER: YES
-- PXM: YES
-- PFM: YES
--
-- Video I/O:
-- DC1394: YES (2.2.6)
-- FFMPEG: YES
-- avcodec: YES (58.54.100)
-- avformat: YES (58.29.100)
-- avutil: YES (56.31.100)
-- swscale: YES (5.5.100)
-- avresample: YES (4.0.0)
-- GStreamer: YES (1.16.2)
-- AVFoundation: YES
-- gPhoto2: YES
--
-- Parallel framework: TBB (ver 2020.1 interface 11101)
--
-- Trace: YES (with Intel ITT)
--
-- Other third-party libraries:
-- Intel IPP: 2019.0.0 Gold [2019.0.0]
-- at: /Users/CarolH/Downloads/opencv-4.2.0/build/3rdparty/ippicv/ippicv_mac/icv
-- Intel IPP IW: sources (2019.0.0)
-- at: /Users/CarolH/Downloads/opencv-4.2.0/build/3rdparty/ippicv/ippicv_mac/iw
-- Lapack: YES (/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Accelerate.framework)
-- Eigen: YES (ver 3.3.7)
-- Custom HAL: NO
-- Protobuf: build (3.5.1)
--
-- OpenCL: YES (no extra features)
-- Include path: NO
-- Link libraries: -framework OpenCL
--
-- Python 2:
-- Interpreter: /usr/bin/python2.7 (ver 2.7.10)
-- Libraries: /usr/lib/libpython2.7.dylib (ver 2.7.10)
-- numpy: /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include (ver 1.8.0rc1)
-- install path: lib/python2.7/site-packages/cv2/python-2.7
--
-- Python 3:
-- Interpreter: /usr/local/bin/python3 (ver 3.7.6)
-- Libraries: /usr/local/Frameworks/Python.framework/Versions/3.7/lib/libpython3.7m.dylib (ver 3.7.6)
-- numpy: /usr/local/lib/python3.7/site-packages/numpy/core/include (ver 1.18.1)
-- install path: lib/python3.7/site-packages/cv2/python-3.7
--
-- Python (for build): /usr/bin/python2.7
--
-- Java:
-- ant: NO
-- JNI: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/JavaVM.framework/Headers /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/JavaVM.framework/Headers /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/JavaVM.framework/Headers
-- Java wrappers: NO
-- Java tests: NO
--
-- Install to: /usr/local
-- -----------------------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/CarolH/Downloads/opencv-4.2.0/build
Password:
Sorry, try again.
Password:
[ 3%] Built target quirc
[ 0%] Built target gen-pkgconfig
[ 7%] Built target libjpeg-turbo
[ 9%] Built target libjasper
[ 10%] Built target zlib
[ 11%] Built target ittnotify
[ 17%] Built target ade
[ 17%] Built target opencv_videoio_plugins
[ 19%] Built target ippiw
[ 19%] Built target libwebp
[ 22%] Built target libtiff
[ 23%] Built target libpng
[ 23%] Built target numeric
[ 23%] Built target gen_opencv_python_source
[ 28%] Built target libprotobuf
[ 35%] Built target IlmImf
[ 36%] Built target multiview
[ 36%] Built target correspondence
[ 36%] Built target simple_pipeline
Scanning dependencies of target opencv_core
[ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o
[ 36%] Linking CXX shared library ../../lib/libopencv_core.dylib
[ 43%] Built target opencv_core
[ 43%] Linking CXX shared library ../../lib/libopencv_hdf.dylib
[ 43%] Linking CXX shared library ../../lib/libopencv_flann.dylib
[ 43%] Linking CXX executable ../../bin/opencv_version
[ 44%] Linking CXX shared library ../../lib/libopencv_intensity_transform.dylib
Scanning dependencies of target opencv_viz
[ 44%] Built target opencv_version
[ 44%] Linking CXX shared library ../../lib/libopencv_ml.dylib
[ 44%] Built target opencv_hdf
[ 44%] Built target opencv_intensity_transform
[ 44%] Built target opencv_flann
[ 44%] Linking CXX shared library ../../lib/libopencv_surface_matching.dylib
[ 45%] Built target opencv_ml
[ 45%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/clouds.cpp.o
[ 45%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/shapes.cpp.o
[ 45%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkImageMatSource.cpp.o
[ 45%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkOBJWriter.cpp.o
[ 45%] Built target opencv_surface_matching
[ 45%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkTrajectorySource.cpp.o
[ 46%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkVizInteractorStyle.cpp.o
[ 46%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkXYZReader.cpp.o
[ 46%] Linking CXX shared library ../../lib/libopencv_imgproc.dylib
[ 51%] Built target opencv_imgproc
[ 51%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkXYZWriter.cpp.o
[ 51%] Linking CXX shared library ../../lib/libopencv_phase_unwrapping.dylib
[ 51%] Built target opencv_phase_unwrapping
[ 51%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/widget.cpp.o
[ 51%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkCocoaInteractorFix.mm.o
[ 51%] Linking CXX shared library ../../lib/libopencv_photo.dylib
[ 52%] Built target opencv_photo
[ 52%] Linking CXX shared library ../../lib/libopencv_plot.dylib
[ 52%] Built target opencv_plot
[ 52%] Linking CXX shared library ../../lib/libopencv_quality.dylib
[ 53%] Built target opencv_quality
[ 54%] Linking CXX shared library ../../lib/libopencv_reg.dylib
[ 54%] Built target opencv_reg
[ 54%] Linking CXX shared library ../../lib/libopencv_xphoto.dylib
[ 54%] Built target opencv_xphoto
[ 54%] Linking CXX shared library ../../lib/libopencv_dnn.dylib
[ 54%] Linking CXX shared library ../../lib/libopencv_features2d.dylib
[ 54%] Linking CXX shared library ../../lib/libopencv_freetype.dylib
[ 54%] Built target opencv_freetype
[ 54%] Linking CXX shared library ../../lib/libopencv_fuzzy.dylib
[ 60%] Built target opencv_dnn
[ 61%] Built target opencv_fuzzy
[ 61%] Linking CXX shared library ../../lib/libopencv_hfs.dylib
[ 63%] Built target opencv_features2d
[ 64%] Built target opencv_hfs
[ 64%] Linking CXX shared library ../../lib/libopencv_gapi.dylib
[ 64%] Linking CXX shared library ../../lib/libopencv_img_hash.dylib
[ 65%] Built target opencv_img_hash
[ 65%] Linking CXX shared library ../../lib/libopencv_imgcodecs.dylib
Scanning dependencies of target opencv_line_descriptor
Scanning dependencies of target opencv_saliency
[ 68%] Built target opencv_gapi
Scanning dependencies of target opencv_text
[ 69%] Built target opencv_imgcodecs
[ 69%] Building CXX object modules/text/CMakeFiles/opencv_text.dir/src/erfilter.cpp.o
[ 69%] Processing OpenCL kernels (calib3d)
Scanning dependencies of target opencv_calib3d
[ 69%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_line_descriptor.dir/src/LSDDetector.cpp.o
[ 69%] Building CXX object modules/text/CMakeFiles/opencv_text.dir/src/ocr_beamsearch_decoder.cpp.o
[ 69%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/BING/CmFile.cpp.o
[ 69%] Building CXX object modules/text/CMakeFiles/opencv_text.dir/src/ocr_hmm_decoder.cpp.o
[ 69%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/ap3p.cpp.o
[ 69%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_line_descriptor.dir/src/binary_descriptor.cpp.o
[ 69%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/BING/CmShow.cpp.o
[ 69%] Linking CXX shared library ../../lib/libopencv_viz.dylib
[ 69%] Built target opencv_viz
Scanning dependencies of target opencv_cvv_autogen
[ 69%] Automatic MOC for target opencv_cvv
[ 69%] Building CXX object modules/text/CMakeFiles/opencv_text.dir/src/ocr_holistic.cpp.o
[ 69%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/calibinit.cpp.o
[ 69%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/BING/FilterTIG.cpp.o
[ 69%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_line_descriptor.dir/src/binary_descriptor_matcher.cpp.o
[ 69%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/BING/ValStructVec.cpp.o
[ 69%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/calibration.cpp.o
[ 70%] Building CXX object modules/text/CMakeFiles/opencv_text.dir/src/ocr_tesseract.cpp.o
[ 70%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/calibration_handeye.cpp.o
[ 70%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/BING/objectnessBING.cpp.o
[ 70%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_line_descriptor.dir/src/draw.cpp.o
[ 70%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/motionSaliency.cpp.o
[ 70%] Building CXX object modules/text/CMakeFiles/opencv_text.dir/src/text_detectorCNN.cpp.o
[ 70%] Linking CXX shared library ../../lib/libopencv_line_descriptor.dylib
[ 70%] Built target opencv_line_descriptor
[ 70%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/checkchessboard.cpp.o
Scanning dependencies of target opencv_dnn_superres
[ 70%] Building CXX object modules/dnn_superres/CMakeFiles/opencv_dnn_superres.dir/src/dnn_superres.cpp.o
[ 70%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/chessboard.cpp.o
[ 70%] Linking CXX shared library ../../lib/libopencv_text.dylib
[ 70%] Built target opencv_text
[ 70%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/motionSaliencyBinWangApr2014.cpp.o
[ 70%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/circlesgrid.cpp.o
[ 70%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/compat_ptsetreg.cpp.o
[ 70%] Linking CXX shared library ../../lib/libopencv_dnn_superres.dylib
[ 70%] Built target opencv_dnn_superres
Scanning dependencies of target opencv_videoio
[ 71%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/dls.cpp.o
[ 71%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/videoio_registry.cpp.o
[ 71%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/objectness.cpp.o
Scanning dependencies of target opencv_datasets
[ 72%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/ar_hmdb.cpp.o
[ 72%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/videoio_c.cpp.o
[ 72%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/saliency.cpp.o
[ 72%] Built target opencv_cvv_autogen
[ 72%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/epnp.cpp.o
[ 72%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/ar_sports.cpp.o
[ 72%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/fisheye.cpp.o
[ 72%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap.cpp.o
[ 72%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/staticSaliency.cpp.o
[ 72%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/five-point.cpp.o
[ 72%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/dataset.cpp.o
Scanning dependencies of target opencv_cvv
[ 72%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/fr_adience.cpp.o
[ 73%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/staticSaliencyFineGrained.cpp.o
[ 73%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_images.cpp.o
[ 73%] Building CXX object modules/cvv/CMakeFiles/opencv_cvv.dir/opencv_cvv_autogen/mocs_compilation.cpp.o

 

以上是关于OpenCV 4.2.0 编译成功日志的主要内容,如果未能解决你的问题,请参考以下文章

记录ubuntu20.04成功编译安装opencv4 c++环境

实习日志3.22 | vs+opencv

使用 OpenCV 编译时出现 Gtk+ 3 错误

centos 编译opencv_4.2.0(dnn可以使用gpu)

Linux下OpenCV的安装与测试成功教程(解决E: 无法定位软件包 libjasper-dev无法找到directory `opencv.pc‘fatal error:“highgui.h“)

mac系统上通过源码编译安装opencv for java