2 sinat 18902949 sinat_18902949 于 2015.06.17 13:11 提问

运行基于qt的opencv程序时提示安装libgt2.0-dev

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 /work/tools/OpenCV-2.3.1/modules/highgui/src/window.cpp, line 275
terminate called after throwing an instance of 'cv::Exception'
what(): /work/tools/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

可是我这是用qmake编译出来的可执行文件啊,为什么还要安装gtk?另外我安装了pkg-config,qte的移植经测试也是正确的

1个回答

oyljerry
oyljerry   Ds   Rxr 2015.06.17 13:48

这个库的版本不支持你当前的os环境吧

sinat_18902949
sinat_18902949 那请问再怎么知道我的开发板OS支持哪种opencv库?
2 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片