NW-GYP not recognising Visual Studio 2015 as a valid build tool on Windows 10
jpcharlesworth opened this issue · comments
I have been investigating at some length why I cannot build sqlite 3 for Node-Webkit on Windows 10.
I have installed Visual Studio Community Version with C++ but nw-gyp does not recognise GYP_MSVS_VERSION=2015 as referring to a valid version; see attached file MSVSVersionError.txt.
MSVSVersionError.txt
I looked in the code on the nw-gyp repository and it appears that there have been no commits for 2 years, so clearly no changes have been made to accommodate VS2015.
MSVSVersionError.txt
There is a pull request that fix this for non-enterprise editions. I use the 2015 Enterprise Edition and had to add another value in the versions object (in this file).
'2015e': VisualStudioVersion('2015', 'Visual Studio 2015', solution_version='12.00', project_version='14.0', flat_sln=False, uses_vcxproj=True, path=path, sdk_based=sdk_based, default_toolset='v140'),
Also added this in the version_map:
'2015e': ('14.0',),
It should be fixed by our latest release of nw-gyp.