[maemo-developers] [maemo-developers] Include files for Dbus
From: Ian Malcom ian_malcom_im at yahoo.comDate: Fri Jul 14 03:44:36 EEST 2006
- Previous message: [maemo-developers] SQLITE development in IT2006
- Next message: [maemo-developers] Include files for Dbus
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I'm stuck trying to figure out how to access dbus functionality from my code. The problem is that I'm not sure what files to include. I have the following directory in scratchbox: /scratchbox/users/ian/targets/SDK_ARM/usr/include/dbus-1.0/dbus Is this where the dbus include files are located? I'm confused because including dbus.h leads to a lot of "header file not found" error messages. Also, I'm suspicious about my setup because including libosso.h caused the following error messages: In file included from app4.c:2: /usr/include/libosso.h:34:23: dbus/dbus.h: No such file or directory /usr/include/libosso.h:35:32: dbus/dbus-protocol.h: No such file or directory In file included from app4.c:2: /usr/include/libosso.h:238: error: syntax error before '*' token app4.c: In function `main': app4.c:6: error: `DBusConnection' undeclared (first use in this function) app4.c:6: error: (Each undeclared identifier is reported only once app4.c:6: error: for each function it appears in.) app4.c:6: error: `connection' undeclared (first use in this function) Any help, or a pointer to an example that uses dbus, would be much appreciated! Thanks! Ian __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
- Previous message: [maemo-developers] SQLITE development in IT2006
- Next message: [maemo-developers] Include files for Dbus
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]