OpenCV中文网站

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 安装 配置
查看: 233|回复: 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, 2019-5-27 09:05 , Processed in 0.025540 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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