Having cross-compiled DirectFB, GTK 2.10.9 and all the necessary
dependencies for a PXA270 (ARM) based board, I am now encountering this
error when I attempt to run gtk-demo:

(#) DirectFBError [gdk_display_open: GetDisplayLayer]: Requested ID not
found!

(gtk-demo:910): Gtk-WARNING **: cannot open display:
(!!!)  *** WARNING [Application exited without deinitialization of
DirectFB!] *** [core.c:745 in dfb_core_deinit_check()]

I'm guessing this is because of the following, found in gtk+-2.10.9
/gdk/directfb/gdkdisplay-directfb.c

ret = directfb->GetDisplayLayer (directfb, DLID_PRIMARY, &layer);
if (ret != DFB_OK)
{
 DirectFBError ("gdk_display_open: GetDisplayLayer", ret);
 directfb->Release (directfb);
 directfb = NULL;
 return NULL;
}

Any ideas what I've done wrong/how I should go about fixing it?
--
Warren.
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to