x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Build Unreal Engine 4.18 on Ubuntu 16.04 error

Hi,

I tried to build the Unreal I tried to build the Unreal 4.18 from source on Ubuntu 16.04, but got some errors which seems to be linked with an OS identification error.

bash "/home/gabriel/Documents/Projet/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh" CrashReportClient Linux Shipping Building CrashReportClient... Using 'git status' to determine working set for adaptive non-unity build. Creating makefile for CrashReportClient (no existing makefile) Performing full C++ include scan (no include cache file) Using clang version '3.8.0' (string), 3 (major), 8 (minor), 0 (patch) Building UnrealHeaderTool... Using 'git status' to determine working set for adaptive non-unity build. Creating makefile for UnrealHeaderTool (UnrealBuildTool.exe is newer) Using clang version '3.8.0' (string), 3 (major), 8 (minor), 0 (patch) Using bundled libc++ standard C++ library. Using fast way to relink circularly dependent libraries (no FixDeps). Performing 27 actions (2 in parallel) [1/27] Compile PCH.Core.h [2/27] Compile SharedPCH.Core.h In file included from /home/gabriel/Documents/Projet/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/Core/PCH.Core.h:46: In file included from /home/gabriel/Documents/Projet/UnrealEngine/Engine/Source/Runtime/Core/Private/CorePrivatePCH.h:6: In file included from Runtime/Core/Public/CoreTypes.h:10: Runtime/Core/Public/HAL/Platform.h:767:2: error: static_assert failed "Pointer size is 64bit, but pointers are short." static_assert(!PLATFORM_64BITS || sizeof(void*) == 8, "Pointer size is 64bit, but pointers are short."); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/gabriel/Documents/Projet/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/Core/SharedPCH.Core.h:40: In file included from /home/gabriel/Documents/Projet/UnrealEngine/Engine/Source/Runtime/Core/Public/CoreSharedPCH.h:6: In file included from Runtime/Core/Public/CoreTypes.h:10: Runtime/Core/Public/HAL/Platform.h:767:2: error: static_assert failed "Pointer size is 64bit, but pointers are short." static_assert(!PLATFORM_64BITS || sizeof(void*) == 8, "Pointer size is 64bit, but pointers are short."); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. [3/27] Compile PCH.CoreUObject.h In file included from /home/gabriel/Documents/Projet/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/CoreUObject/PCH.CoreUObject.h:46: In file included from /home/gabriel/Documents/Projet/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/CoreUObjectPrivatePCH.h:6: In file included from Runtime/Core/Public/CoreMinimal.h:9: In file included from Runtime/Core/Public/CoreTypes.h:10: Runtime/Core/Public/HAL/Platform.h:767:2: error: static_assert failed "Pointer size is 64bit, but pointers are short." static_assert(!PLATFORM_64BITS || sizeof(void*) == 8, "Pointer size is 64bit, but pointers are short."); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. [4/27] Compile Module.UnrealHeaderTool.cpp In file included from /home/gabriel/Documents/Projet/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/UnrealHeaderTool/Module.UnrealHeaderTool.cpp:2: In file included from /home/gabriel/Documents/Projet/UnrealEngine/Engine/Source/Programs/UnrealHeaderTool/Private/BaseParser.cpp:3: In file included from Programs/UnrealHeaderTool/Private/BaseParser.h:5: In file included from Runtime/Core/Public/CoreMinimal.h:9: In file included from Runtime/Core/Public/CoreTypes.h:10: Runtime/Core/Public/HAL/Platform.h:767:2: error: static_assert failed "Pointer size is 64bit, but pointers are short." static_assert(!PLATFORM_64BITS || sizeof(void*) == 8, "Pointer size is 64bit, but pointers are short."); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/gabriel/Documents/Projet/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/CoreUObject/PCH.CoreUObject.h:46: In file included from /home/gabriel/Documents/Projet/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/CoreUObjectPrivatePCH.h:228: In file included from Runtime/CoreUObject/Public/UObject/Class.h:16: Runtime/CoreUObject/Public/UObject/GarbageCollection.h:357:3: error: static_assert failed "Pointer size mismatch." static_assert(sizeof(void*) == 8, "Pointer size mismatch."); ^ ~~~~~~~~~~~~~~~~~~ Runtime/CoreUObject/Public/UObject/GarbageCollection.h:358:45: error: shift count >= width of type [-Werror,-Wshift-count-overflow] Result |= UPTRINT(Tokens[CurrentIndex++]) << 32; ^ ~~ Runtime/CoreUObject/Public/UObject/GarbageCollection.h:433:3: error: static_assert failed "Pointer size mismatch." static_assert(sizeof(void*) == 8, "Pointer size mismatch."); ^ ~~~~~~~~~~~~~~~~~~ Runtime/CoreUObject/Public/UObject/GarbageCollection.h:435:28: error: shift count >= width of type [-Werror,-Wshift-count-overflow] Stream[1] = UPTRINT(Ptr) >> 32; ^ ~~ In file included from /home/gabriel/Documents/Projet/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/UnrealHeaderTool/Module.UnrealHeaderTool.cpp:2: In file included from /home/gabriel/Documents/Projet/UnrealEngine/Engine/Source/Programs/UnrealHeaderTool/Private/BaseParser.cpp:8: In file included from Programs/UnrealHeaderTool/Private/ParserHelper.h:9: In file included from Runtime/CoreUObject/Public/UObject/TextProperty.h:7: In file included from Runtime/CoreUObject/Public/UObject/UnrealType.h:13: In file included from Runtime/CoreUObject/Public/UObject/Class.h:16: Runtime/CoreUObject/Public/UObject/GarbageCollection.h:357:3: error: static_assert failed "Pointer size mismatch." static_assert(sizeof(void*) == 8, "Pointer size mismatch."); ^ ~~~~~~~~~~~~~~~~~~ Runtime/CoreUObject/Public/UObject/GarbageCollection.h:358:45: error: shift count >= width of type [-Werror,-Wshift-count-overflow] Result |= UPTRINT(Tokens[CurrentIndex++]) << 32; ^ ~~ Runtime/CoreUObject/Public/UObject/GarbageCollection.h:433:3: error: static_assert failed "Pointer size mismatch." static_assert(sizeof(void*) == 8, "Pointer size mismatch."); ^ ~~~~~~~~~~~~~~~~~~ Runtime/CoreUObject/Public/UObject/GarbageCollection.h:435:28: error: shift count >= width of type [-Werror,-Wshift-count-overflow] Stream[1] = UPTRINT(Ptr) >> 32; ^ ~~ 5 errors generated. 5 errors generated. ERROR: UBT ERROR: Failed to produce item: /home/gabriel/Documents/Projet/UnrealEngine/Engine/Binaries/Linux/libUnrealHeaderTool-Core.so Total build time: 11,96 seconds (Local executor: 0,00 seconds) Error: UnrealHeaderTool failed for target 'CrashReportClient' (platform: Linux, module info: /home/gabriel/Documents/Projet/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/CrashReportClient/Shipping/CrashReportClient.uhtmanifest, exit code: OtherCompilationError (5)). Makefile:247 : la recette pour la cible « CrashReportClient-Linux-Shipping » a échouée make: *** [CrashReportClient-Linux-Shipping] Erreur 5

Currently I have no idea how to fix it. Can anyone give me some advice ?

Thanks !

Product Version: UE 4.18
Tags:
more ▼

asked Feb 09 '18 at 01:45 PM in Installation & Setup

avatar image

GaBitDePoidsFort
1 1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question