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/robik/Downloads/Java/OpenCV-2.3.1/modules/highgui/src/window.cpp,
line 275 terminate called after throwing an instance of 'cv::Exception' what(): /home/robik/Downloads/Java/OpenCV-2.3.1/modules/highgui/src/window.cpp:275: 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
这是因为缺少gtk,安装gtk 后,在重新编译安装opencv
gtk2.0
解决No package ‘gtk+-2.0′ found方法:yum install libgnomeui-devel
本文介绍了如何解决在Ubuntu或Debian上安装OpenCV时遇到的未实现函数错误。通过安装必要的GTK+2.x依赖包并重新编译OpenCV库来解决此问题。
5195

被折叠的 条评论
为什么被折叠?



