Announcement

Collapse
No announcement yet.

Unreal Engine 4 is available for Win10 UWP app dev now

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    [MENTION=32283]Sentinel[/MENTION] - winmd files aren't involved here, it's all about the lib files. Again, "Program Files (x86)\Windows Kits\10\Lib\10.0.14393.0\um\arm" is the path from which you ought to be pulling that library.  The paths are set up via VCEnvironment.GetVisualCppLibraryPaths in UBT. I'd suggest debugging into that if possible.
    [MENTION=516344]DejanSeguljev[/MENTION] - Try first building the UnrealFrontend project (in VS) for Development Editor|Win64 and then giving your UWP project another shot.

    Leave a comment:


  • replied
    Hello, I'm having issues with running UWP build. It looks like the build is ok but when it tries to run it I get:

    Project.RunInternal: Starting Client....
    LogPlayLevel: Project.SetupClientParams: Launching via UFE:
    LogPlayLevel: Project.SetupClientParams: ClientCmdLine: -run=Launch -Device=UWP@LAPTOP-6C1BVOIV_UWP -Exe="C:\Data\TempleBuilder\TempleBuilder\Saved\StagedBuilds\UWP\TempleBuilder\Binaries\UWP64\TempleBuilder.exe" -Targetplatform=UWP -Params="../../../TempleBuilder/TempleBuilder.uproject /Game/ThirdPersonCPP/Maps/ThirdPersonExampleMap -stdout -Messaging -nom
    cp -Windowed -CrashForUAT -SessionId=2F7860EA4BCB877EDE7C12A2A23F069B -SessionOwner="dejan" -SessionName="Launch On Device" "
    LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: BUILD FAILED: Couldn't find the executable to Run: C:\Data\MICROSOFT_UWP_UNREAL\Engine\Binaries\Win64\UnrealFrontend.exe
    LogPlayLevel: at AutomationTool.CommandUtils.Run(String App, String CommandLine, String Input, ERunOptions Options, Dictionary`2 Env, SpewFilterCallbackType SpewFilterCallback) in C:\Data\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUtils.cs:line 745
    LogPlayLevel: at AutomationTool.Platform.RunClient(ERunOptions ClientRunFlags, String ClientApp, String ClientCmdLine, ProjectParams Params) in C:\Data\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\AutomationUtils\Platform.cs:line 181
    LogPlayLevel: at Project.RunStandaloneClient(List`1 DeployContextList, String ClientLogFile, ERunOptions ClientRunFlags, String ClientApp, String ClientCmdLine, ProjectParams Params) in c:\Data\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\Scripts\RunProjectCommand.Automation.cs:line 354
    LogPlayLevel: at Project.RunInternal(ProjectParams Params, String ServerLogFile, String ClientLogFile) in c:\Data\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\Scripts\RunProjectCommand.Automation.cs:line 177
    LogPlayLevel: at Project.Run(ProjectParams Params) in c:\Data\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\Scripts\RunProjectCommand.Automation.cs:line 114
    LogPlayLevel: at BuildCookRun.DoBuildCookRun(ProjectParams Params) in c:\Data\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 224
    LogPlayLevel: at AutomationTool.BuildCommand.Execute() in C:\Data\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 27
    LogPlayLevel: at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) in C:\Data\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 547
    LogPlayLevel: at AutomationTool.Automation.Process(String[] Arguments) in C:\Data\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 517
    LogPlayLevel: at AutomationTool.Program.MainProc(Object Param) in C:\Data\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\Program.cs:line 135
    LogPlayLevel: at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) in C:\Data\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 704
    LogPlayLevel: at AutomationTool.Program.Main() in C:\Data\MICROSOFT_UWP_UNREAL\Engine\Source\Programs\AutomationTool\Program.cs:line 59
    LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 2.002444
    LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
    LogPlayLevel: Completed Launch On Stage: Run Task, Time: 0.000083
    LogPlayLevel: BUILD FAILED

    Leave a comment:


  • replied
    I found this in the references of the UWP.Automation in the source

    C:\Program Files (x86)\Windows Kits\8.1\\References\CommonConfiguration\Neutral\Windows.winmd

    is there something similar in the windows 10 sdk cuz I'm not finding it :/

    Edit: found one in this location: C:\Program Files (x86)\Windows Kits\10\UnionMetadata
    but not sue if it'll be the same
    Last edited by Sentanaru; 12-16-2016, 06:29 PM.

    Leave a comment:


  • replied
    do you think reinstalling the windows 10 sdk and recompiling the project might help?

    Leave a comment:


  • replied
    Looks to me like you're using the proper compiler for your project and it's actually a Windows library that was produced using the old version.

    Specifically xapobase.lib is an audio library pulled in to UWP builds by either DX11Audio.build.cs, or UWPSDK.build.cs, and should be coming from the Windows 10 SDK (Program Files (x86)\Windows Kits\10\Lib\10.0.14393.0\um\arm in particular).  An ARM version built with VS2013 sounds like it might instead be coming from the Windows 8 SDK. Not sure how that would have happened, but perhaps it's enough of a clue for you to track it down?

    Leave a comment:


  • replied
    its just saying visual studio

    Click image for larger version

Name:	c45f92d19c.png
Views:	1
Size:	66.9 KB
ID:	1120218
    (in case image is not visible: http://puu.sh/sRFHO/c45f92d19c.png)

    Leave a comment:


  • replied
    This line:

    Code:
    error LNK2038: mismatch detected for '_MSC_VER': value '1700' doesn't match value '1900' in Engine.h.obj
    ...is saying that the value of _MSC_VER used by the linker doesn't match the value the .obj file was compiled with. _MSC_VER is the Visual Studio version, 1700 means VS 2013 while 1900 means VS 2015. It seems UBT is using the VS2013 linker instead of the VS2015 one on your machine. Either the code I modified to select the ARM linker isn't working correctly (I didn't test it with multiple versions of VS in the same PC) or some setting in your machine is causing it to think VS2013 is the default compiler. Check Editor Preferences > Source Code and make sure VS 2015 is selected there.

    Leave a comment:


  • replied
    visual studio 2015 enterprise, if I try to use my visual studio 2013 it says that the engine s incompatible with the visual studio version :/

    Leave a comment:


  • replied
    What Visual Studio version you're using?

    Leave a comment:


  • replied
    [MENTION=38281]manoelneto[/MENTION] I tried to build an arm-32 bit project with your fork, but I get this message:

    UATHelper: Packaging (UWP (ARM-32bit)): UnrealBuildTool: xapobase.lib(oapmatrixmix.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1700' doesn't match value '1900' in Engine.h.obj
    UATHelper: Packaging (UWP (ARM-32bit)): UnrealBuildTool: E:\Engines\UnrealEngine-release_uwp_old\Engine\Binaries\UWPARM\UE4Game.exe : fatal error LNK1319: 1 mismatches detected
    UATHelper: Packaging (UWP (ARM-32bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: E:\Engines\UnrealEngine-release_uwp_old\Engine\Binaries\UWPARM\UE4Game.exe
    UATHelper: Packaging (UWP (ARM-32bit)): UnrealBuildTool: Total build time: 1017.31 seconds
    UATHelper: Packaging (UWP (ARM-32bit)): CommandUtils.Run: Run: Took 1017.3526735s to run UnrealBuildTool.exe, ExitCode=5
    UATHelper: Packaging (UWP (ARM-32bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): E:\Engines\UnrealEngine-release_uwp_old\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game UWPARM Development -r
    UATHelper: Packaging (UWP (ARM-32bit)): emoteini="E:\Unreal Projects\UWP_3" -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2016.12.16-16.43.25.txt'
    UATHelper: Packaging (UWP (ARM-32bit)): at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback) in E:\Engines\UnrealEngine-release_uwp_old\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUt
    ils.cs:line 883
    UATHelper: Packaging (UWP (ARM-32bit)): at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback) in E:\Engines\UnrealEngine-release_uwp_old\Engine\Source\Programs\AutomationTool\A
    utomationUtils\ProcessUtils.cs:line 836
    UATHelper: Packaging (UWP (ARM-32bit)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars) in E:\Engines\UnrealEngine-release_uwp_old\Engine\Source\Programs\AutomationTool\AutomationUtils\UBTUtils.cs:line 51
    UATHelper: Packaging (UWP (ARM-32bit)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars) in E:\Engines\UnrealEngine-release_uwp_old\Engine\Source\Programs\AutomationTool\AutomationUtils\UBTUt
    ils.cs:line 89
    UATHelper: Packaging (UWP (ARM-32bit)): 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
    E:\Engines\UnrealEngine-release_uwp_old\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 362
    UATHelper: Packaging (UWP (ARM-32bit)): at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Diction
    ary`2 InTargetToManifest) in E:\Engines\UnrealEngine-release_uwp_old\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 1460
    UATHelper: Packaging (UWP (ARM-32bit)): at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) in E:\Engines\UnrealEngine-release_uwp_old\Engine\Source\Programs\AutomationTool\Scripts\BuildProjectCommand.Automation.cs:line 170
    UATHelper: Packaging (UWP (ARM-32bit)): at BuildCookRun.DoBuildCookRun(ProjectParams Params) in E:\Engines\UnrealEngine-release_uwp_old\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 210
    UATHelper: Packaging (UWP (ARM-32bit)): at BuildCookRun.ExecuteBuild() in E:\Engines\UnrealEngine-release_uwp_old\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 43
    UATHelper: Packaging (UWP (ARM-32bit)): at AutomationTool.BuildCommand.Execute() in E:\Engines\UnrealEngine-release_uwp_old\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 27
    UATHelper: Packaging (UWP (ARM-32bit)): at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) in E:\Engines\UnrealEngine-release_uwp_old\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 547
    UATHelper: Packaging (UWP (ARM-32bit)): at AutomationTool.Automation.Process(String[] Arguments) in E:\Engines\UnrealEngine-release_uwp_old\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 517
    UATHelper: Packaging (UWP (ARM-32bit)): at AutomationTool.Program.MainProc(Object Param) in E:\Engines\UnrealEngine-release_uwp_old\Engine\Source\Programs\AutomationTool\Program.cs:line 135
    UATHelper: Packaging (UWP (ARM-32bit)): at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) in E:\Engines\UnrealEngine-release_uwp_old\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 704
    UATHelper: Packaging (UWP (ARM-32bit)): at AutomationTool.Program.Main() in E:\Engines\UnrealEngine-release_uwp_old\Engine\Source\Programs\AutomationTool\Program.cs:line 59
    UATHelper: Packaging (UWP (ARM-32bit)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
    UATHelper: Packaging (UWP (ARM-32bit)): BUILD FAILED
    PackagingResults:Error: Error Unknown Error
    any suggestions on how to solve it?

    Edit: I checked for the d3d11: it has feature 11.1
    Last edited by Sentanaru; 12-16-2016, 12:05 PM. Reason: adding additional info

    Leave a comment:


  • replied
    Originally posted by Sentinel View Post
    how do I find out what d3d11 my phone supports?
    There's an app called DirectX Extensions Viewer in the store (https://www.microsoft.com/store/apps/9wzdncrfk07l). Its UI isn't really designed for phones, but it seems to be able to show the d3d11 feature level.

    Leave a comment:


  • replied
    how do I find out what d3d11 my phone supports?

    Leave a comment:


  • replied
    Originally posted by Sentinel View Post
    do you think that I might be able to run a uwp project on my lumia 950 xl based of your fork [MENTION=38281]manoelneto[/MENTION]?
    I only have a 640, which only supports D3D11 feature level 9.3. If the 950 supports feature level 10.0 or higher (never tested one myself, so I don't know) it should run, in theory, with all bells and whistles.

    Of course, since I never got past shader compilation I still don't know if there are any outstanding bugs.

    Leave a comment:


  • replied
    do you think that I might be able to run a uwp project on my lumia 950 xl based of your fork [MENTION=38281]manoelneto[/MENTION]?

    Leave a comment:


  • replied
    Originally posted by Igor.Pakhomov View Post
    Could you tell me what I must do to add ARM support (theoretically) or give link to your working copy. I want try work with ARM in my free time. But I don't understand what I must add to unreal building tool to start building for ARM.
    Sure, this is my fork with ARM support: https://github.com/M3d10n/UnrealEngine/tree/release_uwp

    You can see all changes I did so far by looking at the commits.

    Leave a comment:

Working...
X