`

Incredibuild 导致的 UE4.14 源码编译 UnrealHeaderTool 错误,已解决!

阅读更多

 

Issue:

 

ERROR : UBT error : Failed to produce item: G:\UE4.14\Engine\UnrealHeaderTool-Core.dll\Binaries\Win64
UnrealHeaderTool failed for target 'UE4Editor' (platform: Win64, module info: G:\UE4.14\Engine\Intermediate\Build\Win64\UE4Editor\DebugGame\UnrealHeaderTool.manifest).
error MSB3073:The command "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 DevelopmentEditor" exited with code -1.

 

Solved:

 

Incredibuild was the issue. The problem is Unreal uses a tool called xgConsole. Incredibuild also has a command line tool called xgConsole so it calls the wrong one.

To fix this, removing the Incredibuild path from your environments PATH variable will stop the UBT (Unreal Build Tool) using the wrong program.

All I can say is, thank goodness you can step through the build tool code... would never have found that from the error message!

Some additional information for people getting the above error message but don't have incredibuild:

  • The error is from the link task from running the UBT trying to build the header tool

  • Isn't related to this file, for me it was the first compilation task that failed (since couldn't launch the xgConsole tool).

To debug from the source code, you need to run the UnrealBuildTool project with the following settings:

First:

  1. UE4Editor Win64Debug

This will run the tool as it would normally. This launches itself (which is where the problem was for me). This sub instance can be launched to debug using the same project but with the following command line arguments:

  1. UnrealHeaderToolWin64Debug-NoMutex

Hopefully this will be useful to someone :)

分享到:
评论

相关推荐

    incredibuild_ndk-build.rar

    通过分布式构建,Incredibuild能够显著提高编译速度,将编译任务分散到多台机器上执行。`profile.xml`可能包含了关于如何分配资源、设置编译优先级、优化构建流程等信息。将这个文件覆盖到NDK目录意味着用户打算集成...

    IncrediBuild语言包vs2013

    在Visual Studio 2013环境下,开发者可能会遇到编译输出显示乱码或Unicode编码问题,这会影响代码调试和错误定位。而"IncrediBuild语言包vs2013"就是为了解决这些问题而设计的。 首先,让我们深入理解Unicode问题。...

    increadibuild_VS联合编译破解版

    vs的联合编译插件, 有破解工具, 只需要输入相应的IP和端口即可.

    incredibuild.v3.5.1.rar

    Incredibuild是一款高效、强大的软件构建加速工具,版本v3.5.1代表了该软件的一个特定迭代,旨在帮助开发者显著提高编译速度,缩短项目开发周期。这款工具通过分布式构建技术,将单一计算机的编译任务分散到网络中的...

    incredibuild 4.6.1

    incredibuild 4.6.1

    increbuild-4.0 4.6安装程序及破解

    increbuild-4.0&4.6安装程序及破解,希望对你有用。

    分布式编译

    在标题提及的场景中,我们看到一个与"分布式编译"相关的工具,可能是Incredibuild 4.61版本的安装程序(incredibuild4_61.exe),这个工具特别适用于Windows 10操作系统,并且被证明可以在该环境下成功编译2503个...

    MTK联机编译工具

    MTK联机编译工具是针对MediaTek(MTK)平台开发的一款高效能的软件编译解决方案。这个工具的主要目标是提高开发效率,通过并行处理技术,将编译过程分散到多台计算机上,从而大大缩短了整体的编译时间,让开发者能够...

    VC分布式编译_3.10

    IncrediBuild需要一个特定的计算机做仲裁者, 其他的所有计算机作为客户, 有了仲裁者的好处是, 可以有它来统一安排所有客户端所发起的编译请求, 一旦某个客户发起编译请求, 则仲裁者会根据其他客户的CPU空闲情况而...

    分布式编译工具3.40

    Incredibuild 3.40就是这样一个高效、强大的分布式编译解决方案。 Incredibuild 3.40版本可能包含以下特性: 1. **并行编译**:它能够智能地将源代码的编译任务分解为多个子任务,并在可用的计算节点间进行分配,...

    MT6225Gemini分布式编译

    【MT6225Gemini分布式编译】是一种优化的编译技术,主要应用于基于MediaTek(MTK)芯片平台的软件开发过程中。这个技术旨在提高编译效率,通过利用多台计算机的计算资源,将原本单一主机上的编译任务分散到多个节点...

    IncredBuild v3.40破解工具

    IncredBuild v3.40破解工具

    cov_analysis_administration_guide.pdf

    最后,“构建集成故障排除”章节提供了一系列常见问题及其解决方案,帮助管理员在遇到如编译器错误、缺失头文件或SSL配置问题时能够快速定位并解决问题。 综上所述,本管理员指导文档是一个全面的技术资料,不仅...

    xbuild联合编译器

    xbuild联合编译器

Global site tag (gtag.js) - Google Analytics