Re: Problem including glib.h



Here is the answer to your question; what does a

$ ls /usr/include/glib-2.0

command show? Having glib installed on your system does not necessarily
mean that you have all includes and static libraries; for example - on a
Debian system - you have to:

# apt-get install libglib-2.0

in order to have glib-2.0 runtimes (i.e. .so files) and

# apt-get install libglib-2.0-dev

in order to have all development sources (.h, .a and .la).

That raises an interesting question - in which of those Debian packages is the pck-config stuff? My first guess would be the -dev and to hope that it wasn't in the runtime.

rick jones



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