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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Unable to compile to android with default GearVR.cpp file

Hey guys,

The GearVR.cpp has incorrect syntax, and unsure to fix. But its preventing me from compiling my android apk.

 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: Creating makefile for GrottoMercsUE4 (UnrealBuildTool.exe is newer)
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: NDK version: 19, GccVersion: 4.8
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: Compiling Native code with NDK API 'android-19'
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: Performing 3 actions (4 in parallel)
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: [1/3] clang++.exe Module.GearVR.cpp [x86-es2]
 LogFileHelpers: Editor autosave (incl. sublevels) for '/Game/ThirdPerson/Maps/ThirdPersonExampleMap' took 0.014
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: In file included from C:/UE4/Engine/Plugins/Runtime/GearVR/Intermediate/Build/Android/GrottoMercsUE4/Development/GearVR/Module.GearVR.cpp:2:
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: C:\UE4\Engine\Plugins\Runtime\GearVR\Source\GearVR\Private\GearVR.cpp(1276,1) :  error: control reaches end of non-void function [-Werror,-Wreturn-type]
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: }
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: ^
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: 1 error generated.
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: -------- End Detailed Actions Stats -----------------------------------------------------------
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\UE4\Engine\Plugins\Runtime\GearVR\Binaries\Android\GrottoMercsUE4-GearVR-x86-es2.a
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): UnrealBuildTool: Total build time: 45.48 seconds
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): CommandUtils.Run: Run: Took 45.5205079s to run UnrealBuildTool.exe, ExitCode=5
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Command failed (Result:5): C:\UE4\Engine\Binaries\DotNET\UnrealBuildTool.exe GrottoMercsUE4 Android Development -Project="C:\Users\RPGMAKERPRO\Documents\Unre
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): al Projects\GrottoMercsUE4\GrottoMercsUE4.uproject"  "C:\Users\RPGMAKERPRO\Documents\Unreal Projects\GrottoMercsUE4\GrottoMercsUE4.uproject"  -remoteini="C:\Users\RPGMAKERPRO\Documents\Unreal Projects\GrottoMercsUE4" -noxge -NoHotReloadFromIDE -ignorejunk. See logfile for details: 'UnrealBuildTool-2016.01.15-14.17.01.txt' 
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars) in c:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUtils.cs:line 800
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars) in c:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\UBTUtils.cs:line 51
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars) in c:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 348
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars) in c:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 1426
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) in c:\UE4\Engine\Source\Programs\AutomationTool\Scripts\BuildProjectCommand.Automation.cs:line 146
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params) in c:\UE4\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 211
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.BuildCommand.Execute() in c:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 28
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) in c:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 539
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.Automation.Process(String[] CommandLine) in c:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 510
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.Program.MainProc(Object Param) in c:\UE4\Engine\Source\Programs\AutomationTool\Program.cs:line 131
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) in c:\UE4\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 704
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)):    at AutomationTool.Program.Main() in c:\UE4\Engine\Source\Programs\AutomationTool\Program.cs:line 54
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Domain_ProcessExit
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): AutomationToolLauncher exiting with ExitCode=5
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): copying UAT log files...
 MainFrameActions: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): BUILD FAILED

Product Version: UE 4.11 Preview
Tags:
more ▼

asked Jan 15 '16 at 07:23 PM in Using UE4

avatar image

McManford
6 3 6

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

1 answer: sort voted first

Issue resolved, I removed this option from the plugins list.

more ▼

answered Jun 23 '16 at 03:51 PM

avatar image

McManford
6 3 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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