Re: Some questions regarding GObject-Introspection



Hi there,
please provide a call stack.
mike

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

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 https://dl.dropbox.com/u/30316581/GLib-2.0.gir, 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!

[1]: https://bugzilla.gnome.org/show_bug.cgi?id=620566#c35

_______________________________________________
gtk-devel-list mailing list
gtk-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list




--
James Michael DuPont
Member of Free Libre Open Source Software Kosova http://flossk.org
Saving wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com
Contributor FOSM, the CC-BY-SA map of the world http://fosm.org
Mozilla Rep https://reps.mozilla.org/u/h4ck3rm1k3



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