As Geoff mentioned, we've switched to MSVC 2015 and C++11 support. So you need MSVC 2015 and the new SDK to build commit e8f3881 (tagged "with-FreeOrionSDK-v3") or later.
See this post in the FreeOrion Windows SDK thread.
The current v3 of the new SDK for Windows still might have a glitch, please report back if you encounter issues. I think there might be a problem when you try to run the FO executable built with the new SDK. A fix has already been committed, but Marcel hasn't released a new version yet.
1>freetype255MT.lib(winfnt.obj) : warning LNK4099: PDB "freetype.pdb" wurde nicht mit "freetype255MT.lib(winfnt.obj)" oder an "C:\Users\...\Documents\FreeOrion\FreeOrion\freetype.pdb" gefunden; Objekt wird verknüpft, als ob keine Debuginformationen vorhanden wären.
>------ Erstellen gestartet: Projekt: Common, Konfiguration: Release Win32 ------
4> Configuring Version.cpp
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" wurde mit dem Code -1073741515 beendet.
Ah yes, that has been the glitch. Now I remember, it's not that the final build crashes, but this strange build error. Don't have time right now, have to catch a bus, but will get back to you ASAP.
>------ Erstellen gestartet: Projekt: Common, Konfiguration: Release Win32 ------
4> Configuring Version.cpp
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" wurde mit dem Code -1073741515 beendet.
Ah yes, that has been the glitch. Now I remember, it's not that the final build crashes, but this strange build error. Don't have time right now, have to catch a bus, but will get back to you ASAP.
Is this already fixed in the SDK?
A fix has already been committed, but Marcel hasn't released a new version yet.
I don't remember any report similar to that. :/
Resident code gremlin
Attached patches are released under GPL 2.0 or later.
Git author: Marcel Metz
adrian_broher wrote:Is this already fixed in the SDK?
Sure, since over a month, by yourself actually: 72f135c
I don't remember any report similar to that. :/
Ok, you must really have been stressed out at that time - apparently you pushed the fix and immediately forgot about it. I've been wondering when you were getting around to release v4 with that fix, as it's quite important, but thought that you probably had some other unfinished stuff you wanted included... so maybe release v4 now before we get more complaints about an already fixed issue?
Despite using the latest SDK, I didn't manage to compile FreeOrion with VS 2017. Is it still up to date?
Should I maybe provide some information like the error messages from the compiler?
If I provided any images, code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0.