c++ - 不能包含 "vcruntime_new_debug.h"

标签 c++ windows visual-c++ unreal-engine4

我正在尝试编译 UE4 C++ 项目,但我遇到了这个错误

Running D:/UE_4.24/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project="F:/Unreal/MyProject11/MyProject11.uproject" -TargetType=Editor -Progress -NoHotReloadFromIDE
Creating makefile for MyProject11Editor (no existing makefile)
@progress push 5%
Parsing headers for MyProject11Editor
  Running UnrealHeaderTool "F:\Unreal\MyProject11\MyProject11.uproject" "F:\Unreal\MyProject11\Intermediate\Build\Win64\MyProject11Editor\Development\MyProject11Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
Reflection code generated for MyProject11Editor in 12,6746457 seconds
@progress pop
Building MyProject11Editor...
Using Visual Studio 2017 14.16.27034 toolchain (D:\ProgramData\????? ?????\VC\Tools\MSVC\14.16.27023) and Windows 10.0.17763.0 SDK (C:\Program Files (x86)\Windows Kits\10).
Building 11 actions with 8 processes...
  @progress 'Compiling C++ source code...' 0%
  @progress 'Compiling C++ source code...' 9%
  [1/11] Default.rc2
  @progress 'Compiling C++ source code...' 18%
  [2/11] SharedPCH.Engine.ShadowErrors.cpp
  C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\new.h(13): fatal error C1083: Cannot open include file: 'vcruntime_new_debug.h': No such file or directory

我不知道什么是vcruntime_new_debug.h。 我更新了所有包,例如 .NET 框架或 Visual C++ Redistributable。

最佳答案

我也找不到。 所以我只是从 Github 下载头文件. 您可能还缺少其他头文件,因此最好复制整个 vcruntime *

关于c++ - 不能包含 "vcruntime_new_debug.h",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59323421/

相关文章:

c++ - 在 MFC MDI 应用程序中级联特定窗口

c# - 为什么我的二进制文件可以在 Windows 8 上运行,但不能在 Windows 7 上运行?

windows - 如何修复 Windows 中的 "VirtualBox Interface has active connections"错误?

c++ - volatile 文件间或线程间?

c++ - 为什么我的查找阶乘的 C++ 代码不起作用?

c++ - 将 ref 类对象 (Uri^) 作为 native 指针参数 (IUriRuntimeClass *) 传递

c - MPI基础类(class)

php - 将 Windows 时区转换为 PHP 设置的等效时区

visual-studio-2010 - C#字符串与std:string:传递字符串时出现问题

c++ - 为什么我会收到 "is not a class or namespace"错误