Building wxPython extension

OK it seems that the free 7.1 compiler is no longer. They now have a
free version of Visual Studio 2005 instead. Looks like I need to just
put in a req for VS 2003 and be done with it.

-Paul

···

-----Original Message-----
From: Lanier, Paul [mailto:Paul.Lanier@analog.com]
Sent: Thursday, May 18, 2006 2:46 PM
To: wxPython-dev@lists.wxwidgets.org
Subject: [wxPython-dev] Building wxPython extension

Hey All,

I downloaded the platform SDK and managed then to build the wxWidgets
DLL's including my new class. I'm now trying to build the wxPython
extension. I created a .i file for my class and included it in the
build. I built a patched SWIG and that portion of the build process
goes fine. However, after that I get a message saying that I need the
.NET SDK before I can build any extension modules. After looking around
on the internet it seems that extensions for Python 2.4 must be built
using the Visual Studio 2003 compiler (which I saw I can get for free)
since python itself uses this version of the compiler (and hence the
newer msvcrt71.dll).

My question is:
Is it OK to build wxWidgets with VC 6.0 and then build the wxPython
extension with the VC 7.1 compiler or should I go back and figure out
how to build wxWidgets with the newer compiler?

-Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-dev-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-dev-help@lists.wxwidgets.org

Lanier, Paul wrote:

My question is: Is it OK to build wxWidgets with VC 6.0 and then build the wxPython
extension with the VC 7.1 compiler or should I go back and figure out
how to build wxWidgets with the newer compiler?

Looks like you've already come to this conclusion, but if you want to use Python 2.4 then you must build the extensions with 7.1. For Python 2.3 then 6.0 can be used.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!