Re: Some questions regarding GObject-Introspection

Hi there,
please provide a call stack.

On Thu, Jul 19, 2012 at 5:28 AM, Fan Chun-wei <fanc999 yahoo com tw> wrote:

I was trying to build G-I on Windows using MSVC, and managed to get the GLib-2.0.gir file to be built by g-ir-scanner (used the gcc preprocessor as MSVC does not accept input from stdin[1], then run the MSVC compiler on the
resulting temporary GLib.c), using the command like what is found in the attached glib_gir.txt.  (please use an editor that has line wrap enabled, sorry about the one-line command, but this is what was needed!).

The built GLib-2.0.gir can be found at, as it is a bit too large to be included here.

I then built the GLib-2.0.typelib by using this command: g-ir-compiler -o GLib-2.0.typelib GLib-2.0.gir, where the typelib does get built

After figuring out where I should place the .typelib/.gir files, I proceeded to to run the glib-print example, but I get:
domain:ERROR:glib-print.c:1057148:main: hello world

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

What I would like to know:
1. Does my GLib-2.0.gir seem ok?
2. Did I miss any stepts or make any mistakes generating the GLib-2.0.typelib file.
3. Any other thing that I might have missed?

With blessings, and thanks for your time!


gtk-devel-list mailing list
gtk-devel-list gnome org

James Michael DuPont
Member of Free Libre Open Source Software Kosova
Saving wikipedia(tm) articles from deletion
Contributor FOSM, the CC-BY-SA map of the world
Mozilla Rep

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