Re: Could not find glib.h


Burton, Ross <ross.burton@...>
 

On Wed, 1 May 2019 at 23:33, JH <jupiter.hce@...> wrote:
It was my program, it has been compiled for weeks without any issues
until I added an #include <glib.h>, despite the glib-2.0 was defined
in the recipe, the do_compile() stopped at following errors, I can see
glib-2.0 was built in build and image directory, I can see glib.h was
in build and image directory, is it a basic principle if a package
library was defined in DEPENDS, the bitback should automatically find
the header files and library links? Why it still complained no such
file?
Because that's not how glib works.

https://developer.gnome.org/glib/stable/glib-compiling.html

Ross

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.