Python bindings

Andrew Bird (Sphere Systems) ajb at spheresystems.co.uk
Wed Nov 14 03:53:08 PST 2012


Hi all,
	I want to try out libqmi from python using bindings. I'm trying to apply 
the process from 
https://live.gnome.org/GObjectIntrospection/AutotoolsIntegration

After fitting most of it to the Makefile.am in the generated directory(is that 
the correct place?) I get the following errors

make[4]: Entering directory `/home/ajb/libqmi/libqmi-glib/generated'
  GISCAN libqmi_glib-1.0.gir
In file included from /home/ajb/libqmi/libqmi-glib/generated/qmi-error-
types.h:6:0,
                 from <stdin>:4:
../../libqmi-glib/qmi-errors.h:27:2: error: #error "Only <libqmi-glib.h> can 
be included directly."
In file included from /home/ajb/libqmi/libqmi-glib/generated/qmi-enum-
types.h:6:0,
                 from <stdin>:5:
../../libqmi-glib/qmi-enums.h:27:2: error: #error "Only <libqmi-glib.h> can be 
included directly."
In file included from /home/ajb/libqmi/libqmi-glib/generated/qmi-enum-
types.h:7:0,
                 from <stdin>:5:
../../libqmi-glib/qmi-enums-wds.h:27:2: error: #error "Only <libqmi-glib.h> 
can be included directly."
In file included from /home/ajb/libqmi/libqmi-glib/generated/qmi-enum-
types.h:8:0,
                 from <stdin>:5:

<snip>

I've attached my work in progress.

Thanks,


Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Introspection-for-python-use-wip-1.patch
Type: text/x-patch
Size: 2218 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libqmi-devel/attachments/20121114/4416acb8/attachment.bin>


More information about the libqmi-devel mailing list