UE5源码版本在多个工程来回切换时重复编译引擎问题
细看UBT日志,已经给出了提示
11>Parsing headers for ActionRPG 11> Running Internal UnrealHeaderTool D:\UEProject\ActionRPG\ActionRPG.uproject D:\UEProject\ActionRPG\Intermediate\Build\Win64\ActionRPG\Development\ActionRPG.uhtmanifest -WarningsAsErrors 11>Total of 7525 written 11>Reflection code generated for ActionRPG in 1.9504653 seconds 11>Building ActionRPG... 11>Using Visual Studio 2022 14.39.33519 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519) and Windows 10.0.22000.0 SDK (C:\Program Files (x86)\Windows Kits\10). 11>[Upgrade] 11>[Upgrade] Using backward-compatible build settings. The latest version of UE sets the following values by default, which may require code changes: 11>[Upgrade] bLegacyParentIncludePaths = false => Omits module parent folders from include paths to reduce compiler command line length. (Previously: true). 11>[Upgrade] CppStandard = CppStandardVersion.Default => Updates C++ Standard to C++20 (Previously: CppStandardVersion.Cpp17). 11>[Upgrade] WindowsPlatform.bStrictConformanceMode = true => Updates MSVC strict conformance mode to true (Previously: false). 11>[Upgrade] Suppress this message by setting 'DefaultBuildSettings = BuildSettingsVersion.V4;' in ActionRPG.Target.cs, and explicitly overriding settings that differ from the new defaults. 11>[Upgrade] 11>[Upgrade] 11>[Upgrade] Using backward-compatible include order. The latest version of UE has changed the order of includes, which may require code changes. The current setting is: 11>[Upgrade] IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_0 11>[Upgrade] Suppress this message by setting 'IncludeOrderVersion = EngineIncludeOrderVersion.Latest;' in ActionRPG.Target.cs. 11>[Upgrade] Alternatively you can set this to 'EngineIncludeOrderVersion.Latest' to always use the latest include order. This will potentially cause compile errors when integrating new versions of the engine. 11>[Upgrade] 11>Determining max actions to execute in parallel (12 physical cores, 20 logical cores)
在模块build.cs指定编译配置版本即可(应该有多个,编辑器,客户端,服务器)
DefaultBuildSettings = BuildSettingsVersion.V4; IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
分类:
ue4
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 如何给本地部署的DeepSeek投喂数据,让他更懂你
· 超详细,DeepSeek 接入PyCharm实现AI编程!(支持本地部署DeepSeek及官方Dee
· 用 DeepSeek 给对象做个网站,她一定感动坏了
· .NET 8.0 + Linux 香橙派,实现高效的 IoT 数据采集与控制解决方案
· DeepSeek处理自有业务的案例:让AI给你写一份小众编辑器(EverEdit)的语法着色文件