OpenCV Error: Unspecified error (The function is not implemented...
来源:互联网 发布:网络剧影视推荐狗 编辑:程序博客网 时间:2024/05/21 06:17
初始安装好opencv2.4.1后测试时出现以下问题:(下面第一行为测试语句,系统为Ubuntu12.04)
----想不通的是明明已经安装了GTK+2.x这些东东
~$./DisplayImage lena.jpg
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 /home/aborn/software/OpenCV-2.4.1/modules/highgui/src/window.cpp, line 598
terminate called after throwing an instance of 'cv::Exception'
what(): /home/aborn/software/OpenCV-2.4.1/modules/highgui/src/window.cpp:598: 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
上网一查,发现有人也遇到过这个问题,如这个 csdn-topic 还有 yahoo的gruop-topic
最后在这个地方找到了解释,点击此处。
简单的解释就是你的GTK+2.x要先于OpenCV安装,所以它给的解决方法是You should remove the current installation of opencv from your system; rebuild your opencv lib after installing gtk dev lib in the correct path; and reinstall the compiled opencv lib.
我按照这个方法,又重新用cmake-gui make sudo make install 重新安装了一遍,最后成功,如下图:
- OpenCV Error: Unspecified error (The function is not implemented...
- OpenCV Error: Unspecified error (The function is not implemented...
- OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows,
- OpenCV Error: Unspecified error "..., 321OpenCV Error: Unspecified error (The function is not implem
- opencv3 + cuda opencv error: the function/feature is not implemented
- 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
- Execution error: \'the function name is not a recognized built-in function name\'
- Javascript Error: submit is not a function
- .substring error: “is not a function”
- The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support.
- Error 80004005 Unspecified Error
- Opencv error unspecified error incorrect element name operator <<
- msxml3.dll error '80004001' Not implemented 处理
- VBoxManage.exe: error: Resize hard disk operation for this format is not implemented yet!
- Error: java.lang.UnsupportedOperationException: Not implemented by the HftpFileSystem FileSystem imp
- 奇怪的TypeError: Error #1006: getInstance is not a function.
- Javascript Error: form.submit is not a function
- FxCAD 实验六 电容的绘制
- 不用内置模拟器开发安卓应用
- How to Access and Use the Windows Hosts File in Windows 7 and Vista
- VC实现透明背景和半透明图片
- java常见疑难问题
- OpenCV Error: Unspecified error (The function is not implemented...
- GridView的行删除、修改
- zen-cart 初始化文件application_top.php解析(待完善)
- 模态对话框的支持 (IE,Firefox,Chrome)
- LoadIcon和LoadImage
- Ubuntu12.04LTS 编译android 错误总结
- FxCAD 实验七 8051单片机绘制
- PHPExcel 导出2003和2007的excel文档实例
- UML活动图介绍(Activity Diagram)