I installed open cv on my Ubuntu 11.04. But whenever I try to run some code, I get the following error:
OpenCV error: Unspecified error (function not implemented). Rebuild the library with support for Windows, GTK + 2.x or Carbon. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, -run cmake or configure the script) in cvNamedWindow, file / home / robik / Downloads / Java / OpenCV -2.3.1 / modules / highgui / src /window.cpp, line 275 terminate call after calling the instance of 'cv :: Exception' what (): / home / robik / Downloads / Java / OpenCV-2.3.1 / modules / highgui / src / window.cpp: 275: error : (-2) Function not implemented. Rebuild the library with support for Windows, GTK + 2.x or Carbon. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure the script in the cvNamedWindow function
I already have libgtk2.0-dev and pkg-config in my OS. What should I do?
source
share