[CMake] Visual Studio 2017 could not be found if installed in non-default location
Nils Gladitz
nilsgladitz at gmail.com
Tue Mar 28 11:01:45 EDT 2017
On 03/28/2017 03:57 PM, HarpyWar wrote:
> "Microsoft.VisualStudio.Component.Windows81SDK" could not not be found
> anywhere.
>
> A component "Microsoft.VisualStudio.Component.Windows10SDK.14393"
> exists on Windows 10 x64 (just found about it here
> https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-community
> <https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-community>)
>
> This component also exists on a virtual machine with Windows 8.1 x86
> where cmake can not find the compiler.
>
> vswhere -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64
> -requires Microsoft.VisualStudio.Component.Windows10SDK.14393
> Visual Studio Locator, version 1.0.58
> Copyright (C) Microsoft Corporation. All rights reserved.
https://gitlab.kitware.com/cmake/cmake/blob/master/Source/cmVSSetupHelper.cxx#L115
also seems to expect / accept those version suffixes.
Beyond that I can't think of anything other than debugging into
cmVSSetupHelper.cxx.
Nils
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170328/f6e813d5/attachment.html>
More information about the CMake
mailing list