View Single Post
Posts: 9 | Thanked: 0 times | Joined on Jun 2009 @ Helsinki
#8
Thanks both of you VDVsx and jthiemann....I was able to build it apparently with your solutions....but when running both examples...I got the following result:



[sbox-DIABLO_ARMEL: ~] > gcc -o gtk_helloworld-2 gtk_helloworld-2.c `pkg-config gtk+-2.0 --cflags --libs`-Wall
[sbox-DIABLO_ARMEL: ~] > ./gtk_helloworld-2
gtk_helloworld-2[15920]: GLIB WARNING ** Gtk - cannot open display:
[sbox-DIABLO_ARMEL: ~] > gcc -o gtk_helloworld-1 gtk_helloworld-1.c `pkg-config gtk+-2.0 --cflags --libs`-Wall
[sbox-DIABLO_ARMEL: ~] > ./gtk_helloworld-1
gtk_helloworld-1[15955]: GLIB WARNING ** Gtk - cannot open display:
[sbox-DIABLO_ARMEL: ~] >


any suggestions here? thanks


brangi