OpenCV: what() function is not implemented
I'm using opencv with Ubuntu 12.04, so GTK3. The problem is that if I execute my opencv program (taken from the documentation) it throws the following error:
OpenCV Error: 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 cvNamedWindow, file /home/bitliner/my-home/librerie/c/opencv-2.4.6.1/modules/highgui/src/window.cpp, line 483
terminate called after throwing an instance of 'cv::Exception' what(): /home/bitliner/my-home/librerie/c/opencv-2.4.6.1/modules/highgui/src/window.cpp:483: 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, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cvNamedWindow
Aborted (core dumped)
I cannot install the packet libgtk2.0-dev.
Looking at the current openCV implementation index, this is not an openCV function. So it is normal that it isn't implemented. Could you provide code that calls it?