嵌入式GTK+-3.12.2移植

赵文彬龙 2018-02-27 11:20:02
朋友你好:
我现在最终的目的是交叉编译gtk,我选用的是fsl-imx-x11的交叉编译链
configure: error: Package requirements (glib-2.0 >= 2.39.5 atk >= 2.7.5 pango >= 1.32.4 cairo >= 1.12.0 cairo-gobject >= 1.12.0 gdk-pixbuf-2.0 >= 2.27.1) were not met:
首先gettext-0.19.8 ,libffi-3.2.1库我已经编译好了。
当前我在尝试编译glib库的时候在 glib-2.39.90 ,glib-2.39.92,glib-2.42.1,在make操作的时候都遇到了相同的报错:
./glib/gmacros.h:182:53: error: size of array '_GStaticAssertCompileTimeAssertion_4' is negative
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED
^
../glib/gmacros.h:178:47: note: in definition of macro 'G_PASTE_ARGS'
#define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
^
../glib/gmacros.h:182:44: note: in expansion of macro 'G_PASTE'
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED
^
gvariant.c:4887:1: note: in expansion of macro 'G_STATIC_ASSERT'

G_STATIC_ASSERT (sizeof (gdouble) == sizeof (guint64));
我查阅了GLib Reference Manual (https://www.freedesktop.org/software/gstreamer-sdk/data/docs/2012.5/glib/glib-Miscellaneous-Macros.html)没看明白,请求朋友们给个思路!
...全文
402 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

21,595

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 驱动开发/核心开发
社区管理员
  • 驱动开发/核心开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧