Error when try to build for linux arm

anonymous_user_9ff38c51
Thu, 05 Nov 2015 07:09:16 +0000
Platform & Builds

Hi, Sorry for my bad english I’m french user.

So, I’m new in 3D developement, I’m a GIS and linux administrator.

So I compiled UE4 engine for Win64 and it worked, create a project to third person and now when I am trying to build UE4 for linux developement (to build arm for raspberry pi) I get many errors like this :

1>------ Build started: Project: UE4, Configuration: Linux_Development_Game Win32 ------
1>  Performing full C++ include scan (no include cache file)
1>  Performing 205 actions (2 in parallel)
1>  [1/205] Compile EnginePrivate.h
1>  [2/205] Compile RendererPrivate.h
1>  In file included from G:\Epic Games\UnrealEngine\Engine\Intermediate\Build\Linux\arm-unknown-linux-gnueabihf\UE4\Development\Renderer\RendererPrivate.h:4:
1>  In file included from G:\Epic Games\UnrealEngine\Engine\Source\Runtime\Renderer\Private\RendererPrivate.h:10:
1>  In file included from Runtime/Engine/Public\Engine.h:9:
1>  In file included from Runtime/Core/Public\Core.h:16:
1>Runtime/Core/Public/HAL\PlatformIncludes.h(5,10): fatal error : 'new' file not found
1>  #include <new>
1>           ^
1>  In file included from G:\Epic Games\UnrealEngine\Engine\Intermediate\Build\Linux\arm-unknown-linux-gnueabihf\UE4\Development\Engine\EnginePrivate.h:4:
1>  In file included from G:\Epic Games\UnrealEngine\Engine\Source\Runtime\Engine\Private\EnginePrivate.h:8:
1>  In file included from Runtime/CoreUObject/Public\CoreUObject.h:7:
1>  In file included from Runtime/Core/Public\Core.h:16:
1>Runtime/Core/Public/HAL\PlatformIncludes.h(5,10): fatal error : 'new' file not found
1>  #include <new>
1>           ^
1>  1 error generated.
1>  [3/205] Compile CorePrivatePCH.h
1>  In file included from G:\Epic Games\UnrealEngine\Engine\Intermediate\Build\Linux\arm-unknown-linux-gnueabihf\UE4\Development\Core\CorePrivatePCH.h:4:
1>  In file included from G:\Epic Games\UnrealEngine\Engine\Source\Runtime\Core\Private\CorePrivatePCH.h:16:
1>Runtime/Core/Public/HAL\PlatformIncludes.h(5,10): fatal error : 'new' file not found
1>  #include <new>
1>           ^

And here is an extract of my UEBuildLinux.cs

namespace UnrealBuildTool
{
    class LinuxPlatform : UEBuildPlatform
    {
        /** This is the SDK version we support */
		static private Dictionary<string, string> ExpectedSDKVersions = new Dictionary<string, string>()
		{
			{ "x86_64-unknown-linux-gnu", "v6_clang-3.6.0_ld-2.24_glibc-2.12.2" },
			{ "arm-unknown-linux-gnueabihf", "arm-unknown-linux-gnueabihf_v5_clang-3.5.0-ld-2.23.1-glibc-2.13" },
		};

        /** Platform name (embeds architecture for now) */
        static private string TargetPlatformName = "Linux_x64";

        /** Linux architecture (compiler target triplet) */
		// FIXME: for now switching between architectures is hard-coded
		//static private string DefaultArchitecture = "x86_64-unknown-linux-gnu";
		static private string DefaultArchitecture = "arm-unknown-linux-gnueabihf";

        /** The current architecture */
        public override string GetActiveArchitecture()
        {
            return DefaultArchitecture;
        }

Could you help me please?

3 posts - 1 participant