error with helloworld.c on gtk+



I am trying to learn GTK and wanted to compile helloworld.c that is on the gtk.org tutorial.
 
i get the following error after typing int he gcc command.....
 
gcc -Wall -g hello.c -o helloworld `gtk-config --cflags --libs`
/usr/bin/ld: cannot open -lXext: No such file or directory
collect2: ld returned 1 exit status
Any ideas..or config files i should check???
------------------------------------------
Adam Chrystie
atom@stationxstudios.com
Station X Studios


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