Ask Your Question

bitopen's profile - activity

2016-06-28 21:20:56 -0600 received badge  Famous Question (source)
2014-09-03 09:27:37 -0600 received badge  Notable Question (source)
2014-03-25 07:55:46 -0600 received badge  Popular Question (source)
2013-08-06 19:32:57 -0600 received badge  Editor (source)
2013-08-06 19:32:28 -0600 asked a question 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.