|
sorry ,i am a new for linux, i do not know how to display chinese in my system. i had to type english,
i am learnning GTK , i make a example named t.c.
the source is
#include <gtk/gtk.h>
int main (int argc, char *argv[])
{
GtkWidget *window;
gtk_init (&argc, &argv);
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_show (window);
gtk_main ();
return 0;
}
gcc -Wall -g t.c -o hello_world -L/usr/X11R6/lib -lglib -lgdk -lgtk -lX11 -lXext -lm
but the system hint me:
gdk/gdk.h: No such file or directory
why? thanks |
|