Re: [wxWidgets] shared/static release?

Chris Barker <[email protected]>
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <CALGmxEL3xXKXEjJZj5be2ZLyYYHdPqLzmOuygDr4+eKTWEyXyg@mail.gmail.com>
On Thu, May 7, 2015 at 12:03 PM, Kevin Ollivier <[email protected]>
wrote:

>
> On May 7, 2015, at 11:44 AM, [email protected] wrote:
> > I need to build wxWidgets manually with TDM-GCC and hope the
> > build-script of Phoenix can handle this.
>
> wxPython is a Python extension, so even if you can build wxWidgets using a
> different compiler, it won't matter if that compiler doesn't produce a
> binary that works with the Python you have installed. wxPython's build
> scripts use MSVC because that is what Python itself uses. See:
>
> https://docs.python.org/2/extending/windows.html


For what it's worth, some third party compilers can build extensions that
are compatible with the MSVC-built python (mingw, for instance), and I'm
pretty sure some folks are using TDM-GCC as well.

I"d checkout the numpy/scipy communities, there's a lot of work going on
there with that.

Here is one example:
http://deeplearning.net/software/theano/install_windows.html

But I imagine you've got your work cut out for you in any case.

-Chris




>
>
> Particularly important is the last part of the second paragraph. So
> building with something other than MSVC is not really a practical option
> for the wxPython project, because it needs to produce binaries that work
> with stock Python, and that means something built using MSVC.
>
> If you want to build wxPython with something other than MSVC, you need to
> start by building your Python that way, and be aware that any extension you
> build will almost certainly not work with stock Python. I wish you luck,
> but avoiding filling out that form is likely to result in you spending
> hours or quite possibly even dozens of hours finding some way of getting
> everything building with an alternate compiler chain.
>
> Regards,
>
> Kevin
>
> > --
> > You received this message because you are subscribed to the Google
> Groups "wxPython-dev" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "wxPython-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.