If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvShowImage
terminate called after throwing an instance of 'std::runtime_error' what(): OpenCV 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 cvShowImage, in file /www/wwwroot/http/capture_back/node_modules/opencv-build/opencv/opencv/modules/highgui/src/window.cpp, line 632, status -2 Aborted OS: Ubuntu16.04.3 python 2.7 Cmake 3.9 this Problem comfused me 4 days
Just build it alongside Qt. It was very confusing, but after about a week of googling I was able to fix it.
Use -DWITH_QT flag before compilation
export -DWITH_QT
And then rebuild the whole thing.
@steveunixson it still failed on ubuntu 18.0.4