简体   繁体   English

UE4无法使用vs2017编译C ++项目

[英]UE4 can not compile c++ project with vs2017

So when i start to create a c++ project under ue4.20.2 and vs2017,there is a error: 所以当我开始在ue4.20.2和vs2017下创建一个c ++项目时,出现了一个错误:

> ERROR: UnrealBuildTool Exception:
> Unable to find path to the Windows
> resource compiler under C:\Program
> Files (x86)\Windows Kits\10 (version
> 10.0.16299.0)

And i find my vs2017 haven't the 10.0.16299.0 version sdk(I have 10.0.10240.0 and 10.0.17134.0).How can i do for this(how to specify the sdk version)? 我发现我的vs2017没有10.0.16299.0版本的sdk(我有10.0.10240.0和10.0.17134.0)。我该如何做(如何指定sdk版本)?

Unreal Engine 4 requires Windows Kits 8.1. 虚幻引擎4需要Windows Kits 8.1。 You need to install it via Visual Studio Installer that come with Visual Studio 2017 in order to compile your code. 您需要通过Visual Studio 2017附带的Visual Studio Installer进行安装,以编译代码。 And it looks like you are trying to use Windows SDK 10. 看起来您正在尝试使用Windows SDK 10。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM