Ubuntu 16.04 – opencv master build with gcc 4.9

Machine/Tools configuration:

  • gcc 4.9/g++ 4.9
  • CUDA 8.0
  • Ubuntu 16.04 

Command:

~/opencv-master/build$ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D WITH_V4L=ON -D WITH_QT=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules -D BUILD_EXAMPLES=ON -DCMAKE_C_COMPILER=gcc-4.9 -DCMAKE_CXX_COMPILER=g++-4.9 -D WITH_OPENGL=ON ..

— The CXX compiler identification is GNU 4.9.3
— The C compiler identification is GNU 4.9.3
— Check for working CXX compiler: /usr/bin/g++-4.9
— Check for working CXX compiler: /usr/bin/g++-4.9 — works
— Detecting CXX compiler ABI info
— Detecting CXX compiler ABI info – done
— Detecting CXX compile features
— Detecting CXX compile features – done
— Check for working C compiler: /usr/bin/gcc-4.9
— Check for working C compiler: /usr/bin/gcc-4.9 — works
— Detecting C compiler ABI info
— Detecting C compiler ABI info – done
— Detecting C compile features
— Detecting C compile features – done
— Detected version of GNU GCC: 49 (409)
— Performing Test HAVE_CXX_FSIGNED_CHAR
— Performing Test HAVE_CXX_FSIGNED_CHAR – Success
— Performing Test HAVE_C_FSIGNED_CHAR
— Performing Test HAVE_C_FSIGNED_CHAR – Success
— Performing Test HAVE_CXX_W
— Performing Test HAVE_CXX_W – Success
— Performing Test HAVE_C_W
— Performing Test HAVE_C_W – Success
— Performing Test HAVE_CXX_WALL
— Performing Test HAVE_CXX_WALL – Success
— Performing Test HAVE_C_WALL
— Performing Test HAVE_C_WALL – Success
— Performing Test HAVE_CXX_WERROR_RETURN_TYPE
— Performing Test HAVE_CXX_WERROR_RETURN_TYPE – Success
— Performing Test HAVE_C_WERROR_RETURN_TYPE
— Performing Test HAVE_C_WERROR_RETURN_TYPE – Success
— Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR
— Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR – Success
— Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR
— Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR – Success
— Performing Test HAVE_CXX_WERROR_ADDRESS
— Performing Test HAVE_CXX_WERROR_ADDRESS – Success
— Performing Test HAVE_C_WERROR_ADDRESS
— Performing Test HAVE_C_WERROR_ADDRESS – Success
— Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT
— Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT – Success
— Performing Test HAVE_C_WERROR_SEQUENCE_POINT
— Performing Test HAVE_C_WERROR_SEQUENCE_POINT – Success
— Performing Test HAVE_CXX_WFORMAT
— Performing Test HAVE_CXX_WFORMAT – Success
— Performing Test HAVE_C_WFORMAT
— Performing Test HAVE_C_WFORMAT – Success
— Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY
— Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY – Success
— Performing Test HAVE_C_WERROR_FORMAT_SECURITY
— Performing Test HAVE_C_WERROR_FORMAT_SECURITY – Success
— Performing Test HAVE_CXX_WMISSING_DECLARATIONS
— Performing Test HAVE_CXX_WMISSING_DECLARATIONS – Success
— Performing Test HAVE_C_WMISSING_DECLARATIONS
— Performing Test HAVE_C_WMISSING_DECLARATIONS – Success
— Performing Test HAVE_CXX_WMISSING_PROTOTYPES
— Performing Test HAVE_CXX_WMISSING_PROTOTYPES – Failed
— Performing Test HAVE_C_WMISSING_PROTOTYPES
— Performing Test HAVE_C_WMISSING_PROTOTYPES – Success
— Performing Test HAVE_CXX_WSTRICT_PROTOTYPES
— Performing Test HAVE_CXX_WSTRICT_PROTOTYPES – Failed
— Performing Test HAVE_C_WSTRICT_PROTOTYPES
— Performing Test HAVE_C_WSTRICT_PROTOTYPES – Success
— Performing Test HAVE_CXX_WUNDEF
— Performing Test HAVE_CXX_WUNDEF – Success
— Performing Test HAVE_C_WUNDEF
— Performing Test HAVE_C_WUNDEF – Success
— Performing Test HAVE_CXX_WINIT_SELF
— Performing Test HAVE_CXX_WINIT_SELF – Success
— Performing Test HAVE_C_WINIT_SELF
— Performing Test HAVE_C_WINIT_SELF – Success
— Performing Test HAVE_CXX_WPOINTER_ARITH
— Performing Test HAVE_CXX_WPOINTER_ARITH – Success
— Performing Test HAVE_C_WPOINTER_ARITH
— Performing Test HAVE_C_WPOINTER_ARITH – Success
— Performing Test HAVE_CXX_WSHADOW
— Performing Test HAVE_CXX_WSHADOW – Success
— Performing Test HAVE_C_WSHADOW
— Performing Test HAVE_C_WSHADOW – Success
— Performing Test HAVE_CXX_WSIGN_PROMO
— Performing Test HAVE_CXX_WSIGN_PROMO – Success
— Performing Test HAVE_C_WSIGN_PROMO
— Performing Test HAVE_C_WSIGN_PROMO – Failed
— Performing Test HAVE_CXX_WNO_NARROWING
— Performing Test HAVE_CXX_WNO_NARROWING – Success
— Performing Test HAVE_C_WNO_NARROWING
— Performing Test HAVE_C_WNO_NARROWING – Success
— Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR
— Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR – Success
— Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR
— Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR – Failed
— Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
— Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS – Failed
— Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS
— Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS – Failed
— Performing Test HAVE_CXX_WNO_COMMENT
— Performing Test HAVE_CXX_WNO_COMMENT – Success
— Performing Test HAVE_C_WNO_COMMENT
— Performing Test HAVE_C_WNO_COMMENT – Success
— Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION
— Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION – Success
— Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION
— Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION – Success
— Performing Test HAVE_CXX_WNO_LONG_LONG
— Performing Test HAVE_CXX_WNO_LONG_LONG – Success
— Performing Test HAVE_C_WNO_LONG_LONG
— Performing Test HAVE_C_WNO_LONG_LONG – Success
— Performing Test HAVE_CXX_PTHREAD
— Performing Test HAVE_CXX_PTHREAD – Success
— Performing Test HAVE_C_PTHREAD
— Performing Test HAVE_C_PTHREAD – Success
— Performing Test HAVE_CXX_FOMIT_FRAME_POINTER
— Performing Test HAVE_CXX_FOMIT_FRAME_POINTER – Success
— Performing Test HAVE_C_FOMIT_FRAME_POINTER
— Performing Test HAVE_C_FOMIT_FRAME_POINTER – Success
— Performing Test HAVE_CXX_MSSE
— Performing Test HAVE_CXX_MSSE – Success
— Performing Test HAVE_C_MSSE
— Performing Test HAVE_C_MSSE – Success
— Performing Test HAVE_CXX_MSSE2
— Performing Test HAVE_CXX_MSSE2 – Success
— Performing Test HAVE_C_MSSE2
— Performing Test HAVE_C_MSSE2 – Success
— Performing Test HAVE_CXX_MNO_AVX
— Performing Test HAVE_CXX_MNO_AVX – Success
— Performing Test HAVE_C_MNO_AVX
— Performing Test HAVE_C_MNO_AVX – Success
— Performing Test HAVE_CXX_MSSE3
— Performing Test HAVE_CXX_MSSE3 – Success
— Performing Test HAVE_C_MSSE3
— Performing Test HAVE_C_MSSE3 – Success
— Performing Test HAVE_CXX_MNO_SSSE3
— Performing Test HAVE_CXX_MNO_SSSE3 – Success
— Performing Test HAVE_C_MNO_SSSE3
— Performing Test HAVE_C_MNO_SSSE3 – Success
— Performing Test HAVE_CXX_MNO_SSE4_1
— Performing Test HAVE_CXX_MNO_SSE4_1 – Success
— Performing Test HAVE_C_MNO_SSE4_1
— Performing Test HAVE_C_MNO_SSE4_1 – Success
— Performing Test HAVE_CXX_MNO_SSE4_2
— Performing Test HAVE_CXX_MNO_SSE4_2 – Success
— Performing Test HAVE_C_MNO_SSE4_2
— Performing Test HAVE_C_MNO_SSE4_2 – Success
— Performing Test HAVE_CXX_FFUNCTION_SECTIONS
— Performing Test HAVE_CXX_FFUNCTION_SECTIONS – Success
— Performing Test HAVE_C_FFUNCTION_SECTIONS
— Performing Test HAVE_C_FFUNCTION_SECTIONS – Success
— Performing Test HAVE_CXX_FVISIBILITY_HIDDEN
— Performing Test HAVE_CXX_FVISIBILITY_HIDDEN – Success
— Performing Test HAVE_C_FVISIBILITY_HIDDEN
— Performing Test HAVE_C_FVISIBILITY_HIDDEN – Success
— Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN
— Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN – Success
— Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN
— Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN – Failed
— FP16: Feature disabled
— Looking for pthread.h
— Looking for pthread.h – found
— Check if the system is big endian
— Searching 16 bit integer
— Looking for sys/types.h
— Looking for sys/types.h – found
— Looking for stdint.h
— Looking for stdint.h – found
— Looking for stddef.h
— Looking for stddef.h – found
— Check size of unsigned short
— Check size of unsigned short – done
— Using unsigned short
— Check if the system is big endian – little endian
— Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version “1.2.8”, minimum required is “1.2.3”)
— Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version “4.0.6”)
— Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so
— Found WebP: /usr/lib/x86_64-linux-gnu/libwebp.so
— Found Jasper: /usr/lib/x86_64-linux-gnu/libjasper.so (found version “1.900.1”)
— Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version “1.2.8”)
— Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version “1.2.54”)
— Looking for /usr/include/libpng/png.h
— Looking for /usr/include/libpng/png.h – found
— Found OpenEXR: /usr/lib/x86_64-linux-gnu/libIlmImf.so
— Checking for module ‘gstreamer-base-1.0’
— No package ‘gstreamer-base-1.0’ found
— Checking for module ‘gstreamer-video-1.0’
— No package ‘gstreamer-video-1.0’ found
— Checking for module ‘gstreamer-app-1.0’
— No package ‘gstreamer-app-1.0’ found
— Checking for module ‘gstreamer-riff-1.0’
— No package ‘gstreamer-riff-1.0’ found
— Checking for module ‘gstreamer-pbutils-1.0’
— No package ‘gstreamer-pbutils-1.0’ found
— Checking for module ‘gstreamer-base-0.10’
— Found gstreamer-base-0.10, version 0.10.36
— Checking for module ‘gstreamer-video-0.10’
— Found gstreamer-video-0.10, version 0.10.36
— Checking for module ‘gstreamer-app-0.10’
— Found gstreamer-app-0.10, version 0.10.36
— Checking for module ‘gstreamer-riff-0.10’
— Found gstreamer-riff-0.10, version 0.10.36
— Checking for module ‘gstreamer-pbutils-0.10’
— Found gstreamer-pbutils-0.10, version 0.10.36
— Checking for module ‘libdc1394-2’
— Found libdc1394-2, version 2.2.4
— Looking for linux/videodev.h
— Looking for linux/videodev.h – not found
— Looking for linux/videodev2.h
— Looking for linux/videodev2.h – found
— Looking for sys/videoio.h
— Looking for sys/videoio.h – not found
— Checking for module ‘libavcodec’
— Found libavcodec, version 56.60.100
— Checking for module ‘libavformat’
— Found libavformat, version 56.40.101
— Checking for module ‘libavutil’
— Found libavutil, version 54.31.100
— Checking for module ‘libswscale’
— Found libswscale, version 3.1.101
— Checking for module ‘libavresample’
— No package ‘libavresample’ found
— Looking for libavformat/avformat.h
— Looking for libavformat/avformat.h – found
— Looking for ffmpeg/avformat.h
— Looking for ffmpeg/avformat.h – not found
— Checking for module ‘libgphoto2’
— No package ‘libgphoto2’ found
— Looking for pthread.h
— Looking for pthread.h – found
— Looking for pthread_create
— Looking for pthread_create – found
— Found Threads: TRUE
— A library with BLAS API not found. Please specify library location.
— LAPACK requires BLAS
— A library with LAPACK API not found. Please specify library location.
— Checking for module ‘tbb’
— Found tbb, version 4.4~20151115
— ICV: Downloading ippicv_linux_20151201.tgz…
— ICV: Unpacking ippicv_linux_20151201.tgz to /home/ubuntu/opencv-master/3rdparty/ippicv/unpack…
— ICV: Package successfully downloaded
— found IPP (ICV version): 9.0.1 [9.0.1]
— at: /home/ubuntu/opencv-master/3rdparty/ippicv/unpack/ippicv_lnx
— Found Doxygen: /usr/bin/doxygen (found version “1.8.11”)
— To enable PlantUML support, set PLANTUML_JAR environment variable or pass -DPLANTUML_JAR=<filepath> option to cmake
— Found PythonInterp: /usr/bin/python2.7 (found suitable version “2.7.12”, minimum required is “2.7”)
— Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable exact version “2.7.12”)
— Found PythonInterp: /usr/bin/python3 (found suitable version “3.5.2”, minimum required is “3.4”)
— Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.5m.so (found suitable exact version “3.5.2”)
Traceback (most recent call last):
File “<string>”, line 1, in <module>
ImportError: No module named ‘numpy’
— Found apache ant 1.9.6: /usr/bin/ant
— Found JNI: /usr/lib/jvm/default-java/jre/lib/amd64/libjawt.so
— Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN)
— VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
— Performing Test HAVE_CXX_WNO_UNDEF
— Performing Test HAVE_CXX_WNO_UNDEF – Success
— Performing Test HAVE_CXX_WNO_SHADOW
— Performing Test HAVE_CXX_WNO_SHADOW – Success
— Caffe: NO
— Protobuf: YES
— Glog: NO
— Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so (found version “1.8.16”)
— Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF
— Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF – Success
— Module opencv_sfm disabled because the following dependencies are not found: Glog/Gflags
— Performing Test HAVE_CXX_WNO_PARENTHESES
— Performing Test HAVE_CXX_WNO_PARENTHESES – Success
— Performing Test HAVE_CXX_WNO_MAYBE_UNINITIALIZED
— Performing Test HAVE_CXX_WNO_MAYBE_UNINITIALIZED – Success
— Performing Test HAVE_CXX_WNO_SIGN_PROMO
— Performing Test HAVE_CXX_WNO_SIGN_PROMO – Success
— Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS
— Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS – Success
— Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES
— Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES – Failed
— Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so
— Build libprotobuf from sources:
— The protocol buffer compiler not found
— Looking for include file pthread.h
— Looking for include file pthread.h – found
— Looking for C++ include unordered_map
— Looking for C++ include unordered_map – found
— Looking for C++ include tr1/unordered_map
— Looking for C++ include tr1/unordered_map – found
— Looking for C++ include unordered_set
— Looking for C++ include unordered_set – found
— Looking for C++ include tr1/unordered_set
— Looking for C++ include tr1/unordered_set – found
— Performing Test HAVE_CXX_WNO_DEPRECATED
— Performing Test HAVE_CXX_WNO_DEPRECATED – Success
— Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER
— Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER – Success
— Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS
— Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS – Success
— Performing Test HAVE_CXX_WNO_SIGN_COMPARE
— Performing Test HAVE_CXX_WNO_SIGN_COMPARE – Success
— Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE
— Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE – Failed
— Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS
— Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS – Success
— Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL
— Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL – Success
— Tesseract: NO
— Check contents of vgg_generated_48.i …
— Downloading vgg_generated_48.i…
— Downloading vgg_generated_48.i… Done
— Check contents of vgg_generated_64.i …
— Downloading vgg_generated_64.i…
— Downloading vgg_generated_64.i… Done
— Check contents of vgg_generated_80.i …
— Downloading vgg_generated_80.i…
— Downloading vgg_generated_80.i… Done
— Check contents of vgg_generated_120.i …
— Downloading vgg_generated_120.i…
— Downloading vgg_generated_120.i… Done
— Check contents of boostdesc_bgm.i …
— Downloading boostdesc_bgm.i…
— Downloading boostdesc_bgm.i… Done
— Check contents of boostdesc_bgm_bi.i …
— Downloading boostdesc_bgm_bi.i…
— Downloading boostdesc_bgm_bi.i… Done
— Check contents of boostdesc_bgm_hd.i …
— Downloading boostdesc_bgm_hd.i…
— Downloading boostdesc_bgm_hd.i… Done
— Check contents of boostdesc_binboost_064.i …
— Downloading boostdesc_binboost_064.i…
— Downloading boostdesc_binboost_064.i… Done
— Check contents of boostdesc_binboost_128.i …
— Downloading boostdesc_binboost_128.i…
— Downloading boostdesc_binboost_128.i… Done
— Check contents of boostdesc_binboost_256.i …
— Downloading boostdesc_binboost_256.i…
— Downloading boostdesc_binboost_256.i… Done
— Check contents of boostdesc_lbgm.i …
— Downloading boostdesc_lbgm.i…
— Downloading boostdesc_lbgm.i… Done
— Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE
— Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE – Failed
— Performing Test HAVE_CXX_WNO_UNUSED_PRIVATE_FIELD

— Performing Test HAVE_CXX_WNO_UNUSED_PRIVATE_FIELD – Failed

— General configuration for OpenCV 3.1.0-dev =====================================

— Version control: unknown

— Extra modules:
— Location (extra): /home/ubuntu/opencv_contrib/modules

— Version control (extra): 3.1.0-430-g4f6e576

— Platform:
— Timestamp: 2016-11-11T08:17:55Z
— Host: Linux 4.4.0-47-generic x86_64
— CMake: 3.5.1
— CMake generator: Unix Makefiles
— CMake build tool: /usr/bin/make

— Configuration: RELEASE

— C/C++:
— Built as dynamic libs?: YES
— C++ Compiler: /usr/bin/g++-4.9 (ver 4.9.3)
— 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 -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-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 -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG
— C Compiler: /usr/bin/gcc-4.9
— 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 -Wno-narrowing -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=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 -Wno-narrowing -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG
— Linker flags (Release):
— Linker flags (Debug):
— Precompiled headers: YES
— Extra dependencies: Qt5::Test Qt5::Concurrent Qt5::OpenGL /usr/lib/x86_64-linux-gnu/libwebp.so /usr/lib/x86_64-linux-gnu/libpng.so /usr/lib/x86_64-linux-gnu/libtiff.so /usr/lib/x86_64-linux-gnu/libjasper.so /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libImath.so /usr/lib/x86_64-linux-gnu/libIlmImf.so /usr/lib/x86_64-linux-gnu/libIex.so /usr/lib/x86_64-linux-gnu/libHalf.so /usr/lib/x86_64-linux-gnu/libIlmThread.so gstvideo-0.10 gstapp-0.10 gstbase-0.10 gstriff-0.10 gstpbutils-0.10 gstreamer-0.10 gobject-2.0 gmodule-2.0 gthread-2.0 glib-2.0 xml2 dc1394 avcodec-ffmpeg avformat-ffmpeg avutil-ffmpeg swscale-ffmpeg /lib/x86_64-linux-gnu/libbz2.so.1 Qt5::Core Qt5::Gui Qt5::Widgets /usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so /usr/lib/x86_64-linux-gnu/libpthread.so /usr/lib/x86_64-linux-gnu/libsz.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libdl.so /usr/lib/x86_64-linux-gnu/libm.so dl m pthread rt /usr/lib/x86_64-linux-gnu/libGLU.so /usr/lib/x86_64-linux-gnu/libGL.so tbb atomic

— 3rdparty dependencies: libprotobuf

— OpenCV modules:
— To be built: core flann hdf imgproc ml photo reg surface_matching video dnn fuzzy imgcodecs shape videoio highgui objdetect plot superres ts xobjdetect xphoto bgsegm bioinspired dpm face features2d line_descriptor saliency text calib3d ccalib cvv datasets rgbd stereo tracking videostab xfeatures2d ximgproc aruco optflow phase_unwrapping stitching structured_light java python2
— Disabled: world contrib_world
— Disabled by dependency: –

— Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev python3 viz matlab sfm

— GUI:
— QT 5.x: YES (ver 5.5.1)
— QT OpenGL support: YES (Qt5::OpenGL 5.5.1)
— OpenGL support: YES (/usr/lib/x86_64-linux-gnu/libGLU.so /usr/lib/x86_64-linux-gnu/libGL.so)

— VTK support: NO

— Media I/O:
— ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.8)
— JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (ver )
— WEBP: /usr/lib/x86_64-linux-gnu/libwebp.so (ver encoder: 0x0202)
— PNG: /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.2.54)
— TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 – 4.0.6)
— JPEG 2000: /usr/lib/x86_64-linux-gnu/libjasper.so (ver 1.900.1)
— OpenEXR: /usr/lib/x86_64-linux-gnu/libImath.so /usr/lib/x86_64-linux-gnu/libIlmImf.so /usr/lib/x86_64-linux-gnu/libIex.so /usr/lib/x86_64-linux-gnu/libHalf.so /usr/lib/x86_64-linux-gnu/libIlmThread.so (ver 2.2.0)
— GDAL: NO

— GDCM: NO

— Video I/O:
— DC1394 1.x: NO
— DC1394 2.x: YES (ver 2.2.4)
— FFMPEG: YES
— codec: YES (ver 56.60.100)
— format: YES (ver 56.40.101)
— util: YES (ver 54.31.100)
— swscale: YES (ver 3.1.101)
— resample: NO
— gentoo-style: YES
— GStreamer:
— base: YES (ver 0.10.36)
— video: YES (ver 0.10.36)
— app: YES (ver 0.10.36)
— riff: YES (ver 0.10.36)
— pbutils: YES (ver 0.10.36)
— OpenNI: NO
— OpenNI PrimeSensor Modules: NO
— OpenNI2: NO
— PvAPI: NO
— GigEVisionSDK: NO
— Aravis SDK: NO
— UniCap: NO
— UniCap ucil: NO
— V4L/V4L2: NO/YES
— XIMEA: NO
— Xine: NO

— gPhoto2: NO

— Parallel framework: TBB (ver 4.4 interface 9002)

— Other third-party libraries:
— Use IPP: 9.0.1 [9.0.1]
— at: /home/ubuntu/opencv-master/3rdparty/ippicv/unpack/ippicv_lnx
— Use IPP Async: NO
— Use VA: NO
— Use Intel VA-API/OpenCL: NO
— Use Lapack: NO
— Use Eigen: YES (ver 3.2.92)
— Use Cuda: NO
— Use OpenCL: YES
— Use OpenVX: NO

— Use custom HAL: NO

— OpenCL: <Dynamic loading of OpenCL library>
— Include path: /home/ubuntu/opencv-master/3rdparty/include/opencl/1.2
— Use AMDFFT: NO

— Use AMDBLAS: NO

— Python 2:
— Interpreter: /usr/bin/python2.7 (ver 2.7.12)
— Libraries: /usr/lib/x86_64-linux-gnu/libpython2.7.so (ver 2.7.12)
— numpy: /usr/local/lib/python2.7/dist-packages/numpy-1.11.2rc1-py2.7-linux-x86_64.egg/numpy/core/include (ver 1.11.2rc1)

— packages path: lib/python2.7/dist-packages

— Python 3:

— Interpreter: /usr/bin/python3 (ver 3.5.2)

— Python (for build): /usr/bin/python2.7

— Java:
— ant: /usr/bin/ant (ver 1.9.6)
— JNI: /usr/lib/jvm/default-java/include /usr/lib/jvm/default-java/include/linux /usr/lib/jvm/default-java/include
— Java wrappers: YES

— Java tests: YES

— Matlab: Matlab not found or implicitly disabled

— Documentation:
— Doxygen: /usr/bin/doxygen (ver 1.8.11)

— PlantUML: NO

— Tests and samples:
— Tests: YES
— Performance tests: YES

— C/C++ Examples: YES

— Install path: /usr/local

— cvconfig.h is in: /home/ubuntu/opencv-master/build

— —————————————————————–

— Configuring done
— Generating done
— Build files have been written to: /home/ubuntu/opencv-master/build

 

Advertisements

2 thoughts on “Ubuntu 16.04 – opencv master build with gcc 4.9

  1. Hi Avkash, your cmake command helped me to include the opencv_contrib which other cmake commands couldn’t even with the OPENCV_EXTRA_MODULES_PATH, so I would like to thank you for that : ).
    I have one Cmake error though and that is given below-
    CMake Error: Cannot determine link language for target “libprotobuf”.
    CMake Error: CMake can not determine linker language for target: libprotobuf
    I can’t seem to understand how to resolve this?

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s