failing to run gtk with directfb



Hi,

I am trying to get GTK working width directfb, and it's failing to initialize.
directfb 1.4.11 - glib 2.27.3 - gdk-pixbuf 2.22.1 - pixman 0.21.2
cairo 1.10.0 - atk 1.32.0 - pango 1.28.3 - gtk 2.22.1

What's happening is:
_gdk_display = g_object_new (GDK_TYPE_DISPLAY_DFB, NULL);
is failing in gdk_display_open()

(testbuttons:181): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed

FWIW, directfb is working just fine (using the directfb API).

Here is is I cross-compiled gtk (for ARM v7):
./configure --enable-shared --disable-static --build=i686-linux --host=$HOST  \
    --disable-gtk-doc-html \
    --with-gdktarget=directfb --without-x \
    --disable-cups --with-gnu-ld  \
    --prefix=${PREFIX}/${HOST}/libc/usr

Any idea what I could have done wrong ?

Thanks!
Olivier


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]