运行示例时出错

时间:2013-07-28 15:47:10

标签: opencv debian

我安装了opencv 2.3.1,当我通过在终端上运行命令./delaunay来执行示例时,出现了如下错误:

This program builds the traingulation interactively, you may stop this process by
hitting any key.

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/pi/OpenCV-2.3.1/modules/highgui/src/window.cpp, line 275 terminate called after throwing an instance of 'cv::Exception'

  what():  /home/pi/OpenCV-2.3.1/modules/highgui/src/window.cpp:275: 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

Aborted

解决方案是什么?

0 个答案:

没有答案