Re: g_malloc and glib.h



On Fri, May 17, 2002 at 11:12:32PM -0400, Daniel Carrera wrote:
INC=-I/usr/include/glib-1.2/ -I/usr/lib/glib/include/ \
        -I/usr/X11R6/include/gnome-1.0

all:
        gcc $(CFLAGS) $(INC) non-linear-fit.c -o fit

You'll want to link against glib too.  In gnome2 you would use
    pkg-config --cflags glib-2.0
    pkg-config --libs glib-2.0

in gnome-1.4 you would use
    glib-config or gnome-config



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