Ask Your Question

Revision history [back]

Problem building Opencv 3.1 - cap_gphoto2.cpp errors

I've been running into the same problem with both the release version of 3.1 and the current cloned version of the repository. The problem appears to be in the videoio module when compiling the cap_gphoto2.cpp file. I've run into this issue on two separate computer systems both running RHEL 6.6. Here's the relevant error messages: At the end of the post is the configuration output and the error log.

[ 42%] Building NVCC (Device) object modules/cudafilters/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_row_filter.8uc3.cu.o Building NVCC (Device) object modules/cudafilters/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_column_filter.16uc1.cu.o Building NVCC (Device) object modules/cudafilters/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_row_filter.32sc1.cu.o /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:171: error: ISO C++ forbids initialization of member ‘context’ [-fpermissive] /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:171: error: making ‘context’ static [-fpermissive] /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:171: error: invalid in-class initialization of static data member of non-integral type ‘GPContext’ /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:177: error: ISO C++ forbids initialization of member ‘camera’ [-fpermissive] /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:177: error: making ‘camera’ static [-fpermissive] /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:177: error: invalid in-class initialization of static data member of non-integral type ‘Camera’ /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:181: error: ISO C++ forbids initialization of member ‘rootWidget’ [-fpermissive] /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:181: error: making ‘rootWidget’ static [-fpermissive] /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:181: error: invalid in-class initialization of static data member of non-integral type ‘CameraWidget’ /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:213: error: ISO C++ forbids initialization of member ‘abilitiesList’ [-fpermissive] /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:213: error: making ‘abilitiesList’ static [-fpermissive] /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:213: error: invalid in-class initialization of static data member of non-integral type ‘CameraAbilitiesList’ /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:214: error: ISO C++ forbids initialization of member ‘capablePorts’ [-fpermissive] /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:214: error: making ‘capablePorts’ static [-fpermissive] /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:214: error: invalid in-class initialization of static data member of non-integral type ‘GPPortInfoList’ /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:215: error: ISO C++ forbids initialization of member ‘allDevices’ [-fpermissive] /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:215: error: making ‘allDevices’ static [-fpermissive] /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:215: error: invalid in-class initialization of static data member of non-integral type ‘CameraList’ /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp: In member function ‘void cv::gphoto2::DigitalCameraCapture::initContext()’: /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:323: error: ‘context’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:332: error: ‘abilitiesList’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:333: error: ‘abilitiesList’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:336: error: ‘capablePorts’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:337: error: ‘capablePorts’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:340: error: ‘allDevices’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:341: error: ‘allDevices’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:342: error: ‘allDevices’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp: In destructor ‘virtual cv::gphoto2::DigitalCameraCapture::~DigitalCameraCapture()’: /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:388: error: ‘abilitiesList’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:389: error: ‘abilitiesList’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:390: error: ‘capablePorts’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:391: error: ‘capablePorts’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:392: error: ‘allDevices’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:393: error: ‘allDevices’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:394: error: ‘context’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp: In member function ‘bool cv::gphoto2::DigitalCameraCapture::open(int)’: /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:418: error: ‘camera’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:419: error: ‘allDevices’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:420: error: ‘allDevices’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:423: error: ‘abilitiesList’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:424: error: ‘abilitiesList’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:425: error: ‘camera’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:428: error: ‘capablePorts’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:429: error: ‘capablePorts’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:430: error: ‘camera’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:433: error: ‘camera’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:433: error: ‘context’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp: In member function ‘void cv::gphoto2::DigitalCameraCapture::close()’: /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:476: error: ‘camera’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:478: error: ‘context’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:492: error: ‘rootWidget’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp: In member function ‘virtual double cv::gphoto2::DigitalCameraCapture::getProperty(int) const’: /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:607: error: ‘rootWidget’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp: In member function ‘virtual bool cv::gphoto2::DigitalCameraCapture::setProperty(int, double)’: /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:805: error: ‘camera’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:805: error: ‘rootWidget’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:805: error: ‘context’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp: In member function ‘virtual bool cv::gphoto2::DigitalCameraCapture::grabFrame()’: /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:839: error: ‘camera’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:839: error: ‘context’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:844: error: ‘camera’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:844: error: ‘context’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:845: error: ‘camera’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:845: error: ‘context’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:847: error: ‘camera’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:847: error: ‘context’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp: In member function ‘int cv::gphoto2::DigitalCameraCapture::findDevice(const char) const’: /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:914: error: ‘allDevices’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp: In member function ‘void cv::gphoto2::DigitalCameraCapture::reloadConfig()’: /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:936: error: ‘rootWidget’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:945: error: ‘camera’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:945: error: ‘rootWidget’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:945: error: ‘context’ was not declared in this scope /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/modules/videoio/src/cap_gphoto2.cpp:949: error: ‘rootWidget’ was not declared in this scope make[2]: [modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_gphoto2.cpp.o] Error 1 make[1]: [modules/videoio/CMakeFiles/opencv_videoio.dir/all] Error 2 make[1]: ** Waiting for unfinished jobs....

CONFIGURATION LOG -- Detected version of GNU GCC: 44 (404) -- FP16: Compiler support is not available -- Found ZLIB: /usr/lib64/libz.so (found suitable version "1.2.3", minimum required is "1.2.3") -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.3") -- checking for module 'gtk+-3.0' -- package 'gtk+-3.0' not found -- checking for module 'gstreamer-base-1.0' -- package 'gstreamer-base-1.0' not found -- checking for module 'gstreamer-video-1.0' -- package 'gstreamer-video-1.0' not found -- checking for module 'gstreamer-app-1.0' -- package 'gstreamer-app-1.0' not found -- checking for module 'gstreamer-riff-1.0' -- package 'gstreamer-riff-1.0' not found -- checking for module 'gstreamer-pbutils-1.0' -- package 'gstreamer-pbutils-1.0' not found -- Looking for linux/videodev.h -- Looking for linux/videodev.h - 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 'libavresample' -- package 'libavresample' not found -- Looking for libavformat/avformat.h -- Looking for libavformat/avformat.h - found -- Looking for ffmpeg/avformat.h -- Looking for ffmpeg/avformat.h - not found -- 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. -- found IPP (ICV version): 9.0.1 [9.0.1] -- at: /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/3rdparty/ippicv/unpack/ippicv_lnx -- CUDA detected: 7.5 -- CUDA NVCC target flags: -gencode;arch=compute_20,code=sm_20;-gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_50,code=sm_50;-D_FORCE_INLINES -- To enable PlantUML support, set PLANTUML_JAR environment variable or pass -DPLANTUML_JAR=<filepath> option to cmake -- Could NOT find PythonInterp: Found unsuitable version "2.7.12", but required is at least "3.4" (found /usr/local/palomar/anaconda/envs/astroconda/bin/python) -- Could NOT find PythonInterp: Found unsuitable version "2.7.12", but required is at least "3.2" (found /usr/local/palomar/anaconda/envs/astroconda/bin/python) -- Found apache ant 1.9.7: /usr/bin/ant -- 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 -- Caffe: NO -- Protobuf: NO -- Glog: NO -- HDF5: YES -- Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags -- HDF5: YES -- Could NOT find PROTOBUF (missing: PROTOBUF_LIBRARY PROTOBUF_INCLUDE_DIR) -- Build libprotobuf from sources: -- libprotobuf not found into system -- The protocol buffer compiler not found -- Checking for C++ hash_map implementation... -- C++ hash_map found in 'ext' dir in namespace __gnu_cxx:: -- Checking for C++ hash_set implementation... -- C++ hash_set found in 'ext' dir in namespace __gnu_cxx:: -- Tesseract: NO -- 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.

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

-- Version control: 3.1.0-1242-g595fd27

-- Extra modules: -- Location (extra): /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv_contrib/modules

-- Version control (extra): 3.1.0-286-g4886ca6

-- Platform: -- Timestamp: 2016-08-31T16:11:19Z -- Host: Linux 2.6.32-504.el6.x86_64 x86_64 -- CMake: 2.8.12.2 -- CMake generator: Unix Makefiles -- CMake build tool: /usr/bin/gmake

-- Configuration: RELEASE

-- C/C++: -- Built as dynamic libs?: YES -- C++ Compiler: /usr/bin/c++ (ver 4.4.7) -- 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 -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 -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/cc -- C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -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 -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: /usr/lib64/libpng.so /usr/lib64/libtiff.so /usr/lib64/libjasper.so /usr/lib64/libjpeg.so gtk-x11-2.0 gdk-x11-2.0 atk-1.0 gio-2.0 pangoft2-1.0 pangocairo-1.0 gdk_pixbuf-2.0 cairo pango-1.0 freetype fontconfig gstvideo-0.10 gstapp-0.10 gstbase-0.10 gstriff-0.10 gstpbutils-0.10 gstreamer-0.10 gobject-2.0 gmodule-2.0 xml2 gthread-2.0 glib-2.0 dc1394 avformat avcodec Xv Xext xcb-shm xcb-xfixes xcb-render xcb-shape xcb X11 asound SDL lzma bz2 z swresample swscale avutil gphoto2 gphoto2_port /usr/lib64/libbz2.so /usr/local/palomar/anaconda/envs/astroconda/lib/libhdf5_hl.so /usr/local/palomar/anaconda/envs/astroconda/lib/libhdf5.so /usr/lib64/librt.so /usr/lib64/libpthread.so /usr/lib64/libz.so /usr/lib64/libdl.so /usr/lib64/libm.so dl m pthread rt cudart nppc nppi npps cufft -L/usr/local/cuda-7.5/lib64

-- 3rdparty dependencies: libwebp IlmImf libprotobuf

-- OpenCV modules: -- To be built: cudev core cudaarithm flann hdf imgproc ml reg surface_matching video cudabgsegm cudafilters cudaimgproc cudawarping dnn fuzzy imgcodecs photo shape videoio cudacodec highgui objdetect plot ts xobjdetect xphoto bgsegm bioinspired dpm face features2d line_descriptor saliency text calib3d ccalib cudafeatures2d cudalegacy cudaobjdetect cudaoptflow cudastereo datasets rgbd stereo structured_light superres tracking videostab xfeatures2d ximgproc aruco java optflow stitching python2 -- Disabled: world contrib_world -- Disabled by dependency: -

-- Unavailable: python3 viz cvv matlab sfm

-- GUI: -- QT: NO -- GTK+ 2.x: YES (ver 2.24.23) -- GThread : YES (ver 2.28.8) -- GtkGlExt: NO -- OpenGL support: NO

-- VTK support: NO

-- Media I/O: -- ZLib: /usr/lib64/libz.so (ver 1.2.3) -- JPEG: /usr/lib64/libjpeg.so (ver ) -- WEBP: build (ver 0.3.1) -- PNG: /usr/lib64/libpng.so (ver 1.2.49) -- TIFF: /usr/lib64/libtiff.so (ver 42 - 3.9.4) -- JPEG 2000: /usr/lib64/libjasper.so (ver 1.900.1) -- OpenEXR: build (ver 1.7.1) -- GDAL: NO

-- GDCM: NO

-- Video I/O: -- DC1394 1.x: NO -- DC1394 2.x: YES (ver 2.2.4) -- FFMPEG: YES -- codec: YES (ver 57.48.101) -- format: YES (ver 57.41.100) -- util: YES (ver 55.28.100) -- swscale: YES (ver 4.1.100) -- resample: NO -- gentoo-style: YES -- GStreamer:
-- base: YES (ver 0.10.29) -- video: YES (ver 0.10.29) -- app: YES (ver 0.10.29) -- riff: YES (ver 0.10.29) -- pbutils: YES (ver 0.10.29) -- OpenNI: NO -- OpenNI PrimeSensor Modules: NO -- OpenNI2: NO -- PvAPI: NO -- GigEVisionSDK: NO -- UniCap: NO -- UniCap ucil: NO -- V4L/V4L2: YES/YES -- XIMEA: NO -- Xine: NO

-- gPhoto2: YES

-- Parallel framework: pthreads

-- Other third-party libraries: -- Use IPP: 9.0.1 [9.0.1] -- at: /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/3rdparty/ippicv/unpack/ippicv_lnx -- Use IPP Async: NO -- Use VA: NO -- Use Intel VA-API/OpenCL: NO -- Use Lapack: NO -- Use Eigen: NO -- Use Cuda: YES (ver 7.5) -- Use OpenCL: YES -- Use OpenVX: NO

-- Use custom HAL: NO

-- NVIDIA CUDA -- Use CUFFT: YES -- Use CUBLAS: NO -- USE NVCUVID: NO -- NVIDIA GPU arch: 20 30 35 50 -- NVIDIA PTX archs:

-- Use fast math: NO

-- OpenCL: <dynamic loading="" of="" opencl="" library=""> -- Include path: /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/3rdparty/include/opencl/1.2 -- Use AMDFFT: NO

-- Use AMDBLAS: NO

-- Python 2: -- Interpreter: /usr/local/palomar/anaconda/envs/astroconda/bin/python2.7 (ver 2.7.12) -- Libraries: /usr/local/palomar/anaconda/lib -- numpy: /usr/local/palomar/anaconda/envs/astroconda/lib/python2.7/site-packages/numpy/core/include (ver 1.11.1)

-- packages path: lib/python2.7/site-packages

-- Python 3:

-- Interpreter: NO

-- Python (for build): /usr/local/palomar/anaconda/envs/astroconda/bin/python2.7

-- Java: -- ant: /usr/bin/ant (ver 1.9.7) -- JNI: /usr/local/palomar/java/jdk1.8.0_77/include /usr/local/palomar/java/jdk1.8.0_77/include/linux /usr/local/palomar/java/jdk1.8.0_77/include -- Java wrappers: YES

-- Java tests: YES

-- Matlab: Matlab not found or implicitly disabled

-- Documentation: -- Doxygen: /usr/bin/doxygen (ver 1.6.1)

-- PlantUML: NO

-- Tests and samples: -- Tests: YES -- Performance tests: YES

-- C/C++ Examples: NO

-- Install path: /usr/local

-- cvconfig.h is in: /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/build

-- -----------------------------------------------------------------

-- Configuring done CMake Warning at /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/cmake/OpenCVUtils.cmake:815 (add_library): Cannot generate a safe runtime search path for target opencv_hdf because files in some directories may conflict with libraries in implicit directories:

runtime library [libz.so.1] in /usr/lib64 may be hidden by files in:
  /usr/local/palomar/anaconda/envs/astroconda/lib

Some of these libraries may not be found correctly. Call Stack (most recent call first): /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/cmake/OpenCVModule.cmake:784 (ocv_add_library) /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/cmake/OpenCVModule.cmake:729 (_ocv_create_module) /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/cmake/OpenCVModule.cmake:940 (ocv_create_module) /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv_contrib/modules/hdf/CMakeLists.txt:31 (ocv_define_module)

-- Generating done -- Build files have been written to: /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/build

ERROR LOG

Determining if the include file sys/videoio.h exists failed with the following output: Change Dir: /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/gmake "cmTryCompileExec2352067033/fast" gmake[1]: Entering directory /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTryCompileExec2352067033.dir/build.make CMakeFiles/cmTryCompileExec2352067033.dir/build gmake[2]: Entering directory/home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2352067033.dir/CheckIncludeFile.c.o /usr/bin/cc -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 -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 -o CMakeFiles/cmTryCompileExec2352067033.dir/CheckIncludeFile.c.o -c /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:25: error: sys/videoio.h: No such file or directory gmake[2]: * [CMakeFiles/cmTryCompileExec2352067033.dir/CheckIncludeFile.c.o] Error 1 gmake[2]: Leaving directory /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTryCompileExec2352067033/fast] Error 2 gmake[1]: Leaving directory/home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/build/CMakeFiles/CMakeTmp'

Determining if the include file ffmpeg/avformat.h exists failed with the following output: Change Dir: /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/gmake "cmTryCompileExec2454513801/fast" gmake[1]: Entering directory /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/build/CMakeFiles/CMakeTmp' /usr/bin/gmake -f CMakeFiles/cmTryCompileExec2454513801.dir/build.make CMakeFiles/cmTryCompileExec2454513801.dir/build gmake[2]: Entering directory/home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2454513801.dir/CheckIncludeFile.c.o /usr/bin/cc -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 -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 -o CMakeFiles/cmTryCompileExec2454513801.dir/CheckIncludeFile.c.o -c /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:29: error: ffmpeg/avformat.h: No such file or directory gmake[2]: * [CMakeFiles/cmTryCompileExec2454513801.dir/CheckIncludeFile.c.o] Error 1 gmake[2]: Leaving directory /home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTryCompileExec2454513801/fast] Error 2 gmake[1]: Leaving directory/home/developer/andor_development_stargate/working/opencv/opencv_clone/opencv/build/CMakeFiles/CMakeTmp'