错误
bash "/home/heisenberg/Downloads/UnrealEngine-release/Engine/Build/BatchFiles/Linux/Build.sh" CrashReportClient Linux Shipping
Fixing inconsistent case in filenames.
Setting up Mono
Building CrashReportClient...
Using 'git status' to determine working set for adaptive non-unity build (/home/heisenberg/Downloads/UnrealEngine-release).
Creating makefile for CrashReportClient (no existing makefile)
ERROR: Unhandled exception: System.ComponentModel.Win32Exception (0x80004005): ApplicationName='/home/heisenberg/Downloads/UnrealEngine-release/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v14_clang-8.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++', CommandLine=' --version', CurrentDirectory='', Native error= Cannot find the specified file
at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x002dc] in <23340a11bb41423aa895298bf881ed68>:0
at System.Diagnostics.Process.Start () [0x0003a] in <23340a11bb41423aa895298bf881ed68>:0
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
at UnrealBuildTool.LinuxToolChain.DetermineCompilerVersion () [0x000e0] in <dc480436ddaf4a07bf1ccbd367fb0a35>:0
at UnrealBuildTool.LinuxToolChain..ctor (System.String InArchitecture, UnrealBuildTool.LinuxPlatformSDK InSDK, System.Boolean InPreservePSYM, UnrealBuildTool.LinuxToolChainOptions InOptions) [0x002c5] in <dc480436ddaf4a07bf1ccbd367fb0a35>:0
at UnrealBuildTool.LinuxPlatform.CreateToolChain (UnrealBuildTool.ReadOnlyTargetRules Target) [0x0005d] in <dc480436ddaf4a07bf1ccbd367fb0a35>:0
at UnrealBuildTool.UEBuildTarget.CreateToolchain (UnrealBuildTool.UnrealTargetPlatform Platform) [0x00014] in <dc480436ddaf4a07bf1ccbd367fb0a35>:0
at UnrealBuildTool.UEBuildTarget.Build (UnrealBuildTool.BuildConfiguration BuildConfiguration, UnrealBuildTool.ISourceFileWorkingSet WorkingSet, System.Boolean bIsAssemblingBuild, Tools.DotNETCommon.FileReference SingleFileToCompile) [0x00053] in <dc480436ddaf4a07bf1ccbd367fb0a35>:0
at UnrealBuildTool.BuildMode.CreateMakefile (UnrealBuildTool.BuildConfiguration BuildConfiguration, UnrealBuildTool.TargetDescriptor TargetDescriptor, UnrealBuildTool.ISourceFileWorkingSet WorkingSet) [0x00141] in <dc480436ddaf4a07bf1ccbd367fb0a35>:0
at UnrealBuildTool.BuildMode.Build (System.Collections.Generic.List`1[T] TargetDescriptors, UnrealBuildTool.BuildConfiguration BuildConfiguration, UnrealBuildTool.ISourceFileWorkingSet WorkingSet, UnrealBuildTool.BuildOptions Options, Tools.DotNETCommon.FileReference WriteOutdatedActionsFile) [0x0001a] in <dc480436ddaf4a07bf1ccbd367fb0a35>:0
at UnrealBuildTool.BuildMode.Execute (Tools.DotNETCommon.CommandLineArguments Arguments) [0x002b4] in <dc480436ddaf4a07bf1ccbd367fb0a35>:0
at UnrealBuildTool.UnrealBuildTool.Main (System.String[] ArgumentsArray) [0x00291] in <dc480436ddaf4a07bf1ccbd367fb0a35>:0
Makefile:207: recipe for target 'CrashReportClient-Linux-Shipping' failed
make: *** [CrashReportClient-Linux-Shipping] Error 5
答案 0 :(得分:0)
它正在尝试运行命令/home/heisenberg/Downloads/UnrealEngine-release/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v14_clang-8.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++
。在我的计算机上,该文件不存在...但是该目录中有一个名为clang
的文件。我将该文件名更改为clang ++(cp clang clang++
),并能够成功克服该错误。
但是,然后在运行make
命令时出现了另一个错误。那时,我放弃了使用release
分支。我切换到4.24
分支,并能够成功构建项目。