Python

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Build wxPython on windows himself

    5 answers - 607 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi Ng,
    I know the site
    ,
    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++?
    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.
  • No.1 | | 396 bytes | |

    Franz Steinhaeusler wrote:
    Hi Ng,

    I know the site
    ,
    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++?

    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.
  • No.2 | | 442 bytes | |

    10/26/06, Robin Dunn <robin (AT) alldunn (DOT) comwrote:

    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?

    Peter
  • No.3 | | 383 bytes | |

    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
  • No.4 | | 1036 bytes | |

    Peter Damoc wrote:
    10/26/06, *Robin Dunn* <robin (AT) alldunn (DOT) com <mailto:robin (AT) alldunn (DOT) 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.

    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. 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.
  • No.5 | | 706 bytes | |

    10/27/06, Robin Dunn <robin (AT) alldunn (DOT) comwrote:

    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. 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.

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

    Peter.

Re: Build wxPython on windows himself


max 4000 letters.
Your nickname that display:
In order to stop the spam: 8 + 7 =
QUESTION ON "Python"

EMSDN.COM