Run a gtkfb application !!!



Hi ! i have a problem to create a graphical interface with glade to the fb !

- i compil gtk2 with the --with-gdktarget=linux-fb option => ok
- i create a graphical interface with glade => ok
- i do a ./autogen.sh --with-gdktarget=linux-fb => ok
- i do a make => ok
- i turn to a new console witj the ctrl+alt+f1 touch => ok
- i run my program => erreur : "Gtk-WARNING **: cannot open display"**


why ???


i try this...
- echo $display => nothing
- echo gdk_display => nothing
- export gdk_display = /dev/fb0 => "Gtk-WARNING **: cannot open display"


thank's for help !

--
+------------------------------+
|  David CABATON alias Obelix  |
+------------------------------+
|                              |
|    cabaton_david yahoo fr    |
|                              |
| Student in computer sciences |
|                              |
|     GPG keys: 0x6BBB38E3     |
|                              |
+------------------------------+





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