|
我使用的OpenCV版本是2.1.0,因为课题是基于嵌入式的图像处理软件开发,需要使用到OpenCV,已经编译好了ARM平台的OpenCV库,系统也移植好了QT4.5。
但执行程序时遇到以下问题:
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 cvWaitKey, file /opt/OpenCV-2.1.0/src/highgui/window.cpp, line 259
terminate called after throwing an instance of 'cv::Exception'
what(): /opt/OpenCV-2.1.0/src/highgui/window.cpp:259: 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 cvWaitKey
我想应用是highgui要GTK+支持吧,而我的程序如果不使用<highgui>库的话,cvSacvImage和cvLoadImage函数都不能使用了。
!!!!!
请问:如何解决以上问题?
1:有没有OpenCV有没有相应版本支持ARM平台的版本,或者highgui不使用GTK的,使用QT的界面。好像OPENCV2.2版本是不是支持ARM的QT?
2: 不使用highgui的库有没有可以替代cvSacvImage和cvLoadImage函数的方法。
PS:相信很多新人都遇到这个问题,恳请大神帮助,感激不尽。
|
|