csdnmuzzilee 2015-06-17 05:11 采纳率: 0%
浏览 2053

运行基于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 2015-06-17 05:48
    关注

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

    评论

报告相同问题?

悬赏问题

  • ¥15 高德地图点聚合中Marker的位置无法实时更新
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办