stephenjust Posted January 26, 2023 Report Share Posted January 26, 2023 I'm just getting started in setting up a build environment on Windows, but I've got a nagging question that I couldn't find an answer to in the wiki or forum after some searching - Why is the project still being built with a Windows XP-compatible toolset if support for XP was dropped (due to spidermonkey)? Is it just a matter of nobody prioritizing moving off the toolset or is there some more subtle reason? Quote Link to comment Share on other sites More sharing options...
Stan` Posted January 26, 2023 Report Share Posted January 26, 2023 44 minutes ago, stephenjust said: Why is the project still being built with a Windows XP-compatible toolset if support for XP was dropped (due to spidermonkey)? Is it just a matter of nobody prioritizing moving off the toolset or is there some more subtle reason? It's basically that. It requires rebuilding all the libraries one by one and we did not do that yet. I also do not know the consequences of not using it. Will it still work on W7 for example. Then there is the CI to update too. Quote Link to comment Share on other sites More sharing options...
hyperion Posted January 26, 2023 Report Share Posted January 26, 2023 It's unlikely that a newer toolset causes issues. C linkage is rather stable. Just take it as a well tested setup. If a newer toolset or Visual Studio causes problems reports are certainly welcome. Quote Link to comment Share on other sites More sharing options...
Stan` Posted January 26, 2023 Report Share Posted January 26, 2023 1 hour ago, hyperion said: It's unlikely that a newer toolset causes issues. C linkage is rather stable. Just take it as a well tested setup. If a newer toolset or Visual Studio causes problems reports are certainly welcome. I'm talking about compatibility issues, and SDK problems, what do we use 7.0, 8.1, 10.***(Win10) 10.22000+(Win11) I have no idea what works on which version of Windows Quote Link to comment Share on other sites More sharing options...
hyperion Posted January 26, 2023 Report Share Posted January 26, 2023 1 minute ago, Stan` said: I'm talking about compatibility issues, and SDK problems, what do we use 7.0, 8.1, 10.***(Win10) 10.22000+(Win11) I have no idea what works on which version of Windows Sure for release and CI builds anything newer then windows 7 sdk isn't an option, just meant to say if you build for yourself choose what you like. 1 Quote Link to comment Share on other sites More sharing options...
stephenjust Posted January 28, 2023 Author Report Share Posted January 28, 2023 Per Latest supported Visual C++ Redistributable downloads | Microsoft Learn at least, platform toolset v143 (from VS2022) is still compatible with Windows Vista and newer, and per Which SDK do I need to ensure Windows 7 compatibility in Visual Studio C++ 2017 - Stack Overflow, the Windows 10 SDK can still build apps for Windows 7 given the right compiler flags - so it at least sounds like an appropriately motivated individual could upgrade the code / build system without losing compatibility (and unblock use of newer language features). 3 Quote Link to comment Share on other sites More sharing options...
Stan` Posted January 28, 2023 Report Share Posted January 28, 2023 14 hours ago, stephenjust said: Per Latest supported Visual C++ Redistributable downloads | Microsoft Learn at least, platform toolset v143 (from VS2022) is still compatible with Windows Vista and newer, and per Which SDK do I need to ensure Windows 7 compatibility in Visual Studio C++ 2017 - Stack Overflow, the Windows 10 SDK can still build apps for Windows 7 given the right compiler flags - so it at least sounds like an appropriately motivated individual could upgrade the code / build system without losing compatibility (and unblock use of newer language features). Are you that person ? Quote Link to comment Share on other sites More sharing options...
hyperion Posted January 29, 2023 Report Share Posted January 29, 2023 On 28/01/2023 at 6:00 AM, stephenjust said: the Windows 10 SDK can still build apps for Windows 7 given the right compiler flags Are you sure those flags survive any and all of those creative hacks cross platform software developers came up with to work around quirkiness in windows headers. Even if building with an w10 sdk would under circumstances produce binaries that work I see no reason to not use an w7 or older sdk for CI. Quote Link to comment Share on other sites More sharing options...
stephenjust Posted February 6, 2023 Author Report Share Posted February 6, 2023 For what it's worth, it was very easy for me to get the game built and running on the v141 toolset in VS2017 (which references the Windows 8.1 SDK), with defines to support Windows 7. The binary dependencies in SVN don't even need to be recompiled, I just had to remove two XP-toolset-related workarounds. v141-toolset.patch 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 6, 2023 Report Share Posted February 6, 2023 Thanks will be added to https://code.wildfiregames.com/D4753 Do you wish to be credited for it ? If so it can be nickname or full name or both Quote Link to comment Share on other sites More sharing options...
stephenjust Posted February 7, 2023 Author Report Share Posted February 7, 2023 Don't worry about credit 1 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.