[wxPython-users] Re: gdiplus.dll required
Robin Dunn
robin at alldunn.com
Thu Nov 16 11:02:42 PST 2006
Thomas Heller wrote:
> *** finding dlls needed ***
> error: gdiplus.dll: No such file or directory
>
> This is probably what the OP had seen.
> py2exe parses the import table of the dlls and pyds it find and tries
> recursively to find the dlls needed. Using the default Windows dll search
> path, IIRC. Apparently it does not find gdiplus.dll (which may be a bug in py2exe).
>
> When I run dependencywalker on wxmsw272h_core_vc.dll, dependencywalker
> does find gdiplus.dll (but I do not know how, actually). gdiplus is in these
> directories on my system:
>
> c:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.0.0_x-ww_8d353f13\GdiPlus.dll
> c:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.2180_x-ww_522f9f82\GdiPlus.dll
I think this has something to do with DLL versioning, so that multiple
versions of a DLL can be installed at the same time on the system. It
does toss a spanner in the works though for tools that are looking on
the PATH for a DLL instead of using whatever MS does to find the DLL.
>
> What does the wxPython installer do? Shouldn't it install gdiplus.dll, since it is
> required by wxPython, install the dll in the c:\Python25 directory? Or does it only
> do this on pre-XP systems?
It only installs it on pre-XP systems, although because of this issue
I'm thinking about changing that decision.
> I guess that py2exe would have found it there.
It does find it, but it still thinks that it is a system DLL and doesn't
automatically include it in the dist directory with the rest of the DLL
dependencies. It just prints it in the list of other DLL dependencies
at the end of the py2exe run.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list