Re: gobject-introspection and MinGW



Earnie wrote:
> Earnie wrote:
>> I'm building gobject-introspection-1.30.0 with MSYS and MinGW. I'm
>> to the point of the GISCAN GLib-2.0.gir and it reports "No
>> mscvr71.dll loaded." I'm using the python.org provided Windows
>> distribution version 2.7. I had to modify the hack in
>> giscanner/utils.py at line 101 to replace('.libs\\.libs', '.libs')
>> to get this far, as well as set environment variables. Any hints on
>> how to get past the reported error?
>
> Ok, so with the help of http://tml.pp.fi/g-i.windows.diff I got past
> the "No mscvr71.dll loaded" issue by loading mscvr90.dll instead.
> But now we're aborting on the syntax of stdio.h.
>

So thinking more about how to get the proper MSVC runtime I was thinking
we should be able to have the configure script define it for us.  We can
``strings $PYTHON | grep -i msvcr'' to obtain the runtime module which
can be used to define a macro in config.h.

I'm still looking for a resolution to the scanner syntax issue.

Earnie


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