|
|
debian:~/ourgtk/1/base# make
gcc -o base base.c 'pkg-config --cflags --libs gtk+'
gcc: pkg-config --cflags --libs gtk+: 没有那个文件或目录
base.c:2:21: error: gtk/gtk.h: 没有那个文件或目录
base.c: In function 'main':
base.c:5: error: 'GtkWidget' undeclared (first use in this function)
base.c:5: error: (Each undeclared identifier is reported only once
base.c:5: error: for each function it appears in.)
base.c:5: error: 'window' undeclared (first use in this function)
base.c:7: error: 'GTK_WINDOW_TOPLEVEL' undeclared (first use in this function)
base.c:10: error: 'FALSE' undeclared (first use in this function)
make: *** [all] 错误 1 |
|