cmake Windows 10 SDK

↘锁芯ラ 提交于 2019-12-02 04:28:13

I've have the same issue and in my case it's because the SDK I just installed is targeting 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 detected by cmake as:

The system is: 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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!