各位opencv用户帮帮我,cvShowImage模块无法显示图片

问题相关代码

图像宽为1200,高为674,通道数为3
遍历图像用时:0.00600271 秒。
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(3.4.6) /home/tao/opencv-3.4.6/modules/highgui/src/window.cpp:634: error: (-2: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 function '@cvShowImage'
已放弃 (核心已转储)

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

明显的越界了,检查你的数据

图有没有读取出来的呀?读出来了不就可以显示了吗