求助,pango1.9.1编译错误
从 http://ftp.gnome.org/pub/GNOME/sources/pango/1.9/ 下载源码包,解压后./configure --prefix=/usr
sudo make
报错如下:
In file included from ../../pango/pangofc-font.h:28:0,
from ../../pango/pango-ot.h:25,
from pango-ot-private.h:27,
from pango-ot-buffer.c:22:
../../pango/pango-font.h:115:16: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char’
../../pango/pango-font.h:207:16: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char’
../../pango/pango-font.h:256:16: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char’
是怎么回事?本人绝对gtk+新手,大侠帮帮忙,谢谢 编译pango前要先编译freetype2和fontconfig,你都编译了?
页:
[1]