Build wxPython on windows himself

Hi Ng,

I know the site
http://www.wxpython.org/builddoc.php,
which describes building wxPyhton on Windows, Linux, ...

I don't have the Visual Studio, only the VC Toolkit.
Anyone tried with Mingw or Dev-C++?

Or is this not possible?

Has anyone practical experience with it?

For those who tried:

Is the page actual?
Any problems?

Unicode build and ansi build?

Thank you!

The nice thing would be only sometimes updating CVS and start the
compiler, without needing download and install wxPython new.

Also I think, one gets a better insight with compiling himself.

···

--
Franz Steinhaeusler

Franz Steinhaeusler wrote:

Hi Ng,

I know the site http://www.wxpython.org/builddoc.php,
which describes building wxPyhton on Windows, Linux, ...

I don't have the Visual Studio, only the VC Toolkit.
Anyone tried with Mingw or Dev-C++?

Or is this not possible?

It will take some hacking in setup.py and config.py, but I expect that it is possible. If you get it working please send me patches.

···

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

I was living under the impression that the extensions should be built with the same compiler as python was built.

Could I use for example VC++ 6 to build wxpython or other extensions for python 2.4 or 2.5?

Peter

···

On 10/26/06, Robin Dunn robin@alldunn.com wrote:

It will take some hacking in setup.py and config.py, but I expect that
it is possible. If you get it working please send me patches.


There is NO FATE, we are the creators.

Peter Damoc wrote:

I was living under the impression that the extensions should be built with the same compiler as python was built.

That's easiest, but ironically, while it's hard to build extensions with a different version of the MS compiler, it's not too bad hard to use MingGW -- it's been a while wince I've done it though.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Peter Damoc wrote:

    It will take some hacking in setup.py and config.py, but I expect that
    it is possible. If you get it working please send me patches.

I was living under the impression that the extensions should be built with the same compiler as python was built.

Could I use for example VC++ 6 to build wxpython or other extensions for python 2.4 or 2.5?

As long as you build Python too (plus any other extensions that you use.) The issue is the difference in the C runtime DLL that the different compilers use. Since the DLL version is linked to by Python itself, and also all the binary extensions, then they all need to use the same one, and each major version of the MSVC compiler provides a different C runtime. Other Windows compilers, such as mingw32, can be told to use those same runtime libs, so as long as you can get the combination right they should work.

···

On 10/26/06, *Robin Dunn* <robin@alldunn.com <mailto:robin@alldunn.com>> > wrote:

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

Just as I suspected… no job for a newbie… man do I love python… really really love it… :slight_smile:

Peter.

···

On 10/27/06, Robin Dunn robin@alldunn.com wrote:

As long as you build Python too (plus any other extensions that you
use.) The issue is the difference in the C runtime DLL that the
different compilers use. Since the DLL version is linked to by Python
itself, and also all the binary extensions, then they all need to use

the same one, and each major version of the MSVC compiler provides a
different C runtime. Other Windows compilers, such as mingw32, can be
told to use those same runtime libs, so as long as you can get the

combination right they should work.


There is NO FATE, we are the creators.