报错提示:
The function is not implemented. Rebuild the library with Windows, GTK+ 2.X or Cocoa 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'

解决方法:
你的opencv装的有问题。如果是自己编译的,就按照图上的提示重新搞一下依赖。如果是系统里的,就重新装一下。