[Baypiggies] p2exe combined with building C extension for python on WinXP with Visual C++ 2005

Shannon -jj Behrens jjinux at gmail.com
Tue Apr 22 12:49:36 CEST 2008


I've heard getting all that stuff to compile on Windows is very
painful.  I'm no Windows guy, but if I were in your shoes, I'd be
asking around for a copy of Visual C++ 2003.

-jj

On Tue, Apr 22, 2008 at 1:32 AM, David Berthelot <d_berthelot at yahoo.com> wrote:
> 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:
>  >
>  > Hi,
>  >
>  > 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 ?
>  >
>  > Thanks,
>  >
>  > David
>  >
>  >  ________________________________
>  > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
>  > now.
>  > _______________________________________________
>  >  Baypiggies mailing list
>  >  Baypiggies at python.org
>  >  To change your subscription options or unsubscribe:
>  >  http://mail.python.org/mailman/listinfo/baypiggies
>  >
>
>
>
>
>
>       ____________________________________________________________________________________
>
> Be a better friend, newshound, and
>  know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
>
> _______________________________________________
>  Baypiggies mailing list
>  Baypiggies at python.org
>  To change your subscription options or unsubscribe:
>  http://mail.python.org/mailman/listinfo/baypiggies
>



-- 
I, for one, welcome our new Facebook overlords!
http://jjinux.blogspot.com/


More information about the Baypiggies mailing list