Skip to content

Problem with packging and shipping the project in ubuntu 22.04  #373

@RoyAmoyal

Description

@RoyAmoyal

Hey,

I used docker (Ubuntu 20/18) with clang 8 to build the Airsim inside the docker and mounting it to my host with Ubuntu 22.04.

It worked, and I can edit the project with Unreal with my Ubuntu 22.04.

Now when I try to build and compile the project I get erros like:

UnrealEngine/Engine/Source/Runtime/Core/Public/Templates/TypeHash.h:102:27: �[0m�[0;1;31merror: �[0m�[1munknown type name 'uint64_t'�[0m
PackagingResults: Error: �[0m�[1munknown type name 'uint64_t'�[0m

PackagingResults: Error: �[0m�[1mno member named 'GetCachedContainer' in 'FCachedPropertyPath'�[0m
UATHelper: Packaging (Linux):   �[1m/home/myuser/computer_graphics/UnrealEngine/Engine/Source/Runtime/PropertyPath/Public/PropertyPathHelpers.h:456:39: �[0m�[0;1;31merror: �[0m�[1mno member named 'GetCachedContainer' in 'FCachedPropertyPath'�[0m

PackagingResults: Error: �[0m�[1mno member named 'GetCachedContainer' in 'FCachedPropertyPath'�[0m

UATHelper: Packaging (Linux):   [683/685] Compile Module.DynamicMesh.1_of_3.cpp
UATHelper: Packaging (Linux): Took 655.860589s to run mono, ExitCode=6
UATHelper: Packaging (Linux): UnrealBuildTool failed. See log for more details. (/home/roy/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-Blocks-Linux-Shipping_2.txt)
UATHelper: Packaging (Linux): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Linux): RunUAT ERROR: AutomationTool was unable to run successfully.
PackagingResults: Error: AutomationTool was unable to run successfully.
PackagingResults: Error: Unknown Error

ChatGPT suggests that some of the errors related to the Clang version (probabily I used Airsim do compile inside the docker with clang 8, but the rest of the project, e.g. Unreal I compiled on my host with clang12)

What can I do to solve that? Do I need to use the docker again (and building the Unreal their too) and use it to compile inside the docker through commandline with Unreal?

Any other idea?

T!hanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions