I have the same problem when using the VT -switcher.
Add the option no-vt to your directfbrc config file and it will be OK

If somebody knows how to use the vt switcher and not to have this error 
with GTK, I am interested

Thanks
Arnaud

Koan a écrit :
> 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