我已經建立OpenCV
框架IOS
和我正在學習OpenCV
從無到有, 框架編譯好,當我運行這段代碼:OpenCV的IOS項目崩潰
IplImage *img = cvLoadImage("dpad_off.png");
cvNamedWindow("Example1",CV_WINDOW_NORMAL);
cvShowImage("Example1", img);
cvWaitKey(0);
cvReleaseImage(&img);
cvDestroyWindow("Example1");
的應用程序崩潰與此日誌:
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 andpkg-config,
then re-run cmake or configure script) in cvNamedWindow, file /Volumes/minijHome/Documents/xcode_mini/hillegass/advancedIOS/postCourse/openCV/clean- downloads/openCVgitClone/opencv/modules/highgui/src/window.cpp, line 652
libc++abi.dylib: terminate called throwing an exception
我試圖尋找網絡上的答案,但無法弄清楚爲什麼會發生這種情況。 有什麼想法?
非常感謝@berak! –