Cmake Windows 10 SDK

tried to compile VTK using cmake on Windows 10 with the Visual Studio compiler ... however cmake says: "Could not find a suitable version of the Windows 10 SDK installed on this computer." Good. So I installed the Windows 10 SDK, but the same error persists.

Any idea what could be wrong? I already reinstalled cmake, but did not have time.

Thanks Eric

+1
source share
1 answer

I have the same problem, and in my case this is because the newly installed SDK is targeted at 10.0.10586.0

ls "C:\Program Files (x86)\Windows Kits\10\include\" Directory: C:\Program Files (x86)\Windows Kits\10\include Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 12/4/2015 12:27 AM 10.0.10586.0 

But my system is defined by cmake as:

System: Windows - 10.0.10240 - AMD64

If you rename the include \ 10.0.10586.0 folder to include \ 10.0.10240, the SDK will be found.

0
source

All Articles