[DirectFB] 用 DirectFB + GTK+ 的問題

記錄用

GTK_on_DirectFB_for_Embedded_Systems

DirectFB programs terminating with signal 11

如果執行 dfbinfo 或是其他 directfb 的程式碰到這樣的問題, 在
~/.directfbrc 加上一行 disable-module=x11input

在 DirectFB 1.3.0 測試 OK

Reference:

[directfb-users] DirectFB programs terminating with signal 11

pkg-config –libs cairo 都找到 /usr/local/lib/pkgconfig
修改 /usr/local/lib/pkgconfig/cairo.pc 內, 移除 /usr/local/lib/pkgconfig

編輯 gtk+ 找不到 Pango

*** Pango not found. Pango built with Cairo support is required
*** to build GTK+. See http://www.pango.org for Pango information.

修改 /usr/local/lib/pkgconfig/pango.pc 在修改 Libs 那一行為

Libs: -L${libdir} -lpango-1.0 -lfontconfig -lpng -ldirectfb

編到

gdkcursor-directfb.c:231: error: ‘__u32’ undeclared (first use in this function)

直接在 gdkcursor-directfb.c 加上
#define __u32 u32
#define __u8 u8

On this day..

Comments

comments

Related Posts

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>