error in glib.h



Well I am am a novice developer wanting to work using gnome libraries
. i made a simple c file
#include<glib.h>

and while compiling i got the following error:-
In file included from temp.c:1:
/usr/local/include/glib-2.0/glib.h:30:26: error: glib/galloca.h: No
such file or directory
/usr/local/include/glib-2.0/glib.h:31:25: error: glib/garray.h: No
such file or directory
/usr/local/include/glib-2.0/glib.h:32:30: error: glib/gasyncqueue.h:
No such file or directory
/usr/local/include/glib-2.0/glib.h:33:26: error: glib/gatomic.h: No
such file or directory
....
for complete error plz chk http://rafb.net/p/Dg0mTd15.html

i think this error is because all this files all there in
/usr/include/glib-2.0/glib/ and not in /usr/include/glib/ as i think
it is trying to find.
how do i fix it. please help me.

THAnks

ps:- I tried pkg-config but couldnt get to work it.


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