Re: how can include just glib



2005/12/13, Fernando Apesteguía <fernando apesteguia gmail com>:
Did you try to make this?

#include <glib.h>

And then link with

-lglib-2.0 (link against your glib version)


You should use `pkg-config --cflags glib-2.0` to get the list of
include flags and `pkg-config --libs glib-2.0` to get the list of
liknong flags when compiling.

Cheers,

Vivien



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