Compiling 'C' source using glib-2.0 with #include <glib.h>



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 

































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