On Thu, May 2, 2019 at 12:32 AM JH <jupiter.hce@...> wrote:
Hi Andreas,
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?
DEPENDS += "glib-2.0" RDEPENDS += "glib-2.0"
^ In case your program links successfully this can go
You probably need to use pkg-config to find out which CFLAGS to use for glib-2.0...
Maybe I missed something but there is not much information about what you are trying to build. Starts with build system: autotools / cmake / meson / qmake / waf?
Is there a place to look into the recipe? That might make support easier.