Runtime/Core/Public/HAL folder is missing, Linux

i need help with this , the whole folder is missing and i get errors in the build. Thus it can’t compile:

rokyed@rokyedM11BB ~/unreal/UE $ make
bash "/home/rokyed/unreal/UE"/Engine/Build/BatchFiles/Linux/Build.sh CrashReportClient Linux Development  
Building CrashReportClient...
Using clang version '3.5.0' (string), 3 (major), 5 (minor), 0 (patch)
Creating makefile for CrashReportClient (no existing makefile)
Performing full C++ include scan (no include cache file)
Building UnrealHeaderTool...
Using clang version '3.5.0' (string), 3 (major), 5 (minor), 0 (patch)
Performing 21 actions (3 in parallel)
[3/21] Compile Module.Projects.cpp
[2/21] Compile Module.Json.cpp
[1/21] Compile CorePrivatePCH.h
In file included from In file included from /home/rokyed/unreal/UE/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UnrealHeaderTool/Development/Core/CorePrivatePCH.h:4:
In file included from /home/rokyed/unreal/UE/Engine/Source/Runtime/Core/Private/CorePrivatePCH.h:16:
Runtime/Core/Public/HAL/PlatformIncludes.h:5:10: fatal error: 'new' file not found
/home/rokyed/unreal/UE/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UnrealHeaderTool/Development/Json/Module.Json.cpp#include <new>
         ^
:2:
In file included from /home/rokyed/unreal/UE/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UnrealHeaderTool/Development/Projects/Module.Projects.cpp:2:
In file included from /home/rokyed/unreal/UE/Engine/Source/Runtime/Projects/Private/ProjectsPrivatePCH.h:6:
In file included from Runtime/Projects/Public/Projects.h:9:
In file included from Runtime/Core/Public/Core.h:16:
Runtime/Core/Public/HAL/PlatformIncludes.h:5:10: fatal error: 'new' file not found
#include <new>In file included from 
/home/rokyed/unreal/UE/Engine/Source/Runtime/Json/Private/JsonModule.cpp:         ^
3:
In file included from Runtime/Json/Private/JsonPrivatePCH.h:5:
In file included from Runtime/Json/Public/Json.h:9:
In file included from Runtime/Core/Public/Core.h:16:
Runtime/Core/Public/HAL/PlatformIncludes.h:5:10: fatal error: 'new' file not found
#include <new>
         ^
1 error generated.
[4/21] Compile Module.CoreUObject.4_of_4.cpp
In file included from /home/rokyed/unreal/UE/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UnrealHeaderTool/Development/CoreUObject/Module.CoreUObject.4_of_4.cpp:2:
In file included from /home/rokyed/unreal/UE/Engine/Source/Runtime/CoreUObject/Private/CoreUObjectPrivate.h:10:
In file included from Runtime/Core/Public/Core.h:16:
Runtime/Core/Public/HAL/PlatformIncludes.h:5:10: fatal error: 'new' file not found
#include <new>
         ^
1 error generated.
1 error generated.
[5/21] Compile Module.CoreUObject.3_of_4.cpp
[6/21] Compile Module.CoreUObject.2_of_4.cpp
In file included from /home/rokyed/unreal/UE/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UnrealHeaderTool/Development/CoreUObject/Module.CoreUObject.2_of_4.cpp:2:
In file included from /home/rokyed/unreal/UE/Engine/Source/Runtime/CoreUObject/Private/CoreUObjectPrivate.h:10:
In file included from Runtime/Core/Public/Core.h:16:
Runtime/Core/Public/HAL/PlatformIncludes.h:5:10: fatal error: 'new' file not found
In file included from #include <new>
         ^
/home/rokyed/unreal/UE/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UnrealHeaderTool/Development/CoreUObject/Module.CoreUObject.3_of_4.cpp:2:
In file included from /home/rokyed/unreal/UE/Engine/Source/Runtime/CoreUObject/Private/CoreUObjectPrivate.h:10:
In file included from Runtime/Core/Public/Core.h:16:
Runtime/Core/Public/HAL/PlatformIncludes.h:5:10: fatal error: 'new' file not found
#include <new>
         ^
1 error generated.
[7/21] Compile Module.CoreUObject.1_of_4.cpp
In file included from /home/rokyed/unreal/UE/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UnrealHeaderTool/Development/CoreUObject/Module.CoreUObject.1_of_4.cpp:2:
In file included from /home/rokyed/unreal/UE/Engine/Source/Runtime/CoreUObject/Private/CoreUObjectPrivate.h:10:
In file included from Runtime/Core/Public/Core.h:16:
Runtime/Core/Public/HAL/PlatformIncludes.h:5:10: fatal error: 'new' file not found
#include <new>
         ^
1 error generated.
[8/21] Compile Module.ScriptGeneratorPlugin.cpp
In file included from /home/rokyed/unreal/UE/Engine/Plugins/ScriptGeneratorPlugin/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UnrealHeaderTool/Development/ScriptGeneratorPlugin/Module.ScriptGeneratorPlugin.cpp:2:
In file included from /home/rokyed/unreal/UE/Engine/Plugins/ScriptGeneratorPlugin/Source/ScriptGeneratorPlugin/Private/GenericScriptCodeGenerator.cpp:2:
In file included from /home/rokyed/unreal/UE/Engine/Plugins/ScriptGeneratorPlugin/Source/ScriptGeneratorPlugin/Private/ScriptGeneratorPluginPrivatePCH.h:5:
In file included from ../Plugins/ScriptGeneratorPlugin/Source/ScriptGeneratorPlugin/Public/IScriptGeneratorPlugin.h:5:
In file included from Programs/UnrealHeaderTool/Public/IScriptGeneratorPluginInterface.h:4:
In file included from Runtime/Core/Public/Modules/ModuleManager.h:5:
In file included from Runtime/Core/Public/Modules/ModuleInterface.h:6:
In file included from Runtime/Core/Public/Core.h:16:
Runtime/Core/Public/HAL/PlatformIncludes.h:5:10: fatal error: 'new' file not found
#include <new>
         ^
1 error generated.
[9/21] Compile Module.UnrealHeaderTool.cpp
In file included from /home/rokyed/unreal/UE/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UnrealHeaderTool/Development/UnrealHeaderTool/Module.UnrealHeaderTool.cpp:2:
In file included from /home/rokyed/unreal/UE/Engine/Source/Programs/UnrealHeaderTool/Public/UnrealHeaderTool.h:7:
In file included from Runtime/Core/Public/Core.h:16:
Runtime/Core/Public/HAL/PlatformIncludes.h:5:10: fatal error: 'new' file not found
#include <new>
         ^
1 error generated.
1 error generated.
1 error generated.


-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: /home/rokyed/unreal/UE/Engine/Binaries/Linux/libUnrealHeaderTool-Core.so
Total build time: 10.35 seconds
UnrealHeaderTool failed for target 'CrashReportClient' (platform: Linux, module info: /home/rokyed/unreal/UE/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/CrashReportClient/Development/UnrealHeaderTool.manifest).
make: *** [CrashReportClient] Error 5

Hey rok_ed-

Could you elaborate on what exactly is happening? After downloading the engine did you run ./Setup.sh and ./GenerateProjectFiles.sh? Where in the build process does it fail?

Cheers

Doug Wilson

sorry i have found the problem , the clang is not right setted up with llvm , unfortunately the clang tutorial is not that clear …

Can you tell me how you fixed the issue exactly? I’m having the same problem…