Saturday, March 20, 2010

OpenCV的sample執行出問題

給未來的裕翔

ldd問題處理掉之後

執行facedetect會出現類似以下的錯誤訊息

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/pison/programs/opencv/src/highgui/window.cpp, line 100
terminate called after throwing an instance of 'cv::Exception'
Aborted


依照建議安裝gtk2-devel套件

重新./configure, make, make install

重新執行facedetect, 耶~!

No comments:

Post a Comment