"); //-->
安装环境centos6.4,amd64,gnome。
首先configure;。/configure --target=arm-elf。
然后make lib。没有错误发生。
然后make,出现一下错误:
1、ld:没有lltdl。
解决:cd /usr/lib64; ln -s libltdl.so.7.2.1 libltdl.so.
2、include/SDL_syswm.h:55:22: error: X11/Xlib.h: No such file or directory。
yum install libX11-devel.
3、error: X11/extensions/XShm.h: No such file or directory
yum install libXext-devel
4./usr/bin/ld: cannot find -liconv
download libiconv-1.14.tar.gz ;然后编译./configure;make;make install.
5. error: gtk/gtk.h: No such file or directory.
yum install gtk2-devel
6.expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘g_markup_error_quark’
./configure CFLAGS="$CFLAGS -I/usr/lib64/glib-2.0/include"
7. python-config: command not found
yum install python-devel
然后make install_lib;make install.
成功安装!。
*博客内容为网友个人发布,仅代表博主个人观点,如有侵权请联系工作人员删除。