terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(3.4.8) /home/vision3d/software/opencv-3.4.8/modules/highgui/src/window.cpp:658: 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'
解决办法:
sudo apt-get install libgtk2.0-dev
sudo apt-get install pkg-config