您的位置:首页 > 运维架构

OpenCV Error: Unspecifiederror 解决

2017-08-24 14:25 267 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: