[maemo-developers] How to include glib-object.h

From: Christoph Eckert ce at christeck.de
Date: Mon Mar 29 01:14:56 EEST 2010
Hi,

I try to port a Maemo 4.1 pygtk application to Qt4 on Maemo 5. The application 
is running, but now it requires location data. Since the location API has 
changed in Maemo 5, I try to understand the example given at
http://bit.ly/a3HTFD

As soon as I put
#include <location/location-gps-device.h>
#include <location/location-gpsd-control.h>
in one of my files, the compiler complains:
http://pastebin.com/c45NU0FB

glib-object.h: No such file or directory

This file includes further files, as listed here:
http://bit.ly/dprcX6

I'm obviously missing some include path or similar. Appearently I'm a bloody 
hobbyist, so please bear with me :) . Any hint, even RTFM is much appreciated.

Best regards,

ce

More information about the maemo-developers mailing list