Results 1 to 2 of 2
Hi ,
can anybody let me know whats wrong with path , I do have installed glib and dbus and can find them manually , /usr/include/glib-2.0/glib.h , but while comipling ...
- 01-24-2011 #1Just Joined!
- Join Date
- Dec 2010
- Posts
- 10
error: glib.h: No such file or directory
Hi ,
can anybody let me know whats wrong with path , I do have installed glib and dbus and can find them manually , /usr/include/glib-2.0/glib.h , but while comipling applicaiton it gives following error messages.
/usr/include/libosso.h:32:18: error: glib.h: No such file or directory
/usr/include/libosso.h:38:23: error: dbus/dbus.h: No such file or directory
/usr/include/libosso.h:39:32: error: dbus/dbus-protocol.h: No such file or directory
I'd be grateful.
Regards,
- 01-24-2011 #2Just Joined!
- Join Date
- Mar 2009
- Location
- Norway
- Posts
- 52
Could be an error with the path. Try passing the path to gcc along these lines
If it doesn't work, could you post a snippet of the code that doesn't work along with gcc version and distro etc.Code:gcc -I /usr/include/glib-2.0/ -o your_app your.app.c


Reply With Quote