[python-win32] Why can I compile a C extension if I replace python25.lib with python25.dll?
Gerdus van Zyl
gerdusvanzyl at gmail.com
Fri Aug 7 21:27:19 CEST 2009
See this page: http://eli.thegreenplace.net/2008/06/28/compiling-python-extensions-with-distutils-and-mingw/
it has helped me with something similar and tells how to make a mingw
compatable libpython25.a;
In newer mingw version I think it can figure out the exports (the .a)
from the dll itself.
~Gerdus
On Fri, Aug 7, 2009 at 7:58 PM, David Robinow<drobinow at gmail.com> wrote:
> On Fri, Aug 7, 2009 at 1:19 PM, Tim Roberts<timr at probo.com> wrote:
>> Jason Baker wrote:
>>> Nope. I get linker errors saying it cant find a whole slew of symbols
>>> from the Python library. I haven't been able to figure out any other
>>> way to get it to work without replacing python25.lib with python25.dll
>>> (from C:\WINDOWS\SYSTEM32).
> ...
>> I believe there are recipes on the web that describe this. On the
>> whole, I would think it would be much easier to go download the
>> appropriate free Visual Studio Express Edition that matches your Python
>> version, and use that to build your extension.
> I don't believe there is such a thing for his Python version.
> Microsoft periodically pulls the older editions of their free compilers.
> If possible, Jason should upgrade to Python 2.6
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
More information about the python-win32
mailing list