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