Re: Some questions regarding GObject-Introspection
- From: Mike Dupont <jamesmikedupont googlemail com>
- To: Fan Chun-wei <fanc999 yahoo com tw>
- Cc: gtk-devel-list gnome org
- Subject: Re: Some questions regarding GObject-Introspection
- Date: Sun, 22 Jul 2012 18:22:32 +0000
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]