Hi,

For some reason the DirectFB layer is not finding the window id.

Have you tried the GTK+ demo that comes within the GTK+ sources?
What happens if you cast the GtkWidget to GtkWindow?

Regards,
-- 
Pedro Aguilar

On Wed, 2008-01-09 at 18:07 +0100, Koan wrote:
> Hello,
> I'm using an ARM based board with DirectFB and GTK
> the df_cpuload and df_fire samples work smoothly, but when Y try my
> sample source code I face to an error I'm unable to understand.
> 
> /*
>  Sample program
> */
> #include <gtk/gtk.h>
> 
> int main (int argc, char *argv[])
> {
>     GtkWidget *window;
> 
>     gtk_init (&argc, &argv);
> 
>     window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
>     gtk_widget_show (window);
> 
>     gtk_main ();
> 
>     return 0;
> }
> 
> This is my result:
> 
>      =======================|  DirectFB 1.0.1  |=======================
>           (c) 2001-2007  The DirectFB Organization (directfb.org)
>           (c) 2000-2004  Convergence (integrated media) GmbH
>         ------------------------------------------------------------
> 
> (*) DirectFB/Core: Single Application Core. (2007-12-21 17:16)
> (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 340)...
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 341)...
> (*) DirectFB/Input: encodrv (1) 0.1 (directfb.org)
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 342)...
> (*) DirectFB/Input: ADS784x Touchscreen (2) 0.1 (directfb.org)
> (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
> (*) DirectFB/Core/WM: Default 0.3 (directfb.org)
> (#) DirectFBError [gdk_display_open: GetDisplayLayer]: Requested ID not found!
> 
> What does the last error message mean ?
> Any ideas what I've done wrong/how I should go about fixing it?
> TIA
> 
> /marco
> 
> _______________________________________________
> directfb-users mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users



_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to