-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Build with Visual Studio 2015 using PlatformToolset=v120 #70267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Fixing the build output folder for tix-8.4.3.6. |
Good catch! Once I'm at a PC I'll merge this in unless someone else gets there first. (I believe it also applies to 2.7 since the project files were updated.) |
I'm on the fence about this one. MSVC 12.0 is not officially supported for any Python release. Also, using PlatformToolset makes things difficult for ICC builds (which set PlatformToolset to e.g. "Intel C++ Compiler 16.0"). On the other hand, this is a very simple change, and building tkinter with ICC is pretty well completely broken anyway (it only works if you first build Tcl/Tk with MSVC). Call me +0; +1 if you can get around using PlatformToolset directly. |
It's better than using the Visual Studio version, which isn't necessarily tied to any VC version. To support another compiler will require more code like this anyway. An alternative may be to patch Tcl et al. to not put the VC version into the output path? That's likely to lead to different problems for people though... |
The fewer patches we carry against Tcl/Tk the better. This can be |
Perhaps the ideal approach here would be to pass TMP_DIR and OUT_DIR into the Tcl/Tk builds, so we can tell them where to put stuff. However, that would require major surgery to Tix's makefile to get it to build. I'd be +1 on doing so (since we're pretty much the de-facto maintainers of Tix at this point, as far as I can tell), but am not enthusiastic about actually doing it. I'd be much more enthusiastic about deprecating Tix. Steve, if the patch as given is good enough for you, I'm fine with applying it. |
Go ahead. Feel free to add toolsets to cover ICC if you need them. At one point I was passing through those directories for the build and it was not really trivial. A few too many places where it needed to be handled, but with patches against Tix it's probably disable. |
New changeset 7617f5b3f263 by Steve Dower in branch '3.5': New changeset f426178c9d6c by Steve Dower in branch 'default': |
Python 2.7 has a different section in its tcltk.props file and doesn't need this fix (yet). Thanks for the patch, Bjoern! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: