老兄。我也编了个GTK程序,但编译不能通过。我已经装了gimp-1.3.2了。
出错的信息是:
second.c:1:21: gtk/gtk.h: 没有那个文件或目录
second.c:2: parse error before '*' token
second.c:6: parse error before '*' token
second.c: In function `main':
second.c:12: `GtkWidget' undeclared (first use in this function)
second.c:12: (Each undeclared identifier is reported only once
second.c:12: for each function it appears in.)
second.c:12: `window' undeclared (first use in this function)
second.c:13: `button' undeclared (first use in this function)
second.c:15: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this function)
second.c:16: `NULL' undeclared (first use in this function)
second.c:20: `gtk_widget_destroy' undeclared (first use in this function)
你能帮我看看是哪个毛病吗?