首页 / 浏览问题 / 组件GIS / 问题详情
UE4.25无法用C++创建程序
1EXP 2023年02月13日
1>------ 已启动全部重新生成: 项目: P1, 配置: Development_Editor x64 ------
1>Cleaning P1Editor and UnrealHeaderTool binaries...
1>Creating makefile for P1Editor (no existing makefile)
1>Parsing headers for P1Editor
1>  Running UnrealHeaderTool "G:\UE2.5\Project\P1\P1.uproject" "G:\UE2.5\Project\P1\Intermediate\Build\Win64\P1Editor\Development\P1Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="C:\Users\powerfuled\AppData\Local\UnrealBuildTool\Log_UHT.txt" -installed
1>Reflection code generated for P1Editor in 4.4477852 seconds
1>Building P1Editor...
1>Using Visual Studio 2017 14.10.25027 toolchain (G:\Visual Studio 2017\VC\Tools\MSVC\14.10.25017) and Windows 10.0.14393.0 SDK (C:\Program Files (x86)\Windows Kits\10).
1>Building 9 actions with 12 processes...
1>  [1/9] Default.rc2
1>  [2/9] SharedPCH.Engine.ShadowErrors.cpp
1>g:\ue2.5\ue_4.25\engine\source\runtime\core\public\Windows/WindowsPlatformCompilerSetup.h(21): error C2338: Visual Studio 2017 version 15.6 is required to compile on Windows. Please install updates through the Visual Studio installer.
1>G:\UE2.5\UE_4.25\Engine\Source\Runtime\Core\Public\Delegates/DelegateInstancesImpl.h(397): error C2338: You cannot use raw method delegates with UObjects.
1>  G:\UE2.5\UE_4.25\Engine\Source\Runtime\Core\Public\Delegates/DelegateInstancesImpl.h(521): note: 参见对正在编译的 类 模板 实例化 "TBaseRawMethodDelegateInstance<bConst,UserClass,WrappedRetValType(ParamTypes...),VarTypes...>" 的引用
1>G:\Visual Studio 2017\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(49,5): error MSB3073: 命令“G:\UE2.5\UE_4.25\Engine\Build\BatchFiles\Rebuild.bat P1Editor Win64 Development -Project="G:\UE2.5\Project\P1\P1.uproject" -WaitMutex -FromMsBuild”已退出,代码为 -1。
1>已完成生成项目“P1.vcxproj”的操作 - 失败。

1个回答

你好!
根据上面的保错显示 是需要更新Visual Studio;
关于UE游戏引擎的相关报错 可到UE官方社区进行查找
1,600EXP 2023年02月13日
...