[Baypiggies] p2exe combined with building C extension for python on WinXP with Visual C++ 2005
d_berthelot at yahoo.com
Tue Apr 22 10:32:15 CEST 2008
I was kind of avoiding to rebuild python with 2005 because I'm afraid to run into other problems and I would also have to recompile all the libraries that I use, namely numpy, PIL and wxpython which I never compiled on windows (and that may bring me to recompile the core libraries on which these wrappers are based, namely blas (and all the other mathematical libraries that numpy uses) and wx as well, ...). I have the feeling there must be a simpler way.
----- Original Message ----
From: Benjamin Sergeant <bsergean at gmail.com>
To: David Berthelot <d_berthelot at yahoo.com>
Cc: baypiggies at python.org
Sent: Tuesday, April 22, 2008 1:01:10 AM
Subject: Re: [Baypiggies] p2exe combined with building C extension for python on WinXP with Visual C++ 2005
Building python with 2005 might help ?
On Tue, Apr 22, 2008 at 12:11 AM, David Berthelot <d_berthelot at yahoo.com> wrote:
> I wrote an application in python and C that I am trying to port to Windows
> XP (and that's where my nightmare begins). I couldn't find Visual C++ 2003
> as recommended in the documentation since Microsoft removed it from download
> (generously offering 2005 express or 2008 express instead).
> Now I have installed 2005 and I managed to build my extension module, so far
> so good, it loads in python and works.
> The next step was to make this application and standalone program, so I
> naturally turned to py2exe. Basically it creates an archive (for which I
> must embed manually msvcm80.dll and msvcr80.dll). The executable works on my
> local computer.
> The problem is that when I copy this archive to another windows XP computer,
> it starts fine but the binary module compiled with express 2005 crashes when
> invoked (all other modules included binaries of wxpython which I supposed
> were compiled on express 2003 are running fine). How could I solve this
> problem ?
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
More information about the Baypiggies