4 Replies Latest reply on Jul 12, 2018 10:52 PM by Intel Corporation

    Getting OpenCv error while running application using caffe

    JosephT

      I am trying to run an application on Caffe framework. I am getting below errors mentioning packages are not installed. Can you please help in getting mentioned packages (libgtk2.0-dev and pkg-config) installed ?

       

      [u16364@c002 src]$ ./Crack ../images/cracks/12.jpg 1 1

      OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvShowImage, file /workdir/conda-build/opencv_1518427814303/work/opencv-3.1.0/modules/highgui/src/window.cpp, line 545

      terminate called after throwing an instance of 'cv::Exception'

        what():  /workdir/conda-build/opencv_1518427814303/work/opencv-3.1.0/modules/highgui/src/window.cpp:545: error: (-2) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cvShowImage

       

       

      Aborted