GTKfb hello world



Hi,

I've successfully compiled all libs and gtk+ 2.4 for arm target (ipaq). I've followed all instructions from gnome web site and I got stuck when compiling gtk hello world app. When I download binary to ipaq and try to run it I get :

gcc gtkhw.c -o gtkhw `pkg-config --cflags --libs gtk+-linux-fb-2.0`

-bash-2.05b# ./gtkhw

(gtkhw:945): Gdk-WARNING **: Can't open /dev/console: No such device

(gtkhw:945): Gtk-WARNING **: cannot open display:

-bash-2.05b# l /dev/console
crw-------    1 root     root       5,   1 Jan  1 01:00 /dev/console

Any ideas ?

regards ,himba



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