Skip to content

Instantly share code, notes, and snippets.

@LaurentBerger
Last active February 20, 2020 06:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LaurentBerger/6a420711d279f73b2eed415b97267df4 to your computer and use it in GitHub Desktop.
Save LaurentBerger/6a420711d279f73b2eed415b97267df4 to your computer and use it in GitHub Desktop.
$ ./buildocv.sh
/G/lib/Build/opencv /G/lib
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18363.
-- Detected processor: AMD64
-- Found ZLIB: optimized;G:/lib/install/zlib/lib/zlibstatic.lib;debug;G:/lib/ins tall/zlib/lib/zlibstaticd.lib (found suitable version "1.2.11", minimum required is "1.2.3")
-- libjpeg-turbo: VERSION = 2.0.2, BUILD = opencv-4.2.0-dev-libjpeg-turbo
-- Found ZLIB: optimized;G:/lib/install/zlib/lib/zlibstatic.lib;debug;G:/lib/ins tall/zlib/lib/zlibstaticd.lib (found version "1.2.11")
-- found Intel IPP (ICV version): 2019.0.0 [2019.0.0 Gold]
-- at: G:/Lib/build/opencv/3rdparty/ippicv/ippicv_win/icv
-- found Intel IPP Integration Wrappers sources: 2019.0.0
-- at: G:/Lib/build/opencv/3rdparty/ippicv/ippicv_win/iw
-- Could not find OpenBLAS include. Turning OpenBLAS_FOUND off
-- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
-- Could NOT find BLAS (missing: BLAS_LIBRARIES)
-- LAPACK requires BLAS
-- A library with LAPACK API not found. Please specify library location.
-- Found VTK 8.1.0 (G:/Lib/install/vtk/lib/cmake/vtk-8.1/UseVTK.cmake)
-- OpenCV Python: during development append to PYTHONPATH: G:/Lib/build/opencv/python_loader
-- Caffe: NO
-- Protobuf: NO
-- Glog: NO
-- freetype2: NO
-- harfbuzz: NO
-- 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: G:/lib/install/gflags/lib/cmake/gflags
-- Detected gflags version: 2.2.1
-- Found installed version of Eigen: G:/Lib/install/Eigen3/share/eigen3/cmake
-- Found required Ceres dependency: Eigen version 3.3.90 in G:/Lib/install/Eigen3/include/eigen3
-- Found installed version of glog: G:/Lib/install/glog/lib/cmake/glog
-- Detected glog version: 0.3.5
-- Found required Ceres dependency: glog
-- Found installed version of gflags: G:/Lib/install/gflags/lib/cmake/gflags
-- Detected gflags version: 2.2.1
-- Found required Ceres dependency: gflags
-- Found Ceres version: 1.13.0 installed in: G:/Lib/install/ceres-solver with components: [EigenSparse, SparseLinearAlgebraLibrary, SchurSpecializations, OpenMP, Multithreading]
-- Checking SFM deps... TRUE
-- Tesseract: YES (ver unknown)
-- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': G:/Lib/opencv/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake
-- 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: G:/lib/install/gflags/lib/cmake/gflags
-- Detected gflags version: 2.2.1
-- Found installed version of Eigen: G:/Lib/install/Eigen3/share/eigen3/cmake
-- Found required Ceres dependency: Eigen version 3.3.90 in G:/Lib/install/Eigen3/include/eigen3
-- Found installed version of glog: G:/Lib/install/glog/lib/cmake/glog
-- Detected glog version: 0.3.5
-- Found required Ceres dependency: glog
-- Found installed version of gflags: G:/Lib/install/gflags/lib/cmake/gflags
-- Detected gflags version: 2.2.1
-- Found required Ceres dependency: gflags
-- Found Ceres version: 1.13.0 installed in: G:/Lib/install/ceres-solver with components: [EigenSparse, SparseLinearAlgebraLibrary, SchurSpecializations, OpenMP, Multithreading]
-- Checking SFM deps... TRUE
-- Pylint: registered 169 targets. Build 'check_pylint' target to run checks ("cmake --build . --target check_pylint" or "make check_pylint")
CMake Warning at cmake/OpenCVGenSetupVars.cmake:54 (message):
CONFIGURATION IS NOT SUPPORTED: validate setupvars script in install
directory
Call Stack (most recent call first):
CMakeLists.txt:954 (include)
--
-- General configuration for OpenCV 4.2.0-dev =====================================
-- Version control: 4.1.2-695-gdae1fc8889
--
-- Extra modules:
-- Location (extra): G:/Lib/opencv_contrib/modules
-- Version control (extra): 3.4.1-752-gbdfd1e75
--
-- Platform:
-- Timestamp: 2019-12-13T10:06:41Z
-- Host: Windows 10.0.18363 AMD64
-- CMake: 3.15.1
-- CMake generator: Visual Studio 15 2017 Win64
-- CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/MSBuild/15.0/Bin/MSBuild.exe
-- MSVC: 1916
--
-- CPU/HW features:
-- Baseline: SSE SSE2 SSE3
-- requested: SSE3
-- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX
-- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX
-- SSE4_1 (15 files): + SSSE3 SSE4_1
-- SSE4_2 (2 files): + SSSE3 SSE4_1 POPCNT SSE4_2
-- FP16 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX
-- AVX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX
-- AVX2 (29 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2
-- AVX512_SKX (6 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX
--
-- C/C++:
-- Built as dynamic libs?: YES
-- C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe (ver 19.16.27025.1)
-- C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP /MD /O2 /Ob2 /DNDEBUG
-- C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /MP /MDd /Zi /Ob0 /Od /RTC1
-- C Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe
-- C flags (Release): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /MP /MD /O2 /Ob2 /DNDEBUG
-- C flags (Debug): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /MP /MDd /Zi /Ob0 /Od /RTC1
-- Linker flags (Release): /machine:x64 /INCREMENTAL:NO
-- Linker flags (Debug): /machine:x64 /debug /INCREMENTAL
-- ccache: NO
-- Precompiled headers: YES
-- Extra dependencies: opengl32 glu32
-- 3rdparty dependencies:
--
-- OpenCV modules:
-- To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dnn_superres dpm face features2d flann fuzzy hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor ml objdetect optflow phase_unwrapping photo plot python3 quality rapid reg saliency sfm shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab viz xfeatures2d ximgproc xobjdetect xphoto
-- Disabled: gapi rgbd world
-- Disabled by dependency: -
-- Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv freetype hdf java js matlab ovis python2
-- Applications: tests perf_tests examples apps
-- Documentation: doxygen python
-- Non-free algorithms: YES
--
-- Windows RT support: NO
--
-- GUI:
-- Win32 UI: YES
-- OpenGL support: YES (opengl32 glu32)
-- VTK support: YES (ver 8.1.0)
--
-- Media I/O:
-- ZLib: optimized G:/lib/install/zlib/lib/zlibstatic.lib debug G:/lib/install/zlib/lib/zlibstaticd.lib (ver 1.2.11)
-- JPEG: build-libjpeg-turbo (ver 2.0.2-62)
-- WEBP: build (ver encoder: 0x020e)
-- PNG: optimized G:/lib/install/libpng/lib/libpng16_static.lib debug G:/lib/install/libpng/lib/libpng16_staticd.lib (ver 1.6.36)
-- 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: NO
-- FFMPEG: YES (prebuilt binaries)
-- 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: NO
-- DirectShow: YES
-- Media Foundation: YES
-- DXVA: YES
--
-- Parallel framework: Concurrency
--
-- Other third-party libraries:
-- Intel IPP: 2019.0.0 Gold [2019.0.0]
-- at: G:/Lib/build/opencv/3rdparty/ippicv/ippicv_win/icv
-- Intel IPP IW: sources (2019.0.0)
-- at: G:/Lib/build/opencv/3rdparty/ippicv/ippicv_win/iw
-- Lapack: NO
-- Eigen: YES (ver 3.3.7)
-- Custom HAL: NO
-- Protobuf: build (3.5.1)
--
-- OpenCL: YES (NVD3D11)
-- Include path: G:/Lib/opencv/3rdparty/include/opencl/1.2
-- Link libraries: Dynamic load
--
-- Python 3:
-- Interpreter: f:/Program Files/Python/python.exe (ver 3.6.6)
-- Libraries: optimized F:/Program Files/Python/libs/python36.lib debug F:/Program Files/Python/libs/python36_d.lib (ver 3.6.6)
-- numpy: f:/Program Files/Python/lib/site-packages/numpy/core/include (ver 1.16.2)
-- install path: f:/Program Files/Python/lib/site-packages/cv2/python-3.6
--
-- Python (for build): f:/Program Files/Python/python.exe
-- Pylint: F:/Program Files/Python/Scripts/pylint.exe (ver: 3.6.6, checks: 169)
-- Flake8: F:/Program Files/Python/Scripts/flake8.exe (ver: 3.7.6)
--
-- Java:
-- ant: NO
-- JNI: C:/Program Files/Java/jdk1.8.0_152/include C:/Program Files/Java/jdk1.8.0_152/include/win32 C:/Program Files/Java/jdk1.8.0_152/include
-- Java wrappers: NO
-- Java tests: NO
--
-- Install to: G:/Lib/install/opencv
-- -----------------------------------------------------------------
--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment