[yocto] Could not find glib.h
Richard Purdie
richard.purdie at linuxfoundation.org
Wed May 1 01:57:50 PDT 2019
On Wed, 2019-05-01 at 10:43 +1000, JH wrote:
> Hi,
>
> I added glib-2.0 to DEPENDS but it still could find the glib.h, what
> I
> could be missing here?
>
> fatal error: glib.h: No such file or directory
> > #include <glib.h>
> > ^~~~~~~~
> > compilation terminated.
You probably need to use pkg-config to find out which CFLAGS to use for
glib-2.0...
Cheers,
Richard
More information about the yocto
mailing list