ryanjon2040 / Unreal-Binary-Builder

An application designed to create installed Unreal Engine builds (aka Rocket builds) from Unreal Engine GitHub source.
MIT License
657 stars 150 forks source link

Build tool failing, it's trying to compile something i don't want. #35

Closed Almightygir closed 3 years ago

Almightygir commented 3 years ago

Hi there,

Attached are screenshots of the build tool and the settings I'm using, along with the errors. But it seems that the build tool is trying to build for LinuxArm64 even though I don't want/need it to.

image image

ryanjon2040 commented 3 years ago

Hi there, Can you post the commandline? Use Copy Commandline to clipboard button

Almightygir commented 3 years ago

BuildGraph -target="Make Installed Build Win64" -script=Engine/Build/InstalledEngineBuild.xml -set:WithDDC=true -set:SignExecutables=false -set:EmbedSrcSrvInfo=false -set:GameConfigurations=Development;Shipping -set:WithFullDebugInfo=false -set:HostPlatformEditorOnly=false -set:AnalyticsTypeOverride= -set:HostPlatformDDCOnly=true -set:WithWin64=true -set:WithMac=false -set:WithAndroid=false -set:WithIOS=false -set:WithTVOS=false -set:WithLinux=false -set:WithLumin=false -set:WithLinuxAArch64=false -set:CompileDatasmithPlugins=false -set:WithServer=false -set:WithClient=false -set:WithHoloLens=false

Almightygir commented 3 years ago

Looking earlier in the log, there's also this: WARNING: Unknown argument 'WithLinuxAArch64' for 'D:\KAOS\EngineSource\Engine\Build\InstalledEngineBuild.xml'

Almightygir commented 3 years ago

I found this line in \Engine\Build\InstalledEngineBuild.xml:

And changed the default value to false. This seems to have let me at least build. So at this stage I'm not sure if this is a problem with the binary builder (I compiled previously with VS2019 and had no issues). But maybe this knowledge will help someone else in future?

ryanjon2040 commented 3 years ago

Have you modified the InstalledEngineBuild.xml in anyway? May I know which commit you are trying to build? The LinuxAArch64 was removed in UE5 and they added LinuxArm64 which I have not added into Unreal Binary Builder yet. But still that value should be false by default and I have not encountered this error while building the Engine (I use ue-main branch).

Almightygir commented 3 years ago

I'm building UE5-main.

I haven't touched anything, just pulled from git and built.

ryanjon2040 commented 3 years ago

That's strange. I'm also building from ue5-main but never had this issue. Anyways glad you sorted it out. I'm closing this for now.