The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support.
来源:互联网 发布:欧亚联盟知乎 编辑:程序博客网 时间:2024/05/18 01:46
Ubuntu14.04安装好opencv3.0.0之后,进行测试:
$./DisplayImage lena.jpg
出现以下问题:
OpenCV Error: Unspecified error (The function is notimplemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. Ifyou are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-runcmake or configure script) in cvNamedWindow, file/home/aborn/software/OpenCV-3.0.0/modules/highgui/src/window.cpp, line …
网上给的解释是: GTK+2.x要先于OpenCV安装(You should remove the current installation of opencv from yoursystem; rebuild your opencv lib after installing gtk dev lib in thecorrect path; and reinstall the compiled opencv lib. )
解决方法:
1.卸载opencv
(1)移除式卸载:apt-getremove 软件名1 软件名2 …;(移除软件包)
(2)清除式卸载:apt-get--purge remove 软件名1 软件名2...;(同时清除配置)
建议选择清除式卸载
(3)卸载不管用的话,直接到opencv解压目录把解压出的opencv包删掉
2.查看没安装的文件,没装的装上
之前安装时的命令:
sudo apt-get install build-essential cmakelibgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
查看方法:
$ dpkg –listfiles cmake(查询系统中属于cmake的文件)
$ dpkg –listfiles libgtk2.0-dev(查询系统中属于libgtk2.0-dev的文件)
$ dpkg –listfiles 其他包名
3.重新安装opencv并进行测试
可参考文章:Ubuntu14.04安装opencv3.0.0:
http://blog.csdn.net/qingyanyichen/article/details/51621982
- The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support.
- OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows,
- OpenCV Error: The function/feature is not implemented (OpenCV was built without SURF support) in cvE
- OpenCV Error: The function/feature is not implemented (OpenCV was built without SURF support) in cvE
- OpenCV Error: Unspecified error (The function is not implemented...
- OpenCV Error: Unspecified error (The function is not implemented...
- opencv3 + cuda opencv error: the function/feature is not implemented
- 解决易语言程序Not found the kernel library or the kernel library is invalid问题
- GP服务扩展模块错误the tool is not licensed,Dataset GPL0 does not exist or is not support解决方案
- This support library should not use a different version(x)than the compileSdkVersion(y)
- This support library should not use a different version(x)than the compileSdkVersion(y)
- windows下no swt-gtk-3550 or swt-gtk in swt.library.path, java.library.path or the jar的解决办法
- Using the Support Library
- Using the Support Library
- ORA-30553: The function is not deterministic
- Install the new caffe with support cuDNN library
- Material Design with the Android Design Support Library
- 解决问题:The directory '/Users/Parthenon/Library/Logs/pi' or its parent directory is not owned by the
- CSS笔记
- Linux 下MySQL的启动、关闭、重启
- Good Bye OI
- ObjectAnimatior 属性动画的相关属性
- Java并发编程—— 一个线程的内心独白
- The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support.
- C++动态内存分配及动态数组的相关问题
- MyEclipse无法自动编译
- C语言结构体访问"."与"->"的区别
- 读《如何阅读一本书》乱摘
- Java输出数组的内容
- JAVA正则表达式匹配,替换,查找,切割
- CDN原理简介
- Hadoop:Hadoop单机伪分布式的安装和配置