I’m trying to build 4.9 from source (unmodified) and I’m running into some allocation issues.
I’m building on a laptop with Windows 10 and 16GB of RAM with Visual Studio 2013 Pro.
I have 500GB of disk space free.
I successfully built the Development Editor
for Win64
.
I’m running into issues building the Development Client
for Android
.
Error 1 error : C:/UnrealEngine/UnrealEngine_4_9/Engine/Binaries/Android/UE4Client-armv7-es2.so: mmap: failed to allocate 679894136 bytes for output file: Not enough space C:\NVPACK\android-ndk-r9c\toolchains\arm-linux-androideabi-4.8\prebuilt\windows\arm-linux-androideabi\bin\ld.exe 1 1 UE4
Error 2 error : linker command failed with exit code 1 (use -v to see invocation) C:\UnrealEngine\UnrealEngine_4_9\Engine\Intermediate\ProjectFiles\clang++.exe UE4
Error 3 error : Failed to produce item: C:\UnrealEngine\UnrealEngine_4_9\Engine\Binaries\Android\UE4Client-armv7-es2.so C:\UnrealEngine\UnrealEngine_4_9\Engine\Intermediate\ProjectFiles\ERROR UE4
Error 4 error MSB3073: The command "..\..\Build\BatchFiles\Build.bat UE4Client Android Development" exited with code -1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.targets 38 5 UE4
I tried upgrading to NDKRoot to android-ndk-r10e with the same issue.
I tried editing the Application.mk
to APP_PLATFORM := android-17
but ran into the same issue.
Posted on the forums: 4.9 Building Android Client Allocation Issue - Mobile - Unreal Engine Forums