Re: compiling with glib 2.0



Hi,

On Monday 29 July 2002 07:21 am, Peter Jay Salzman wrote:
> 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

use above pkg-config instead of gtk-config .
see man pkg-config also.

HTH
Abhiram
> 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



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