OpenCV Error: Unspecifiederror 解决

来源:互联网 发布:sopcast网络电视官网 编辑:程序博客网 时间:2024/06/13 10:32

OpenCV Error: Unspecifiederror (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-devand pkg-config, then re-run cmake or configure script) in cvShowImage, file/home/media/Downloads/caffe/opencv-3.2.0/modules/highgui/src/window.cpp, line583

terminate called afterthrowing an instance of 'cv::Exception'

  what(): /home/media/Downloads/caffe/opencv-3.2.0/modules/highgui/src/window.cpp:583: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, installlibgtk2.0-dev and pkg-config, then re-run cmake or configure script in functioncvShowImage


centos解决:sudo yum install -y gtk2-devel

原创粉丝点击