OpenCV交叉编译ARM

时间:2013-05-29 15:09:36

标签: opencv ubuntu arm ubuntu-12.04 cross-compiling

大家好, 我正在尝试使用Qt Creator在Beagle BONE的ARM中编译OpenCV。要为ARM交叉编译,我使用了本教程: http://os-infoboys.blogspot.fr/2011/04/how-to-cross-compile-opencv-220-for.html 我可以创建一个可执行文件并在beagle bone(ARM Cortex)中创建它。但是当我尝试启动应用程序时,我遇到了这些错误:

libpng warning: Application was compiled with png.h from libpng-1.2.49
libpng warning: Application  is  running with png.c from libpng-1.4.3
libpng warning: Incompatible libpng version in application and library
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/xx/Téléchargements/OpenCV-2.3.0/modules/highgui/src/window.cpp, line 275
terminate called after throwing an instance of 'cv::Exception'
what():  /home/xx/Téléchargements/OpenCV-2.3.0/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

sh: line 1:   373 Aborted                 DISPLAY=:0.0 /home/root/Test -qws
Remote application finished with exit code 134.

请有人帮我解决此问题吗?

0 个答案:

没有答案