Topic
6 replies Latest Post - ‏2013-08-01T22:46:31Z by Frank_Blau
Frank_Blau
Frank_Blau
28 Posts
ACCEPTED ANSWER

Pinned topic OpenCV Toolkit Installation Issues

‏2013-07-22T18:50:50Z |

Has anyone got a successful install of the OpenCV Toolkit on Streams 3.1?

I am getting all sorts of compilation errors that don't really make sense.

Most seem to be around the lkib4vl library..., that the documentation says is at the EPEL repository, but is actually not. :(

 

Frank

  • KanatT.
    KanatT.
    13 Posts
    ACCEPTED ANSWER

    Re: OpenCV Toolkit Installation Issues

    ‏2013-07-22T21:56:46Z  in response to Frank_Blau

    Could you post the relevant portion of the error messages?

    • Frank_Blau
      Frank_Blau
      28 Posts
      ACCEPTED ANSWER

      Re: OpenCV Toolkit Installation Issues

      ‏2013-07-23T02:20:29Z  in response to KanatT.

      Sure...

      [root@rhel-dev release]# cmake -D CMAKE_BUILD_TYP​E=RELEASE -D CMAKE_INSTALL_REFIX=$OPEN_INSTALL_PATH ..
      -- Detected version of GNU GCC: 41 (401)
      -- checking for module 'gstreamer-base-0.10'
      --   package 'gstreamer-base-0.10' not found
      -- checking for module 'libdc1394-2'
      --   package 'libdc1394-2' not found
      -- checking for module 'libdc1394'
      --   package 'libdc1394' not found
      -- Looking for linux/videodev.h
      -- Looking for linux/videodev.h - not found
      -- Looking for linux/videodev2.h
      -- Looking for linux/videodev2.h - not found
      -- Looking for sys/videoio.h
      -- Looking for sys/videoio.h - 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
      -- Could NOT find PythonLibs  (missing:  PYTHON_INCLUDE_PATH)
      Traceback (most recent call last):
        File "<string>", line 1, in ?
      ImportError: No module named numpy.distutils
      -- 
      -- General configuration for OpenCV 2.4.4 =====================================
      --   Version control:               unknown
      -- 
      --   Platform:
      --     Host:                        Linux 2.6.18-308.el5 x86_64
      --     CMake:                       2.6.4
      --     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.1.2)
      --     C++ flags (Release):         -W -Wall -Wformat -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -msse3 -ffunction-sections -O3 -DNDEBUG  -DNDEBUG
      --     C++ flags (Debug):           -W -Wall -Wformat -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -msse3 -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG -ggdb3
      --     C Compiler:                  /usr/bin/gcc
      --     C flags (Release):           -W -Wall -Wformat -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -msse3 -ffunction-sections -O3 -DNDEBUG  -DNDEBUG
      --     C flags (Debug):             -W -Wall -Wformat -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -msse3 -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG -ggdb3
      --     Linker flags (Release):
      --     Linker flags (Debug):
      --     Precompiled headers:         NO
      -- 
      --   OpenCV modules:
      --     To be built:                 core imgproc flann highgui features2d calib3d ml video objdetect contrib nonfree photo legacy gpu stitching ts videostab
      --     Disabled:                    world
      --     Disabled by dependency:      -
      --     Unavailable:                 androidcamera java ocl python
      -- 
      --   GUI: 
      --     QT 4.x:                      NO
      --     GTK+ 2.x:                    YES (ver 2.10.4)
      --     GThread :                    YES (ver 2.12.3)
      --     GtkGlExt:                    NO
      --     OpenGL support:              NO
      -- 
      --   Media I/O: 
      --     ZLib:                        /lib64/libz.so (ver 1.2.3)
      --     JPEG:                        /usr/lib64/libjpeg.so (ver 62)
      --     PNG:                         /usr/lib64/libpng.so (ver 1.2.10)
      --     TIFF:                        /usr/lib64/libtiff.so (ver 42 - 3.8.2)
      --     JPEG 2000:                   /usr/local/lib/libjasper.a (ver 1.900.1)
      --     OpenEXR:                     build (ver 1.7.1)
      -- 
      --   Video I/O:
      --     DC1394 1.x:                  NO
      --     DC1394 2.x:                  NO
      --     FFMPEG:                      YES
      --       codec:                     YES (ver 55.18.102)
      --       format:                    YES (ver 55.12.100)
      --       util:                      YES (ver 52.38.100)
      --       swscale:                   YES (ver 2.3.100)
      --       gentoo-style:              YES
      --     GStreamer:                   NO
      --     OpenNI:                      NO
      --     OpenNI PrimeSensor Modules:  NO
      --     PvAPI:                       NO
      --     GigEVisionSDK:               NO
      --     UniCap:                      NO
      --     UniCap ucil:                 NO
      --     V4L/V4L2:                    Using libv4l (ver 0.8.9)
      --     XIMEA:                       NO
      --     Xine:                        NO
      -- 
      --   Other third-party libraries:
      --     Use IPP:                     NO
      --     Use Eigen:                   NO
      --     Use TBB:                     NO
      --     Use OpenMP:                  NO
      --     Use GCD                      NO
      --     Use Concurrency              NO
      --     Use C=:                      NO
      --     Use Cuda:                    NO
      --     Use OpenCL:                  NO
      -- 
      --   Python:
      --     Interpreter:                 /usr/bin/python2.4 (ver 2.4)
      -- 
      --   Java:
      --     ant:                         NO
      --     JNI:                         NO
      --     Java tests:                  YES
      -- 
      --   Documentation:
      --     Build Documentation:         NO
      --     Sphinx:                      NO
      --     PdfLaTeX compiler:           NO
      -- 
      --   Tests and samples:
      --     Tests:                       YES
      --     Performance tests:           YES
      --     C/C++ Examples:              NO
      -- 
      --   Install path:                  /usr/local
      -- 
      --   cvconfig.h is in:              /root/Desktop/opencv-2.4.4/release
      -- -----------------------------------------------------------------
      -- 
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /root/Desktop/opencv-2.4.4/release
      -------------------------------------------------------------------------------------------

       

      And then on make:

      [root@rhel-dev release]# make
      [  0%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/Half/half.cpp.o
      [  0%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/Iex/IexThrowErrnoExc.cpp.o
      [  0%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/Iex/IexBaseExc.cpp.o
      [  0%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmThread/IlmThreadSemaphorePosixCompat.cpp.o
      [  0%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmThread/IlmThreadMutex.cpp.o
      [  0%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmThread/IlmThreadMutexPosix.cpp.o
      [  0%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmThread/IlmThreadSemaphorePosix.cpp.o
      [  1%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmThread/IlmThreadPosix.cpp.o
      [  1%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmThread/IlmThread.cpp.o
      [  1%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmThread/IlmThreadPool.cpp.o
      /root/Desktop/opencv-2.4.4/3rdparty/openexr/IlmThread/IlmThreadPool.cpp:83: warning: 'IlmThread::ThreadPool::Data' has a field 'IlmThread::ThreadPool::Data::threads' whose type uses the anonymous namespace
      [  1%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmThread/IlmThreadSemaphore.cpp.o
      [  1%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/Imath/ImathRandom.cpp.o
      [  1%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/Imath/ImathColorAlgo.cpp.o
      [  1%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/Imath/ImathMatrixAlgo.cpp.o
      [  2%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/Imath/ImathVec.cpp.o
      [  2%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/Imath/ImathFun.cpp.o
      [  2%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfRgbaFile.cpp.o
      [  2%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfStringAttribute.cpp.o
      [  2%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfCompressionAttribute.cpp.o
      [  2%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfKeyCode.cpp.o
      [  2%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfTileOffsets.cpp.o
      [  3%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfTiledInputFile.cpp.o
      /root/Desktop/opencv-2.4.4/3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp:189: warning: 'Imf::TiledInputFile::Data' has a field 'Imf::TiledInputFile::Data::slices' whose type uses the anonymous namespace
      /root/Desktop/opencv-2.4.4/3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp:189: warning: 'Imf::TiledInputFile::Data' has a field 'Imf::TiledInputFile::Data::tileBuffers' whose type uses the anonymous namespace
      [  3%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfRleCompressor.cpp.o
      [  3%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfTiledMisc.cpp.o
      [  3%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfDoubleAttribute.cpp.o
      [  3%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfMatrixAttribute.cpp.o
      [  3%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfInputFile.cpp.o
      [  3%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfPreviewImage.cpp.o
      [  4%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfChromaticitiesAttribute.cpp.o
      [  4%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfRgbaYca.cpp.o
      [  4%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfTestFile.cpp.o
      [  4%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfIntAttribute.cpp.o
      [  4%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfKeyCodeAttribute.cpp.o
      [  4%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfIO.cpp.o
      [  4%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfB44Compressor.cpp.o
      [  5%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfTileDescriptionAttribute.cpp.o
      [  5%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfPizCompressor.cpp.o
      [  5%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfRational.cpp.o
      [  5%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfEnvmap.cpp.o
      [  5%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfLut.cpp.o
      [  5%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfCRgbaFile.cpp.o
      [  5%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfStringVectorAttribute.cpp.o
      [  6%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfMultiView.cpp.o
      [  6%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfWav.cpp.o
      [  6%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfFramesPerSecond.cpp.o
      [  6%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfLineOrderAttribute.cpp.o
      [  6%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/b44ExpLogTable.cpp.o
      [  6%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfChannelListAttribute.cpp.o
      [  6%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfHeader.cpp.o
      [  7%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfConvert.cpp.o
      [  7%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfCompressor.cpp.o
      [  7%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfVecAttribute.cpp.o
      [  7%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfChromaticities.cpp.o
      [  7%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfFloatAttribute.cpp.o
      [  7%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfTiledRgbaFile.cpp.o
      [  7%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfAcesFile.cpp.o
      [  8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfChannelList.cpp.o
      [  8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfTimeCodeAttribute.cpp.o
      [  8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfStdIO.cpp.o
      [  8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfHuf.cpp.o
      [  8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfScanLineInputFile.cpp.o
      /root/Desktop/opencv-2.4.4/3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp:178: warning: 'Imf::ScanLineInputFile::Data' has a field 'Imf::ScanLineInputFile::Data::slices' whose type uses the anonymous namespace
      /root/Desktop/opencv-2.4.4/3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp:178: warning: 'Imf::ScanLineInputFile::Data' has a field 'Imf::ScanLineInputFile::Data::lineBuffers' whose type uses the anonymous namespace
      [  8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfPreviewImageAttribute.cpp.o
      [  8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfZipCompressor.cpp.o
      [  8%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfStandardAttributes.cpp.o
      [  9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfRationalAttribute.cpp.o
      [  9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfVersion.cpp.o
      [  9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfMisc.cpp.o
      [  9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfBoxAttribute.cpp.o
      [  9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfOpaqueAttribute.cpp.o
      [  9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfTiledOutputFile.cpp.o
      /root/Desktop/opencv-2.4.4/3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp:233: warning: 'Imf::TiledOutputFile::Data' has a field 'Imf::TiledOutputFile::Data::slices' whose type uses the anonymous namespace
      /root/Desktop/opencv-2.4.4/3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp:233: warning: 'Imf::TiledOutputFile::Data' has a field 'Imf::TiledOutputFile::Data::tileBuffers' whose type uses the anonymous namespace
      /root/Desktop/opencv-2.4.4/3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp:233: warning: 'Imf::TiledOutputFile::Data' has a field 'Imf::TiledOutputFile::Data::tileMap' whose type uses the anonymous namespace
      /root/Desktop/opencv-2.4.4/3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp:233: warning: 'Imf::TiledOutputFile::Data' has a field 'Imf::TiledOutputFile::Data::nextTileToWrite' whose type uses the anonymous namespace
      [  9%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfEnvmapAttribute.cpp.o
      [ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfAttribute.cpp.o
      [ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfThreading.cpp.o
      [ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfFrameBuffer.cpp.o
      [ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfTimeCode.cpp.o
      [ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfOutputFile.cpp.o
      /root/Desktop/opencv-2.4.4/3rdparty/openexr/IlmImf/ImfOutputFile.cpp:170: warning: 'Imf::OutputFile::Data' has a field 'Imf::OutputFile::Data::slices' whose type uses the anonymous namespace
      /root/Desktop/opencv-2.4.4/3rdparty/openexr/IlmImf/ImfOutputFile.cpp:170: warning: 'Imf::OutputFile::Data' has a field 'Imf::OutputFile::Data::lineBuffers' whose type uses the anonymous namespace
      [ 10%] Building CXX object 3rdparty/openexr/CMakeFiles/IlmImf.dir/IlmImf/ImfPxr24Compressor.cpp.o
      Linking CXX static library ../lib/libIlmImf.a
      [ 10%] Built target IlmImf
      [ 10%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/array.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 11%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matop.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 11%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opengl_interop_deprecated.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 11%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/precomp.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 11%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/src/system.cpp:907:19: warning: no newline at end of file
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 11%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opengl_interop.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 11%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cmdparser.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 11%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/out.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 12%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 12%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/datastructs.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 12%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lapack.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/src/lapack.cpp:1853:2: warning: no newline at end of file
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 12%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/src/stat.cpp: In function 'void cv::minMaxIdx(const cv::_InputArray&, double*, double*, int*, int*, const cv::_InputArray&)':
      /root/Desktop/opencv-2.4.4/modules/core/src/stat.cpp:804: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      /root/Desktop/opencv-2.4.4/modules/core/src/stat.cpp:804: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      /root/Desktop/opencv-2.4.4/modules/core/src/stat.cpp:806: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      /root/Desktop/opencv-2.4.4/modules/core/src/stat.cpp:806: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      /root/Desktop/opencv-2.4.4/modules/core/src/stat.cpp: In function 'float cv::normL1_(const float*, const float*, int)':
      /root/Desktop/opencv-2.4.4/modules/core/src/stat.cpp:896: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      [ 12%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/tables.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 12%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/gl_core_3_1.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 12%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matmul.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 13%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mathfuncs.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/src/mathfuncs.cpp: In function 'void cv::patchNaNs(const cv::_OutputArray&, double)':
      /root/Desktop/opencv-2.4.4/modules/core/src/mathfuncs.cpp:2196: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      [ 13%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/src/persistence.cpp: In function 'void icvWriteMatND(CvFileStorage*, const char*, const void*, CvAttrList)':
      /root/Desktop/opencv-2.4.4/modules/core/src/persistence.cpp:3635: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      /root/Desktop/opencv-2.4.4/modules/core/src/persistence.cpp: In function 'void cv::read(const cv::FileNode&, cv::Mat&, const cv::Mat&)':
      /root/Desktop/opencv-2.4.4/modules/core/src/persistence.cpp:5531: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      /root/Desktop/opencv-2.4.4/modules/core/src/persistence.cpp:5536: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      [ 13%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/gpumat.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 13%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/rand.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 13%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 13%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/drawing.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 13%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/alloc.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 14%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 14%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/dxt.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 14%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/copy.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/src/copy.cpp: In member function 'cv::Mat& cv::Mat::operator=(const cv::Scalar&)':
      /root/Desktop/opencv-2.4.4/modules/core/src/copy.cpp:309: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      [ 14%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/arithm.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 14%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/src/convert.cpp:1374:19: warning: no newline at end of file
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      Linking CXX shared library ../../lib/libopencv_core.so
      [ 14%] Built target opencv_core
      [ 14%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/subdivision2d.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 14%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 14%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/matchcontours.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 14%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/thresh.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 14%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/gabor.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 14%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/rotcalipers.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 15%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/moments.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 15%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/corner.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 15%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/convhull.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 15%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/precomp.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 15%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/hough.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 15%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/segmentation.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 15%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/cornersubpix.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 16%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/canny.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 16%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/histogram.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/imgproc/src/histogram.cpp: In function 'void cvReleaseHist(CvHistogram**)':
      /root/Desktop/opencv-2.4.4/modules/imgproc/src/histogram.cpp:2228: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      [ 16%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/smooth.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/imgproc/src/smooth.cpp: In member function 'virtual void cv::BilateralFilter_8u_Invoker::operator()(const cv::Range&) const':
      /root/Desktop/opencv-2.4.4/modules/imgproc/src/smooth.cpp:1743: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      /root/Desktop/opencv-2.4.4/modules/imgproc/src/smooth.cpp:1793: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      /root/Desktop/opencv-2.4.4/modules/imgproc/src/smooth.cpp: In member function 'virtual void cv::BilateralFilter_32f_Invoker::operator()(const cv::Range&) const':
      /root/Desktop/opencv-2.4.4/modules/imgproc/src/smooth.cpp:1966: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      /root/Desktop/opencv-2.4.4/modules/imgproc/src/smooth.cpp:2025: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      [ 16%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/utils.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 16%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/generalized_hough.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 16%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/accum.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 16%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/shapedescr.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 17%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/phasecorr.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 17%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/templmatch.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 17%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/tables.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 17%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 17%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/geometry.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 17%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/linefit.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 17%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/featureselect.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 18%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/sumpixels.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 18%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/grabcut.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 18%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/emd.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 18%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/floodfill.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 18%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/morph.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 18%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/contours.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 18%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/distransform.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 19%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/samplers.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 19%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/filter.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 19%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/undistort.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 19%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/approx.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 19%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/pyramids.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 19%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/deriv.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      Linking CXX shared library ../../lib/libopencv_imgproc.so
      [ 19%] Built target opencv_imgproc
      [ 19%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 19%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_images.cpp.o
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      [ 19%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o
      In file included from /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg.cpp:45:
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp:53: warning: ignoring #pragma GCC diagnostic [-Wunknown-pragmas]
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp:1024: error: use of enum 'CodecID' without previous declaration
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp:1024: error: invalid type in declaration before ';' token
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp:1076: error: 'CodecID' has not been declared
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp: In function 'AVStream* icv_add_video_stream_FFMPEG(AVFormatContext*, int, int, int, int, double, int)':
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp:1109: error: invalid conversion from 'int' to 'AVCodecID'
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function 'bool CvVideoWriter_FFMPEG::open(const char*, int, double, int, int, bool)':
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp:1453: error: 'CodecID' was not declared in this scope
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp:1453: error: expected `;' before 'codec_id'
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp:1498: error: 'codec_id' was not declared in this scope
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp:1518: error: 'codec_id' was not declared in this scope
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp:1547: error: 'codec_id' was not declared in this scope
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp:1597: warning: converting to 'int64_t' from 'double'
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp: At global scope:
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp:1764: error: 'CodecID' has not been declared
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp:1811: error: 'CodecID' has not been declared
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp: In static member function 'static AVStream* OutputMediaStream_FFMPEG::addVideoStream(AVFormatContext*, int, int, int, int, double, AVPixelFormat)':
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp:1827: error: invalid conversion from 'int' to 'AVCodecID'
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function 'bool OutputMediaStream_FFMPEG::open(const char*, int, int, double)':
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp:1931: error: 'CodecID' was not declared in this scope
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp:1931: error: expected `;' before 'codec_id'
      /root/Desktop/opencv-2.4.4/modules/highgui/src/cap_ffmpeg_impl.hpp:1953: error: 'codec_id' was not declared in this scope
      make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o] Error 1
      make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
      make: *** [all] Error 2
      [root@rhel-dev release]# 
       
  • UXC9_Edward_Pring
    UXC9_Edward_Pring
    1 Post
    ACCEPTED ANSWER

    Re: OpenCV Toolkit Installation Issues

    ‏2013-07-24T02:26:47Z  in response to Frank_Blau

    The errors at the end of your console log all seem to be related to FFmpeg.  If you built and installed FFmpeg according to the instructions, its files are in /usr/local, and you need to export a couple of environment variables for OpenCV to find them, like this:

    export OPENCV_INSTALL_PATH=/usr/local

    export LD_LIBRARY_PATH=$OPENCV_INSTALL_PATH/lib:$LD_LIBRARY_PATH

     

    -- Ed
    • Frank_Blau
      Frank_Blau
      28 Posts
      ACCEPTED ANSWER

      Re: OpenCV Toolkit Installation Issues

      ‏2013-07-24T14:31:05Z  in response to UXC9_Edward_Pring

      I installed ffmpeg according to the instructions, here is the output from the two commands for formats and codecs

       

      [root@rhel-dev release]# ls /usr/local
      bin  etc  games  include  lib  lib64  libexec  man  sbin  share  src
      [root@rhel-dev release]# ffmpeg -formats
      ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers
        built on Jul 21 2013 20:34:11 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-52)
        configuration: --prefix=/usr/local --enable-shared --enable-swscale
        libavutil      52. 38.100 / 52. 38.100
        libavcodec     55. 18.102 / 55. 18.102
        libavformat    55. 12.100 / 55. 12.100
        libavdevice    55.  3.100 / 55.  3.100
        libavfilter     3. 79.101 /  3. 79.101
        libswscale      2.  3.100 /  2.  3.100
        libswresample   0. 17.102 /  0. 17.102
      File formats:
       D. = Demuxing supported
       .E = Muxing supported
       --
        E 3g2             3GP2 (3GPP2 file format)
        E 3gp             3GP (3GPP file format)
       D  4xm             4X Technologies
        E a64             a64 - video for Commodore 64
       D  aac             raw ADTS AAC (Advanced Audio Coding)
       DE ac3             raw AC-3
       D  act             ACT Voice file format
       D  adf             Artworx Data Format
       D  adp             ADP
        E adts            ADTS AAC (Advanced Audio Coding)
       DE adx             CRI ADX
       D  aea             MD STUDIO audio
       D  afc             AFC
       DE aiff            Audio IFF
       DE alaw            PCM A-law
       DE alsa            ALSA audio output
       DE amr             3GPP AMR
       D  anm             Deluxe Paint Animation
       D  apc             CRYO APC
       D  ape             Monkey's Audio
       D  aqtitle         AQTitle subtitles
       DE asf             ASF (Advanced / Active Streaming Format)
        E asf_stream      ASF (Advanced / Active Streaming Format)
       DE ass             SSA (SubStation Alpha) subtitle
       DE ast             AST (Audio Stream)
       DE au              Sun AU
       DE avi             AVI (Audio Video Interleaved)
        E avm2            SWF (ShockWave Flash) (AVM2)
       D  avr             AVR (Audio Visual Research)
       D  avs             AVS
       D  bethsoftvid     Bethesda Softworks VID
       D  bfi             Brute Force & Ignorance
       D  bin             Binary text
       D  bink            Bink
       DE bit             G.729 BIT file format
       D  bmv             Discworld II BMV
       D  boa             Black Ops Audio
       D  brstm           BRSTM (Binary Revolution Stream)
       D  c93             Interplay C93
       DE caf             Apple CAF (Core Audio Format)
       DE cavsvideo       raw Chinese AVS (Audio Video Standard) video
       D  cdg             CD Graphics
       D  cdxl            Commodore CDXL video
       D  concat          Virtual concatenation script
        E crc             CRC testing
       DE data            raw data
       DE daud            D-Cinema audio
       D  dfa             Chronomaster DFA
       DE dirac           raw Dirac
       DE dnxhd           raw DNxHD (SMPTE VC-3)
       D  dsicin          Delphine Software International CIN
       DE dts             raw DTS
       D  dtshd           raw DTS-HD
       DE dv              DV (Digital Video)
       D  dv1394          DV1394 A/V grab
        E dvd             MPEG-2 PS (DVD VOB)
       D  dxa             DXA
       D  ea              Electronic Arts Multimedia
       D  ea_cdata        Electronic Arts cdata
       DE eac3            raw E-AC-3
       D  epaf            Ensoniq Paris Audio File
       DE f32be           PCM 32-bit floating-point big-endian
       DE f32le           PCM 32-bit floating-point little-endian
        E f4v             F4V Adobe Flash Video
       DE f64be           PCM 64-bit floating-point big-endian
       DE f64le           PCM 64-bit floating-point little-endian
       D  fbdev           Linux framebuffer
       DE ffm             FFM (FFserver live feed)
       DE ffmetadata      FFmpeg metadata in text
       D  film_cpk        Sega FILM / CPK
       DE filmstrip       Adobe Filmstrip
       DE flac            raw FLAC
       D  flic            FLI/FLC/FLX animation
       DE flv             FLV (Flash Video)
        E framecrc        framecrc testing
        E framemd5        Per-frame MD5 testing
       D  frm             Megalux Frame
       DE g722            raw G.722
       DE g723_1          raw G.723.1
       D  g729            G.729 raw format demuxer
       DE gif             GIF Animation
       D  gsm             raw GSM
       DE gxf             GXF (General eXchange Format)
       DE h261            raw H.261
       DE h263            raw H.263
       DE h264            raw H.264 video
        E hls             Apple HTTP Live Streaming
       D  hls,applehttp   Apple HTTP Live Streaming
       DE ico             Microsoft Windows ICO
       D  idcin           id Cinematic
       D  idf             iCE Draw File
       D  iff             IFF (Interchange File Format)
       DE ilbc            iLBC storage
       DE image2          image2 sequence
       DE image2pipe      piped image2 sequence
       D  ingenient       raw Ingenient MJPEG
       D  ipmovie         Interplay MVE
        E ipod            iPod H.264 MP4 (MPEG-4 Part 14)
       DE ircam           Berkeley/IRCAM/CARL Sound Format
        E ismv            ISMV/ISMA (Smooth Streaming)
       D  iss             Funcom ISS
       D  iv8             IndigoVision 8000 video
       DE ivf             On2 IVF
       DE jacosub         JACOsub subtitle format
       D  jv              Bitmap Brothers JV
       DE latm            LOAS/LATM
       D  lavfi           Libavfilter virtual input device
       D  lmlm4           raw lmlm4
       D  loas            LOAS AudioSyncStream
       D  lvf             LVF
       D  lxf             VR native stream (LXF)
       DE m4v             raw MPEG-4 video
        E matroska        Matroska
       D  matroska,webm   Matroska / WebM
        E md5             MD5 testing
       D  mgsts           Metal Gear Solid: The Twin Snakes
       DE microdvd        MicroDVD subtitle format
       DE mjpeg           raw MJPEG video
        E mkvtimestamp_v2 extract pts as timecode v2 format, as defined by mkvtoolnix
       DE mlp             raw MLP
       D  mm              American Laser Games MM
       DE mmf             Yamaha SMAF
        E mov             QuickTime / MOV
       D  mov,mp4,m4a,3gp,3g2,mj2 QuickTime / MOV
        E mp2             MP2 (MPEG audio layer 2)
       DE mp3             MP3 (MPEG audio layer 3)
        E mp4             MP4 (MPEG-4 Part 14)
       D  mpc             Musepack
       D  mpc8            Musepack SV8
       DE mpeg            MPEG-1 Systems / MPEG program stream
        E mpeg1video      raw MPEG-1 video
        E mpeg2video      raw MPEG-2 video
       DE mpegts          MPEG-TS (MPEG-2 Transport Stream)
       D  mpegtsraw       raw MPEG-TS (MPEG-2 Transport Stream)
       D  mpegvideo       raw MPEG video
        E mpjpeg          MIME multipart JPEG
       D  mpl2            MPL2 subtitles
       D  mpsub           MPlayer subtitles
       D  msnwctcp        MSN TCP Webcam stream
       D  mtv             MTV
       DE mulaw           PCM mu-law
       D  mv              Silicon Graphics Movie
       D  mvi             Motion Pixels MVI
       DE mxf             MXF (Material eXchange Format)
        E mxf_d10         MXF (Material eXchange Format) D-10 Mapping
       D  mxg             MxPEG clip
       D  nc              NC camera feed
       D  nistsphere      NIST SPeech HEader REsources
       D  nsv             Nullsoft Streaming Video
        E null            raw null video
       DE nut             NUT
       D  nuv             NuppelVideo
       DE ogg             Ogg
       DE oma             Sony OpenMG audio
       DE oss             OSS (Open Sound System) playback
       D  paf             Amazing Studio Packed Animation File
       D  pjs             PJS (Phoenix Japanimation Society) subtitles
       D  pmp             Playstation Portable PMP
        E psp             PSP MP4 (MPEG-4 Part 14)
       D  psxstr          Sony Playstation STR
       D  pva             TechnoTrend PVA
       D  pvf             PVF (Portable Voice Format)
       D  qcp             QCP
       D  r3d             REDCODE R3D
       DE rawvideo        raw video
       D  realtext        RealText subtitle format
       D  redspark        RedSpark
       D  rl2             RL2
       DE rm              RealMedia
       DE roq             raw id RoQ
       D  rpl             RPL / ARMovie
       D  rsd             GameCube RSD
       DE rso             Lego Mindstorms RSO
       DE rtp             RTP output
       DE rtsp            RTSP output
       DE s16be           PCM signed 16-bit big-endian
       DE s16le           PCM signed 16-bit little-endian
       DE s24be           PCM signed 24-bit big-endian
       DE s24le           PCM signed 24-bit little-endian
       DE s32be           PCM signed 32-bit big-endian
       DE s32le           PCM signed 32-bit little-endian
       DE s8              PCM signed 8-bit
       D  sami            SAMI subtitle format
       DE sap             SAP output
       D  sbg             SBaGen binaural beats script
        E sdl             SDL output device
       D  sdp             SDP
        E segment         segment
       D  shn             raw Shorten
       D  siff            Beam Software SIFF
       DE smjpeg          Loki SDL MJPEG
       D  smk             Smacker
        E smoothstreaming Smooth Streaming Muxer
       D  smush           LucasArts Smush
       D  sol             Sierra SOL
       DE sox             SoX native
       DE spdif           IEC 61937 (used on S/PDIF - IEC958)
       DE srt             SubRip subtitle
        E stream_segment,ssegment streaming segment muxer
       D  subviewer       SubViewer subtitle format
       D  subviewer1      SubViewer v1 subtitle format
        E svcd            MPEG-2 PS (SVCD)
       DE swf             SWF (ShockWave Flash)
       D  tak             raw TAK
       D  tedcaptions     TED Talks captions
        E tee             Multiple muxer tee
       D  thp             THP
       D  tiertexseq      Tiertex Limited SEQ
       D  tmv             8088flex TMV
       DE truehd          raw TrueHD
       D  tta             TTA (True Audio)
       D  tty             Tele-typewriter
       D  txd             Renderware TeXture Dictionary
       DE u16be           PCM unsigned 16-bit big-endian
       DE u16le           PCM unsigned 16-bit little-endian
       DE u24be           PCM unsigned 24-bit big-endian
       DE u24le           PCM unsigned 24-bit little-endian
       DE u32be           PCM unsigned 32-bit big-endian
       DE u32le           PCM unsigned 32-bit little-endian
       DE u8              PCM unsigned 8-bit
        E v4l2            Video4Linux2 output device
       DE vc1             raw VC-1 video
       DE vc1test         VC-1 test bitstream
        E vcd             MPEG-1 Systems / MPEG program stream (VCD)
       D  video4linux2,v4l2 Video4Linux2 device grab
       D  vivo            Vivo
       D  vmd             Sierra VMD
        E vob             MPEG-2 PS (VOB)
       D  vobsub          VobSub subtitle format
       DE voc             Creative Voice
       D  vplayer         VPlayer subtitles
       D  vqf             Nippon Telegraph and Telephone Corporation (NTT) TwinVQ
       DE w64             Sony Wave64
       DE wav             WAV / WAVE (Waveform Audio)
       D  wc3movie        Wing Commander III movie
        E webm            WebM
       DE webvtt          WebVTT subtitle
       D  wsaud           Westwood Studios audio
       D  wsvqa           Westwood Studios VQA
       DE wtv             Windows Television (WTV)
       DE wv              raw WavPack
       D  xa              Maxis XA
       D  xbin            eXtended BINary text (XBIN)
       D  xmv             Microsoft XMV
       D  xwma            Microsoft xWMA
       D  yop             Psygnosis YOP
       DE yuv4mpegpipe    YUV4MPEG pipe
      [root@rhel-dev release]# ffmpeg codecs
      ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers
        built on Jul 21 2013 20:34:11 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-52)
        configuration: --prefix=/usr/local --enable-shared --enable-swscale
        libavutil      52. 38.100 / 52. 38.100
        libavcodec     55. 18.102 / 55. 18.102
        libavformat    55. 12.100 / 55. 12.100
        libavdevice    55.  3.100 / 55.  3.100
        libavfilter     3. 79.101 /  3. 79.101
        libswscale      2.  3.100 /  2.  3.100
        libswresample   0. 17.102 /  0. 17.102
      [NULL @ 0x5413080] Unable to find a suitable output format for 'codecs'
      codecs: Invalid argument
       
      • PaulG
        PaulG
        1 Post
        ACCEPTED ANSWER

        Re: OpenCV Toolkit Installation Issues

        ‏2013-07-31T21:02:54Z  in response to Frank_Blau

        I believe OpenCV 2.4.4 requires GCC 4.4.x or later. It might be helpful to check package versions and see if they meet OpenCV standards

        • Frank_Blau
          Frank_Blau
          28 Posts
          ACCEPTED ANSWER

          Re: OpenCV Toolkit Installation Issues

          ‏2013-08-01T22:46:31Z  in response to PaulG

          Tried that. Upgraded to  4.4.7 20120313 (Red Hat 4.4.7-1)

          cmake dies with:

           

          cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=$OPENCV_INSTALL_PATH -D OPENCV_EXTRA_C_FLAGS="-DHAVE_CAMV4L -DHAVE_CAMV4L2" .. 

          -- The CXX compiler identification is unknown
          -- The C compiler identification is GNU
          -- Check for working CXX compiler: /usr/bin/gcc44
          -- Check for working CXX compiler: /usr/bin/gcc44 -- broken
          -- Configuring incomplete, errors occurred!

          Did a make clean and make and that didn't come up again. But then all the same errors above came back almost exactly the same. This one comes up in almost every module's compilation:

           

          /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1306: warning: 'class cv::_InputArray' has virtual functions but non-virtual destructor
          /root/Desktop/opencv-2.4.4/modules/core/include/opencv2/core/core.hpp:1393: warning: 'class cv::_OutputArray' has virtual functions but non-virtual destructor
           

          I even tried going back to ffmpeg 1.1.3 so I could match the documentation.

          I am about to give up and just declare OpenCV not compatible with RHEL5.