compiling with glib 2.0



it's now time to switch from glib 1.2 to glib 2.0.  i'm having problems
compiling my stuff.

in the makefile:

   CFLAGS = -g -c `gtk-config --cflags` ${WARN}
   LIBS   = `gtk-config --libs` -lobjc -lpthread

in the files:

   #include <glib-2.0/glib.h>

the errors:

...
/usr/include/glib-2.0/glib.h:62: glib/gspawn.h: No such file or directory
/usr/include/glib-2.0/glib.h:63: glib/gstrfuncs.h: No such file or directory
...


i looked at gtk-config.  --version gives 1.2.10.  there's nothing like
"gtk-2.0-config".

i'm really sorry for asking this.  this is on debian sarge.  how can i
compile files with glib 2.0?

pete

-- 
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D



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