繁体   English   中英

虚幻引擎4.10未创建C ++项目

[英]Unreal Engine 4.10 is not creating c++ project

您好,我想使用基本的c ++代码在UE4.10中创建一个项目。 但是在创建它时,UE给我一个错误:

该项目无法编译。 您想在Visual Studio中打开它吗? 运行E:/ Program Files(x86)/ Epic Games / 4.10 / Engine / Binaries / DotNET / UnrealBuildTool.exe MyProject Development Win64 -project =“ C:/ Users / allst / Documents / Unreal Projects / MyProject / MyProject.uproject”- rocket -editorrecompile -progress -noubtmakefiles -2015 @progress push 5%解析运行UnrealHeaderTool的MyProjectEditor的标头“ C:/ Users / allst / Documents / Unreal Projects / MyProject / MyProject.uproject”“ C:\\ Users \\ allst \\ Documents \\ Unreal Projects \\ MyProject \\ Intermediate \\ Build \\ Win64 \\ MyProjectEditor \\ Development \\ UnrealHeaderTool.manifest“ -LogCmds =” loginit警告,logexit警告,logdatabase错误“ -rocket-已安装MyProjectEditor在17,8672852秒内生成的反射代码@progress pop执行7动作(并行2个)[2/7]资源PCLaunch.rc E:\\ Program Files(x86)\\ Epic Games \\ 4.10 \\ Engine \\ Source \\ Runtime \\ Launch \\ Resources \\ Windows \\ PCLaunch.rc(10):致命错误RC1015:无法打开包含文件“ windows.h”。 [3/7]资源ModuleVersionResource.rc.inl E:\\ Program Files(x86)\\ Epic Games \\ 4.10 \\ Engine \\ Source \\ Runtime \\ Core \\ Resources \\ Windows \\ ModuleVersionResource.rc.inl(3):致命错误RC1015:无法打开包含文件“ windows.h”。 PCH.MyProject.h.cpp E:\\ Program Files(x86)\\ Epic Games \\ 4.10 \\ Engine \\ Source \\ Runtime \\ Core \\ Public \\ HAL \\ PlatformIncludes.h(5):致命错误C1083:无法打开包含文件:' new”:没有此类文件或目录--------结束详细操作统计信息------------------------------ -----------------------------错误:UBT错误:无法生成项目:C:\\ Users \\ allst \\ Documents \\ Unreal Projects \\ MyProject \\ Binaries \\ Win64 \\ UE4Editor-MyProject.dll总生成时间:90,64秒

我有VS 2013专业版,但是我被要求安装VS 2015社区,但我的问题仍然存在。 您有什么想法现在应该做什么? 如有任何建议,我将不胜感激。 祝你今天愉快!

请在安装Visual Studio 2015时确认已选择“ Visual C ++ 2015通用工具”。它不会自动安装,您需要为此进行自定义安装。

在Visual Studio Community 2015 with Update 3上运行4.12.5之前的虚幻引擎时,这似乎是一个已知问题。

假设您已经安装了Visual C ++ 2015的通用工具 您可以通过以下步骤检查是否正在运行带有Update 3的VS2015:

Visual Studio 2015 > Help > About Microsoft Visual Studio

解决方案1:更新虚幻引擎> 4.12.5

将您的虚幻引擎更新到4.12.5以上的版本

转到Epic Game launcher > Unreal Engine > Library > Engine Version以更新引擎。

解决方案2:无需更新3的Resintall VS2015

按照从Infected_Post指令这里

以下是他发布的内容:

  1. 完全卸载Visual Studio
  2. 使用Extra Visual Studio卸载清洁程序。 github > Microsoft/VisualStudioUninstaller/releases
  3. 删除剩余的Visual Studio安装文件夹。
  4. 重新启动,这台机器应该已经可以进行全新安装了
  5. 下载没有任何更新的Visual Studio 2015安装程序: https : //www.microsoft.com/zh-cn/download/details.aspx?id=48146
  6. 现在确保您执行自定义安装并取消选择更新3 !!!
  7. 安装完成后,您需要为您的虚幻项目生成Visual Studio项目文件。

暂无
暂无

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

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