glib-2.0 folder needs to be added to the compiler includes search ex: *-isystem**glib-2.0* or *-I/path/to/**glib-2.0*
On Tue, Jan 5, 2016 at 4:07 PM, Timothy Ward <gtwa...@gmail.com> wrote: > Whilst using gcc to compile some "c" source using glib-2.0 and using > #INCLUDE <glib.h> is not found but <glib-2.0/glib.h> is found. > > The problem then is that the compiler cannot find the header files > included and listed inside glib.h which all have a path of > /glib/xxxxxx.h. > > If the header files in glib.h are included directly the compiler > produces an error that states the only glib.h should be included. > > So far I have checked that the cflags are correct using pkg-config for > glib-2.0 and included them directly for CCP. > > But gcc still complains in cannot find the header files included on > glib.h > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > gtk-list mailing list > gtk-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gtk-list >
_______________________________________________ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list