Cross-compiling OpenCV with Advanced CMake for Raspberry Pi

Sysprogs forums Forums VisualGDB Cross-compiling OpenCV with Advanced CMake for Raspberry Pi

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #12303
    pugsmar
    Participant

    I have been trying to compile OpenCV for the Raspberry Pi with the new 5.3 Preview using the advanced CMake subsystem. I am trying to build OpenCV 3.3.0 using the recommended 2016-09-23 Raspbian Jessie image with the corresponding 4.9.2 toolchain.

    I have been using the tutorial for cross-compiling OpenCV, which was, of course, not written with this new sub-system in mind, but I hope to make it work since I will be creating some shared libraries using this OpenCV project in the future.

    I have followed the steps in the tutorial as closely as possible, including the GTK+ packages, to obtain the failure output from the build shown below. There seems to be a problem with bringing in the c++ standard libraries once the toolchain’s linker tries to actually put together a test executable. My initial feeling is that there is some incorrect path reference to those libraries (they have been synchronized), but I am not sure how to fix that in the new CMake subsystem. Do you have any ideas?

    Thanks.

    ------ Rebuild All started: Project: opencv_3.vgdbcmake, Configuration: Debug VisualGDB ------
    Removing C:\Users\jb_user\Documents\opencv_3\opencv_3\..\..\..\..\..\OpenCV\opencv-3.3.0/VisualGDB/Debug...
    Reconfiguring project due to missing Makefile...
    The CXX compiler identification is GNU 4.9.2
    The C compiler identification is GNU 4.9.2
    Check for working CXX compiler: C:/SysGCC/Raspberry/bin/arm-linux-gnueabihf-g++.exe
    Check for working CXX compiler: C:/SysGCC/Raspberry/bin/arm-linux-gnueabihf-g++.exe -- 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: C:/SysGCC/Raspberry/bin/arm-linux-gnueabihf-gcc.exe
    Check for working C compiler: C:/SysGCC/Raspberry/bin/arm-linux-gnueabihf-gcc.exe -- 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_CXX11 (check file: cmake/checks/cxx11.cpp)
    Performing Test HAVE_CXX11 - Success
    Could NOT find PythonInterp (missing:  PYTHON_EXECUTABLE) (Required is at least version "2.7")
    Could NOT find PythonInterp (missing:  PYTHON_EXECUTABLE) (Required is at least version "2.6")
    Could NOT find PythonInterp (missing:  PYTHON_EXECUTABLE) (Required is at least version "3.4")
    Could NOT find PythonInterp (missing:  PYTHON_EXECUTABLE) (Required is at least version "3.2")
    Looking for ccache - not found
    Performing Test HAVE_CXX_FSIGNED_CHAR
    Performing Test HAVE_CXX_FSIGNED_CHAR - Success
    Performing Test HAVE_C_FSIGNED_CHAR
    Performing Test HAVE_C_FSIGNED_CHAR - Success
    Performing Test HAVE_CXX_W
    Performing Test HAVE_CXX_W - Success
    Performing Test HAVE_C_W
    Performing Test HAVE_C_W - Success
    Performing Test HAVE_CXX_WALL
    Performing Test HAVE_CXX_WALL - Success
    Performing Test HAVE_C_WALL
    Performing Test HAVE_C_WALL - Success
    Performing Test HAVE_CXX_WERROR_RETURN_TYPE
    Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success
    Performing Test HAVE_C_WERROR_RETURN_TYPE
    Performing Test HAVE_C_WERROR_RETURN_TYPE - Success
    Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR
    Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR - Success
    Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR
    Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR - Success
    Performing Test HAVE_CXX_WERROR_ADDRESS
    Performing Test HAVE_CXX_WERROR_ADDRESS - Success
    Performing Test HAVE_C_WERROR_ADDRESS
    Performing Test HAVE_C_WERROR_ADDRESS - Success
    Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT
    Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success
    Performing Test HAVE_C_WERROR_SEQUENCE_POINT
    Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success
    Performing Test HAVE_CXX_WFORMAT
    Performing Test HAVE_CXX_WFORMAT - Success
    Performing Test HAVE_C_WFORMAT
    Performing Test HAVE_C_WFORMAT - Success
    Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY
    Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success
    Performing Test HAVE_C_WERROR_FORMAT_SECURITY
    Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success
    Performing Test HAVE_CXX_WMISSING_DECLARATIONS
    Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success
    Performing Test HAVE_C_WMISSING_DECLARATIONS
    Performing Test HAVE_C_WMISSING_DECLARATIONS - Success
    Performing Test HAVE_CXX_WMISSING_PROTOTYPES
    Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Failed
    Performing Test HAVE_C_WMISSING_PROTOTYPES
    Performing Test HAVE_C_WMISSING_PROTOTYPES - Success
    Performing Test HAVE_CXX_WSTRICT_PROTOTYPES
    Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Failed
    Performing Test HAVE_C_WSTRICT_PROTOTYPES
    Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success
    Performing Test HAVE_CXX_WUNDEF
    Performing Test HAVE_CXX_WUNDEF - Success
    Performing Test HAVE_C_WUNDEF
    Performing Test HAVE_C_WUNDEF - Success
    Performing Test HAVE_CXX_WINIT_SELF
    Performing Test HAVE_CXX_WINIT_SELF - Success
    Performing Test HAVE_C_WINIT_SELF
    Performing Test HAVE_C_WINIT_SELF - Success
    Performing Test HAVE_CXX_WPOINTER_ARITH
    Performing Test HAVE_CXX_WPOINTER_ARITH - Success
    Performing Test HAVE_C_WPOINTER_ARITH
    Performing Test HAVE_C_WPOINTER_ARITH - Success
    Performing Test HAVE_CXX_WSHADOW
    Performing Test HAVE_CXX_WSHADOW - Success
    Performing Test HAVE_C_WSHADOW
    Performing Test HAVE_C_WSHADOW - Success
    Performing Test HAVE_CXX_WSIGN_PROMO
    Performing Test HAVE_CXX_WSIGN_PROMO - Success
    Performing Test HAVE_C_WSIGN_PROMO
    Performing Test HAVE_C_WSIGN_PROMO - Failed
    Performing Test HAVE_CXX_WUNINITIALIZED
    Performing Test HAVE_CXX_WUNINITIALIZED - Success
    Performing Test HAVE_C_WUNINITIALIZED
    Performing Test HAVE_C_WUNINITIALIZED - Success
    Performing Test HAVE_CXX_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_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_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_CPU_BASELINE_FLAGS
    Performing Test HAVE_CPU_BASELINE_FLAGS - 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
    Looking for pthread.h
    Looking for pthread.h - found
    Looking for posix_memalign
    Looking for posix_memalign - found
    Looking for malloc.h
    Looking for malloc.h - found
    Looking for memalign
    Looking for memalign - found
    Check if the system is big endian
    Searching 16 bit integer
    Looking for sys/types.h
    Looking for sys/types.h - found
    Looking for stdint.h
    Looking for stdint.h - found
    Looking for stddef.h
    Looking for stddef.h - found
    Check size of unsigned short
    Check size of unsigned short - done
    Using unsigned short
    Check if the system is big endian - little endian
    Found ZLIB: C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libz.so (found suitable version "1.2.8", minimum required is "1.2.3") 
    Found TIFF: C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libtiff.so (found version "4.0.8") 
    Found JPEG: C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libjpeg.so  
    Performing Test HAVE_C_WNO_UNUSED_VARIABLE
    Performing Test HAVE_C_WNO_UNUSED_VARIABLE - Success
    Performing Test HAVE_C_WNO_UNUSED_FUNCTION
    Performing Test HAVE_C_WNO_UNUSED_FUNCTION - Success
    Performing Test HAVE_C_WNO_SHADOW
    Performing Test HAVE_C_WNO_SHADOW - Success
    Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED
    Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED - Success
    Found Jasper: C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libjasper.so (found version "1.900.1") 
    Found ZLIB: C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libz.so (found version "1.2.8") 
    Found PNG: C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libpng.so (found version "1.2.50") 
    Looking for C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/include/libpng/png.h
    Looking for C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/include/libpng/png.h - found
    Found OpenEXR: C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf.so
    Checking for module 'gtk+-3.0'
      No package 'gtk+-3.0' found
    Checking for module 'gtk+-2.0'
      Found gtk+-2.0, version 2.24.25
    Checking for module 'gthread-2.0'
      Found gthread-2.0, version 2.42.1
    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'
      No package 'gstreamer-base-0.10' found
    Checking for module 'gstreamer-video-0.10'
      No package 'gstreamer-video-0.10' found
    Checking for module 'gstreamer-app-0.10'
      No package 'gstreamer-app-0.10' found
    Checking for module 'gstreamer-riff-0.10'
      No package 'gstreamer-riff-0.10' found
    Checking for module 'gstreamer-pbutils-0.10'
      No package 'gstreamer-pbutils-0.10' found
    Checking for module 'libdc1394-2'
      Found libdc1394-2, version 2.2.5
    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 modules 'libavcodec;libavformat;libavutil;libswscale'
      Found libavcodec, version 57.64.101
      Found libavformat, version 57.56.101
      Found libavutil, version 55.34.101
      Found libswscale, version 4.2.100
    Checking for module 'libavresample'
      Found libavresample, version 2.1.0
    WARNING: Can't build ffmpeg test code
    Checking for module 'libgphoto2'
      No package 'libgphoto2' found
    Could not find OpenBLAS include. Turning OpenBLAS_FOUND off
    Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
    Could NOT find Atlas (missing:  Atlas_CBLAS_INCLUDE_DIR Atlas_CLAPACK_INCLUDE_DIR Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY Atlas_LAPACK_LIBRARY) 
    Looking for sgemm_
    Looking for sgemm_ - 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 found.
    Looking for cheev_
    Looking for cheev_ - found
    A library with LAPACK API found.
    Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
    Could NOT find JNI (missing:  JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY) 
    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) 
    Looking for include file pthread.h
    Looking for include file pthread.h - found
    Performing Test HAVE_CXX_WNO_DEPRECATED
    Performing Test HAVE_CXX_WNO_DEPRECATED - Success
    Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES
    Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES - Failed
    Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS
    Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success
    Performing Test HAVE_CXX_WNO_SHADOW
    Performing Test HAVE_CXX_WNO_SHADOW - 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_SIGN_PROMO
    Performing Test HAVE_CXX_WNO_SIGN_PROMO - Success
    Performing Test HAVE_CXX_WNO_UNDEF
    Performing Test HAVE_CXX_WNO_UNDEF - Success
    Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE
    Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE - Failed
    Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS
    Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS - Success
    Performing Test HAVE_CXX_WNO_EXTRA
    Performing Test HAVE_CXX_WNO_EXTRA - Success
    Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION
    Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION - Success
    Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE
    Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE - Failed
    Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32
    Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 - Failed
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/modules/core/src/convert.avx2.cpp
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/modules/core/src/convert.fp16.cpp
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/modules/core/src/convert.sse4_1.cpp
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/VisualGDB/Debug/modules/core/mathfuncs_core.sse2.cpp
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/VisualGDB/Debug/modules/core/mathfuncs_core.avx.cpp
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/VisualGDB/Debug/modules/core/mathfuncs_core.avx2.cpp
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/VisualGDB/Debug/modules/core/stat.sse4_2.cpp
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/VisualGDB/Debug/modules/core/stat.avx2.cpp
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/modules/imgproc/src/corner.avx.cpp
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/modules/imgproc/src/filter.avx2.cpp
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/modules/imgproc/src/imgwarp.avx2.cpp
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/modules/imgproc/src/imgwarp.sse4_1.cpp
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/modules/imgproc/src/undistort.avx2.cpp
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/VisualGDB/Debug/modules/imgproc/accum.sse2.cpp
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/VisualGDB/Debug/modules/imgproc/accum.avx.cpp
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/VisualGDB/Debug/modules/imgproc/accum.neon.cpp
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/modules/objdetect/src/haar.avx.cpp
    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_DEPRECATED_DECLARATIONS
    Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success
    Performing Test HAVE_CXX_WNO_ENUM_COMPARE
    Performing Test HAVE_CXX_WNO_ENUM_COMPARE - Success
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/VisualGDB/Debug/modules/dnn/layers/layers_common.avx.cpp
    Excluding from source files list: C:/OpenCV/opencv-3.3.0/VisualGDB/Debug/modules/dnn/layers/layers_common.avx2.cpp
    Torch importer has been enabled. To run the tests you have to install Torch ('th' executable should be available) and generate testdata using opencv_extra/testdata/dnn/generate_torch_models.py script.
    Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL
    Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL - Success
    General configuration for OpenCV 3.3.0 =====================================
      Version control:               unknown
      Platform:
        Timestamp:                   2017-09-05T23:08:00Z
        Host:                        Windows 10.0.15063 AMD64
        Target:                      Linux
        CMake:                       3.8.2
        CMake generator:             Unix Makefiles
        CMake build tool:            C:/SysGCC/Raspberry/bin/make.exe
        Configuration:               DEBUG
      CPU/HW features:
        Baseline:
          requested:                 DETECT
      C/C++:
        Built as dynamic libs?:      YES
        C++11:                       YES
        C++ Compiler:                C:/SysGCC/Raspberry/bin/arm-linux-gnueabihf-g++.exe  (ver 4.9.2)
        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 -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -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 -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections  -fvisibility=hidden -fvisibility-inlines-hidden -g  -O0 -DDEBUG -D_DEBUG
        C Compiler:                  C:/SysGCC/Raspberry/bin/arm-linux-gnueabihf-gcc.exe
        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 -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -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 -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections  -fvisibility=hidden -g  -O0 -DDEBUG -D_DEBUG
        Linker flags (Release):
        Linker flags (Debug):
        ccache:                      NO
        Precompiled headers:         NO
        Extra dependencies:          gtk-x11-2.0 gdk-x11-2.0 pangocairo-1.0 atk-1.0 cairo gdk_pixbuf-2.0 gio-2.0 pangoft2-1.0 pango-1.0 gobject-2.0 glib-2.0 fontconfig freetype gthread-2.0 C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libpng.so C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libz.so C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libtiff.so C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libjasper.so C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libjpeg.so C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libImath.so C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf.so C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIex.so C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libHalf.so C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmThread.so dc1394 dl m pthread rt
        3rdparty dependencies:
      OpenCV modules:
        To be built:                 core flann imgproc ml objdetect photo video dnn imgcodecs shape videoio highgui superres ts features2d calib3d stitching videostab
        Disabled:                    world
        Disabled by dependency:      -
        Unavailable:                 cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java python2 python3 viz
      GUI: 
        QT:                          NO
        GTK+ 2.x:                    YES (ver 2.24.25)
        GThread :                    YES (ver 2.42.1)
        GtkGlExt:                    NO
        OpenGL support:              NO
        VTK support:                 NO
      Media I/O: 
        ZLib:                        C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libz.so (ver 1.2.8)
        JPEG:                        C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libjpeg.so (ver )
        WEBP:                        build (ver encoder: 0x020e)
        PNG:                         C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libpng.so (ver 1.2.50)
        TIFF:                        C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libtiff.so (ver 42 - 4.0.8)
        JPEG 2000:                   C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libjasper.so (ver 1.900.1)
        OpenEXR:                     C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libImath.so C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf.so C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIex.so C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libHalf.so C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmThread.so (ver 2.2.0)
        GDAL:                        NO
        GDCM:                        NO
      Video I/O:
        DC1394 1.x:                  NO
        DC1394 2.x:                  YES (ver 2.2.5)
        FFMPEG:                      NO
          avcodec:                   YES (ver 57.64.101)
          avformat:                  YES (ver 57.56.101)
          avutil:                    YES (ver 55.34.101)
          swscale:                   YES (ver 4.2.100)
          avresample:                YES (ver 2.1.0)
        GStreamer:                   NO
        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
        Intel Media SDK:             NO
        gPhoto2:                     NO
      Parallel framework:            pthreads
      Trace:                         YES ()
      Other third-party libraries:
        Use Intel IPP:               NO
        Use Intel IPP IW:            NO
        Use VA:                      NO
        Use Intel VA-API/OpenCL:     NO
        Use Lapack:                  NO
        Use Eigen:                   NO
        Use Cuda:                    NO
        Use OpenCL:                  YES
        Use OpenVX:                  NO
        Use custom HAL:              NO
      OpenCL:                        <Dynamic loading of OpenCL library>
        Include path:                C:/OpenCV/opencv-3.3.0/3rdparty/include/opencl/1.2
        Use AMDFFT:                  NO
        Use AMDBLAS:                 NO
      Python 2:
        Interpreter:                 NO
      Python 3:
        Interpreter:                 NO
      Python (for build):            NO
      Java:
        ant:                         NO
        JNI:                         C:/Program Files (x86)/Java/jdk1.8.0_112/include C:/Program Files (x86)/Java/jdk1.8.0_112/include/win32 C:/Program Files (x86)/Java/jdk1.8.0_112/include
        Java wrappers:               NO
        Java tests:                  NO
      Matlab:                        Matlab not found or implicitly disabled
      Documentation:
        Doxygen:                     NO
      Tests and samples:
        Tests:                       YES
        Performance tests:           YES
        C/C++ Examples:              NO
      Install path:                  C:/OpenCV/opencv-3.3.0/VisualGDB/Debug/install
      cvconfig.h is in:              C:/OpenCV/opencv-3.3.0/VisualGDB/Debug
    -----------------------------------------------------------------
    Configuring done
    Generating done
    Code model queried in 684 msec
    VisualGDB: Run "C:\SysGCC\Raspberry\bin\make.exe " in directory "C:\Users\jb_user\Documents\opencv_3\opencv_3\..\..\..\..\..\OpenCV\opencv-3.3.0/VisualGDB/Debug" on local computer
    Scanning dependencies of target libwebp
    [  0%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dec/alpha_dec.c.o
    [  1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dec/buffer_dec.c.o
    [  1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dec/frame_dec.c.o
    [  1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dec/idec_dec.c.o
    [  1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dec/io_dec.c.o
    [  1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dec/quant_dec.c.o
    [  1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dec/tree_dec.c.o
    [  1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dec/vp8_dec.c.o
    [  1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dec/vp8l_dec.c.o
    [  1%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dec/webp_dec.c.o
    [  2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/demux/anim_decode.c.o
    [  2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/demux/demux.c.o
    [  2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/alpha_processing.c.o
    [  2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/alpha_processing_mips_dsp_r2.c.o
    [  2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/alpha_processing_neon.c.o
    [  2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/alpha_processing_sse2.c.o
    [  2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/alpha_processing_sse41.c.o
    [  2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/argb.c.o
    [  2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/argb_mips_dsp_r2.c.o
    [  2%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/argb_sse2.c.o
    [  3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/cost.c.o
    [  3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/cost_mips32.c.o
    [  3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/cost_mips_dsp_r2.c.o
    [  3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/cost_sse2.c.o
    [  3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/cpu.c.o
    [  3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/dec.c.o
    [  3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/dec_clip_tables.c.o
    [  3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/dec_mips32.c.o
    [  3%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/dec_mips_dsp_r2.c.o
    [  4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/dec_msa.c.o
    [  4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/dec_neon.c.o
    [  4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/dec_sse2.c.o
    [  4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/dec_sse41.c.o
    [  4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/enc.c.o
    [  4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/enc_avx2.c.o
    [  4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/enc_mips32.c.o
    [  4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/enc_mips_dsp_r2.c.o
    [  4%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/enc_msa.c.o
    [  5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/enc_neon.c.o
    [  5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/enc_sse2.c.o
    [  5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/enc_sse41.c.o
    [  5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/filters.c.o
    [  5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/filters_mips_dsp_r2.c.o
    [  5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/filters_msa.c.o
    [  5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/filters_neon.c.o
    [  5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/filters_sse2.c.o
    [  5%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/lossless.c.o
    [  6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/lossless_enc.c.o
    [  6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/lossless_enc_mips32.c.o
    [  6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/lossless_enc_mips_dsp_r2.c.o
    [  6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/lossless_enc_msa.c.o
    [  6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/lossless_enc_neon.c.o
    [  6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/lossless_enc_sse2.c.o
    [  6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/lossless_enc_sse41.c.o
    [  6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/lossless_mips_dsp_r2.c.o
    [  6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/lossless_msa.c.o
    [  6%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/lossless_neon.c.o
    [  7%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/lossless_sse2.c.o
    [  7%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/rescaler.c.o
    [  7%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/rescaler_mips32.c.o
    [  7%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/rescaler_mips_dsp_r2.c.o
    [  7%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/rescaler_msa.c.o
    [  7%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/rescaler_neon.c.o
    [  7%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/rescaler_sse2.c.o
    [  7%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/upsampling.c.o
    [  7%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/upsampling_mips_dsp_r2.c.o
    [  8%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/upsampling_msa.c.o
    [  8%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/upsampling_neon.c.o
    [  8%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/upsampling_sse2.c.o
    [  8%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/yuv.c.o
    [  8%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/yuv_mips32.c.o
    [  8%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/yuv_mips_dsp_r2.c.o
    [  8%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/dsp/yuv_sse2.c.o
    [  8%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/alpha_enc.c.o
    [  8%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/analysis_enc.c.o
    [  9%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/backward_references_enc.c.o
    [  9%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/config_enc.c.o
    [  9%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/cost_enc.c.o
    [  9%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/delta_palettization_enc.c.o
    [  9%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/filter_enc.c.o
    [  9%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/frame_enc.c.o
    [  9%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/histogram_enc.c.o
    [  9%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/iterator_enc.c.o
    [  9%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/near_lossless_enc.c.o
    [ 10%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/picture_csp_enc.c.o
    [ 10%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/picture_enc.c.o
    [ 10%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/picture_psnr_enc.c.o
    [ 10%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/picture_rescale_enc.c.o
    [ 10%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/picture_tools_enc.c.o
    [ 10%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/predictor_enc.c.o
    [ 10%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/quant_enc.c.o
    [ 10%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/syntax_enc.c.o
    [ 10%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/token_enc.c.o
    [ 11%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/tree_enc.c.o
    [ 11%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/vp8l_enc.c.o
    [ 11%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/enc/webp_enc.c.o
    [ 11%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/mux/anim_encode.c.o
    [ 11%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/mux/muxedit.c.o
    [ 11%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/mux/muxinternal.c.o
    [ 11%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/mux/muxread.c.o
    [ 11%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/utils/bit_reader_utils.c.o
    [ 11%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/utils/bit_writer_utils.c.o
    [ 11%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/utils/color_cache_utils.c.o
    [ 12%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/utils/filters_utils.c.o
    [ 12%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/utils/huffman_encode_utils.c.o
    [ 12%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/utils/huffman_utils.c.o
    [ 12%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/utils/quant_levels_dec_utils.c.o
    [ 12%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/utils/quant_levels_utils.c.o
    [ 12%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/utils/random_utils.c.o
    [ 12%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/utils/rescaler_utils.c.o
    [ 12%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/utils/thread_utils.c.o
    [ 12%] Building C object 3rdparty/libwebp/CMakeFiles/libwebp.dir/utils/utils.c.o
    [ 13%] Linking C static library ../lib/liblibwebp.a
    [ 13%] Built target libwebp
    Scanning dependencies of target libprotobuf
    [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arena.cc.o
    [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arenastring.cc.o
    [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/extension_set.cc.o
    [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_util.cc.o
    [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/coded_stream.cc.o
    [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream.cc.o
    [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream_impl_lite.cc.o
    [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/message_lite.cc.o
    [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/repeated_field.cc.o
    [ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc.o
    [ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/bytestream.cc.o
    [ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/common.cc.o
    [ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/int128.cc.o
    [ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/once.cc.o
    [ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/status.cc.o
    [ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/statusor.cc.o
    [ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/stringpiece.cc.o
    [ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/stringprintf.cc.o
    [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/structurally_valid.cc.o
    [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/strutil.cc.o
    [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/time.cc.o
    [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/wire_format_lite.cc.o
    [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/any.cc.o
    [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/any.pb.cc.o
    [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/api.pb.cc.o
    [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor.cc.o
    [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor.pb.cc.o
    [ 16%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor_database.cc.o
    [ 16%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/duration.pb.cc.o
    [ 16%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/dynamic_message.cc.o
    [ 16%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/empty.pb.cc.o
    [ 16%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/extension_set_heavy.cc.o
    [ 16%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/field_mask.pb.cc.o
    [ 16%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_reflection.cc.o
    [ 16%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/gzip_stream.cc.o
    [ 16%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/printer.cc.o
    [ 17%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/strtod.cc.o
    [ 17%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/tokenizer.cc.o
    [ 17%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream_impl.cc.o
    [ 17%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/map_field.cc.o
    [ 17%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/message.cc.o
    [ 17%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/reflection_ops.cc.o
    [ 17%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/service.cc.o
    [ 17%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/source_context.pb.cc.o
    [ 17%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/struct.pb.cc.o
    [ 17%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/mathlimits.cc.o
    [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/substitute.cc.o
    [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/text_format.cc.o
    [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/timestamp.pb.cc.o
    [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/type.pb.cc.o
    [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/unknown_field_set.cc.o
    [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/field_comparator.cc.o
    [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/field_mask_util.cc.o
    [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/datapiece.cc.o
    [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/default_value_objectwriter.cc.o
    [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/field_mask_utility.cc.o
    [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/json_escaping.cc.o
    [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/json_objectwriter.cc.o
    [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/json_stream_parser.cc.o
    [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/object_writer.cc.o
    [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/proto_writer.cc.o
    [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/protostream_objectsource.cc.o
    [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/protostream_objectwriter.cc.o
    [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/type_info.cc.o
    [ 20%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/utility.cc.o
    [ 20%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/json_util.cc.o
    [ 20%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/message_differencer.cc.o
    [ 20%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/time_util.cc.o
    [ 20%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/type_resolver_util.cc.o
    [ 20%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/wire_format.cc.o
    [ 20%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/wrappers.pb.cc.o
    [ 20%] Linking CXX static library ../lib/liblibprotobuf.a
    [ 20%] Built target libprotobuf
    [ 20%] Generating opencl_kernels_core.cpp, opencl_kernels_core.hpp
    Scanning dependencies of target opencv_core
    [ 20%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o
    [ 20%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/alloc.cpp.o
    [ 21%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/arithm.cpp.o
    [ 21%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/array.cpp.o
    [ 21%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/command_line_parser.cpp.o
    [ 21%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/conjugate_gradient.cpp.o
    [ 21%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert.cpp.o
    [ 21%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/copy.cpp.o
    [ 21%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_gpu_mat.cpp.o
    [ 21%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_host_mem.cpp.o
    [ 21%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_info.cpp.o
    [ 22%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_stream.cpp.o
    [ 22%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/datastructs.cpp.o
    [ 22%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/directx.cpp.o
    [ 22%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/downhill_simplex.cpp.o
    [ 22%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/dxt.cpp.o
    [ 22%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/gl_core_3_1.cpp.o
    [ 22%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/glob.cpp.o
    [ 22%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/hal_internal.cpp.o
    [ 22%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/kmeans.cpp.o
    [ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lapack.cpp.o
    [ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lda.cpp.o
    [ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lpsolver.cpp.o
    [ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mathfuncs.cpp.o
    [ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mathfuncs_core.dispatch.cpp.o
    [ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matmul.cpp.o
    [ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matop.cpp.o
    [ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix.cpp.o
    [ 23%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_decomp.cpp.o
    [ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/merge.cpp.o
    [ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/ocl.cpp.o
    [ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_clamdblas.cpp.o
    [ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_clamdfft.cpp.o
    [ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_core.cpp.o
    [ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opengl.cpp.o
    [ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/out.cpp.o
    [ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/ovx.cpp.o
    [ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel.cpp.o
    [ 24%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel_pthreads.cpp.o
    [ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/pca.cpp.o
    [ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence.cpp.o
    [ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/rand.cpp.o
    [ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/softfloat.cpp.o
    [ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/split.cpp.o
    [ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat.cpp.o
    [ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat.dispatch.cpp.o
    [ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stl.cpp.o
    [ 25%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o
    [ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/tables.cpp.o
    [ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/trace.cpp.o
    [ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/types.cpp.o
    [ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/umatrix.cpp.o
    [ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/va_intel.cpp.o
    [ 26%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/opencl_kernels_core.cpp.o
    [ 26%] Linking CXX shared library ../../lib/libopencv_core.so
    [ 26%] Built target opencv_core
    [ 27%] Generating opencl_kernels_imgproc.cpp, opencl_kernels_imgproc.hpp
    Scanning dependencies of target opencv_imgproc
    [ 27%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/accum.cpp.o
    [ 27%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/accum.dispatch.cpp.o
    [ 27%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/approx.cpp.o
    [ 27%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/blend.cpp.o
    [ 27%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/canny.cpp.o
    [ 27%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/clahe.cpp.o
    [ 27%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color.cpp.o
    [ 27%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/colormap.cpp.o
    [ 28%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/connectedcomponents.cpp.o
    [ 28%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/contours.cpp.o
    [ 28%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/convhull.cpp.o
    [ 28%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/corner.cpp.o
    [ 28%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/cornersubpix.cpp.o
    [ 28%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/demosaicing.cpp.o
    [ 28%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/deriv.cpp.o
    [ 28%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/distransform.cpp.o
    [ 28%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/drawing.cpp.o
    [ 29%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/emd.cpp.o
    [ 29%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/featureselect.cpp.o
    [ 29%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/filter.cpp.o
    [ 29%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/floodfill.cpp.o
    [ 29%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/gabor.cpp.o
    [ 29%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/generalized_hough.cpp.o
    [ 29%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/geometry.cpp.o
    [ 29%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/grabcut.cpp.o
    [ 29%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/hershey_fonts.cpp.o
    [ 30%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/histogram.cpp.o
    [ 30%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/hough.cpp.o
    [ 30%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.cpp.o
    [ 30%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/intersection.cpp.o
    [ 30%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/linefit.cpp.o
    [ 30%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/lsd.cpp.o
    [ 30%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/main.cpp.o
    [ 30%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/matchcontours.cpp.o
    [ 30%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/min_enclosing_triangle.cpp.o
    [ 30%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/moments.cpp.o
    [ 31%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/morph.cpp.o
    [ 31%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/phasecorr.cpp.o
    [ 31%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/pyramids.cpp.o
    [ 31%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/rotcalipers.cpp.o
    [ 31%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/samplers.cpp.o
    [ 31%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/segmentation.cpp.o
    [ 31%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/shapedescr.cpp.o
    [ 31%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/smooth.cpp.o
    [ 31%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/spatialgradient.cpp.o
    [ 32%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/subdivision2d.cpp.o
    [ 32%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/sumpixels.cpp.o
    [ 32%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/tables.cpp.o
    [ 32%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/templmatch.cpp.o
    [ 32%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/thresh.cpp.o
    [ 32%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/undistort.cpp.o
    [ 32%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/utils.cpp.o
    [ 32%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/opencl_kernels_imgproc.cpp.o
    [ 32%] Linking CXX shared library ../../lib/libopencv_imgproc.so
    [ 33%] Built target opencv_imgproc
    Scanning dependencies of target opencv_imgcodecs
    [ 33%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/loadsave.cpp.o
    [ 33%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/utils.cpp.o
    [ 34%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_base.cpp.o
    [ 34%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_bmp.cpp.o
    [ 34%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_exr.cpp.o
    [ 34%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_gdal.cpp.o
    [ 34%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_gdcm.cpp.o
    [ 34%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_hdr.cpp.o
    [ 34%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_jpeg.cpp.o
    [ 34%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_jpeg2000.cpp.o
    [ 34%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_pam.cpp.o
    [ 34%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_png.cpp.o
    [ 35%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_pxm.cpp.o
    [ 35%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_sunras.cpp.o
    [ 35%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_tiff.cpp.o
    [ 35%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_webp.cpp.o
    [ 35%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/bitstrm.cpp.o
    [ 35%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/rgbe.cpp.o
    [ 35%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/exif.cpp.o
    [ 35%] Linking CXX shared library ../../lib/libopencv_imgcodecs.so
    [ 35%] Built target opencv_imgcodecs
    Scanning dependencies of target opencv_videoio
    [ 35%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap.cpp.o
    [ 35%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_images.cpp.o
    [ 35%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_mjpeg_encoder.cpp.o
    [ 35%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_mjpeg_decoder.cpp.o
    [ 35%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_dc1394_v2.cpp.o
    [ 36%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_v4l.cpp.o
    [ 36%] Linking CXX shared library ../../lib/libopencv_videoio.so
    [ 36%] Built target opencv_videoio
    Scanning dependencies of target opencv_highgui
    [ 36%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/window.cpp.o
    [ 36%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/roiSelector.cpp.o
    [ 36%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/window_gtk.cpp.o
    [ 36%] Linking CXX shared library ../../lib/libopencv_highgui.so
    [ 36%] Built target opencv_highgui
    Scanning dependencies of target opencv_ts
    [ 36%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/cuda_perf.cpp.o
    [ 36%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/cuda_test.cpp.o
    [ 36%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ocl_perf.cpp.o
    [ 37%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ocl_test.cpp.o
    [ 37%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ts.cpp.o
    [ 37%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ts_arrtest.cpp.o
    [ 37%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ts_func.cpp.o
    [ 37%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ts_gtest.cpp.o
    [ 37%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ts_perf.cpp.o
    [ 37%] Linking CXX static library ../../lib/libopencv_ts.a
    [ 37%] Built target opencv_ts
    Scanning dependencies of target opencv_test_core
    [ 37%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_arithm.cpp.o
    [ 38%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_channels.cpp.o
    [ 38%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_dft.cpp.o
    [ 38%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_gemm.cpp.o
    [ 38%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_image2d.cpp.o
    [ 38%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_matrix_expr.cpp.o
    [ 38%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_matrix_operation.cpp.o
    [ 38%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_arithm.cpp.o
    [ 38%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_concatenation.cpp.o
    [ 38%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_conjugate_gradient.cpp.o
    [ 39%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_countnonzero.cpp.o
    [ 39%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_downhill_simplex.cpp.o
    [ 39%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_ds.cpp.o
    [ 39%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_dxt.cpp.o
    [ 39%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_eigen.cpp.o
    [ 39%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_hal_core.cpp.o
    [ 39%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin.cpp.o
    [ 39%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_io.cpp.o
    [ 39%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_ippasync.cpp.o
    [ 40%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_lpsolver.cpp.o
    [ 40%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_main.cpp.o
    [ 40%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_mat.cpp.o
    [ 40%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_math.cpp.o
    [ 40%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_misc.cpp.o
    [ 40%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_operations.cpp.o
    [ 40%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_ptr.cpp.o
    [ 40%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_rand.cpp.o
    [ 40%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_rotatedrect.cpp.o
    [ 41%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_umat.cpp.o
    [ 41%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_utils.cpp.o
    [ 41%] Linking CXX executable ../../bin/opencv_test_core
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::rfind(char, unsigned int) const@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char, unsigned int) const@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned int)@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `VTT for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*)@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libImath-2_2.so.12: undefined reference to `operator delete(void*, unsigned int)@CXXABI_1.3.9'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::resize(unsigned int, char)@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned int)@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIex-2_2.so.12: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char const*, unsigned int, unsigned int) const@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `vtable for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned int, unsigned int, unsigned int, char)@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `vtable for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_erase(unsigned int, unsigned int)@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `VTT for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned int&, unsigned int)@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned int, unsigned int, char const*, unsigned int)@GLIBCXX_3.4.21'
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libIlmImf-2_2.so.22: undefined reference to `vtable for std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
    collect2.exe: error: ld returned 1 exit status
    make[2]: *** [bin/opencv_test_core] Error 1
    make[1]: *** [modules/core/CMakeFiles/opencv_test_core.dir/all] Error 2
    make: *** [all] Error 2
    -------------------------------------------------------------
    Command exited with code 2
    Executable: C:\SysGCC\Raspberry\bin\make.exe
    Arguments: 
    Directory: C:\Users\jb_user\Documents\opencv_3\opencv_3\..\..\..\..\..\OpenCV\opencv-3.3.0/VisualGDB/Debug
    ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

     

    #12309
    support
    Keymaster

    Hi,

    This could be if your C++11 headers are out-of-sync with the libraries. Please ensure you are using exactly the same target image as our toolchain uses (see http://gnutoolchains.com/raspberry/) and try resynchronizing the sysroot if you install any packages on top of the original installation.

    #12313
    pugsmar
    Participant

    Done. It may have been /opt/vc missing from the sysroot. Now it fails at the same test project build, but instead with the error:

    /lib/libopencv_videoio.so.3.3.0: undefined reference to `av_image_fill_arrays'
    
    /lib/libopencv_videoio.so.3.3.0: undefined reference to `avformat_get_mov_video_tags'
    • This reply was modified 7 years, 2 months ago by pugsmar.
    #12319
    support
    Keymaster

    Hi,

    Please try searching the library files (.so) for the ones defining the missing symbols. Then ensure that the linker can find them.

    Sometimes the .so files contain a link to another file instead of the actual library (you can see this in text editor). If this is the case for the .so file containing the missing symbols, please ensure that the target linked from the original .so file exists. If it’s using syntax like /usr/lib/… please replace it with =/usr/lib/… so that the linker can automatically substitute sysroot.

    #12564
    dunkybaldy
    Participant

    Hi,

    I am following this guide -> http://gnutoolchains.com/raspberry/tutorial/sysroot

    I have downloaded the version ‘raspberry-gcc6.3.0.exe’ but this doesn’t seem to come with a UpdateSysroot.bat file OR the entire ‘Tools’ directory. Which, because I can’t find any other guides, means I can’t make any progress because I can’t synchronise or link with my raspberry pi.</div>

    Please advise,

    Thanks.
     

     

    • This reply was modified 7 years, 1 month ago by dunkybaldy.
    #12575
    support
    Keymaster

    Hi,

    Please use the VisualGDB Project Properties to synchronize the toolchain sysroot.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.