Greetings ... I am using DJGPP and i get this error !!!!!



I am begining with the use of GTK+, and when compile my first example get the follow ...
 
 Compiling: d:/djgpp/examples/hello.c
 ../examples/hello.c(1) Error: 17: gtk.h: No Error
 ../examples/hello.c(2) Error: 18: glib.h: No Error
 ../examples/hello.c(6) Error: parse error before '*' token
 ../examples/hello.c(12) Error: parse error before "delete_event"
 ../examples/hello.c(12) Error: parse error before '*' token
 In function `delete_event':
 ../examples/hello.c(27) Error: `TRUE' undeclared (first use in this function)
 ../examples/hello.c(27) Error: (Each undeclared identifier is reported only once
 ../examples/hello.c(27) Error: for each function it appears in.)
 At top level:
 ../examples/hello.c(31) Error: parse error before '*' token
 In function `main':
 ../examples/hello.c(41) Error: `GtkWidget' undeclared (first use in this function)
 ../examples/hello.c(41) Error: `window' undeclared (first use in this function)
 ../examples/hello.c(42) Error: `button' undeclared (first use in this function)
 ../examples/hello.c(49) Error: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this function
 ../examples/hello.c(57) Error: `NULL' undeclared (first use in this function)
 ../examples/hello.c(81) Error: `gtk_widget_destroy' undeclared (first use in this function)
 There were some errors
 
Somebody help me please ...


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