"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) 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. instanceId: 874fee78 installDate: 3/28/2017 installationName: VisualStudio/15.0.0+26228.9 installationPath: C:\Program Files\Microsoft Visual Studio\2017\Community installationVersion: 15.0.26228.9 displayName: Visual Studio Community 2017 description: Free, fully-featured IDE for students, open-source and individual d evelopers enginePath: C:\Program Files\Microsoft Visual Studio\Installer\resources\app \Ser viceHub\Services\Microsoft.VisualStudio.Setup.Service channelId: VisualStudio.15.Release channelPath: C:\Users\Anton\AppData\Local\Microsoft\VisualStudio\Packages \_Chann els\4CB340F5\catalog.json channelUri: https://aka.ms/vs/15/release/channel On Tue, Mar 28, 2017 at 4:40 PM, Nils Gladitz <nilsglad...@gmail.com> wrote: > On 03/28/2017 03:17 PM, HarpyWar wrote: > > Nils Gladitz, the command, which you proposed, return nothing, even on a > machine where a compiler found: > vswhere -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 > -requires Microsoft.VisualStudio.Component.Windows10SDK > > > For me it lists my "Visual Studio Community 2017" installation (on Windows > 10). > > If CMake works nonetheless perhaps you've got > "Microsoft.VisualStudio.Component.Windows81SDK" instead of > "Microsoft.VisualStudio.Compone > nt.Windows10SDK" (which I think CMake falls back on). > > And on the systems where it doesn't work perhaps you've got neither? > > Nils >
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake