Re: GTKfb hello world
- From: ramprasad <ramprasad ncoretech com>
- To: himba <himba siol net>
- Cc: gtk-list gnome org
- Subject: Re: GTKfb hello world
- Date: Mon, 10 May 2004 09:33:40 +0530
Hi,
Try, exporting the DISPLAY,
export DISPLAY=:0.0
This should work for you,
Thanks,
Ramprasad
himba wrote:
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
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]