OpenCV中文网站

 找回密码
 立即注册
搜索
热搜: 安装 配置
查看: 2210|回复: 0

opencv-3.4.6显示图片,程序出错退出

[复制链接]
发表于 2019-5-6 23:00:52 | 显示全部楼层 |阅读模式
出现以下错误:
danny@danny-virtual-machine:/disk2/OpenCV/study/1$ ./DisplayImage 5.jpg
terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(3.4.6) /disk2/OpenCV/opencv-3.4.6/modules/highgui/src/window.cpp:617: error: (-2: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 function 'cvNamedWindow'

哪位大侠知道原因吗?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|OpenCV中文网站

GMT+8, 2024-4-25 16:56 , Processed in 0.013690 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表