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 fluent的在模拟压强时使用希望得到一些建议
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏
  • ¥15 模糊pid与pid仿真结果几乎一样
  • ¥15 java的GUI的运用
  • ¥15 Web.config连不上数据库
  • ¥15 我想付费需要AKM公司DSP开发资料及相关开发。
  • ¥15 怎么配置广告联盟瀑布流
  • ¥15 Rstudio 保存代码闪退