I don't think gtk can compile under djgpp and dos. You need a Unix layer to provide things like sockets and unix-like syscalls I'd imagine. Does djgpp provide these things? Now I know you can compile it under cygwin on windows... Michael On Sun, 2002-03-24 at 10:10, Mario López wrote:
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 ...
-- Public key available from http://students.cs.byu.edu/~torriem
Attachment:
signature.asc
Description: This is a digitally signed message part