GameTechDev / XeSSUnrealPlugin

Intel® XeSS Plugin for Unreal* Engine
MIT License
123 stars 4 forks source link

Error during compile: 'CustomStaticScreenPercentage.h': No such file or directory #1

Closed RYRY1002 closed 1 year ago

RYRY1002 commented 1 year ago

After inputting the instructed arguments into terminal: RunUAT.bat BuildPlugin -plugin="C:\Users\ryry1\Downloads\XeSS_UE5.0_Plugin_v1.1.3\XeSS.uplugin" -package="C:\Users\ryry1\Downloads\XeSS" -VS2022

I get this output:


Using bundled DotNet SDK version: 6.0.302
Using bundled DotNet SDK version: 6.0.302
Building AutomationTool...
Microsoft (R) Build Engine version 17.2.0+41abc5629 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:02.14
Starting AutomationTool...
Parsing command line: BuildPlugin -plugin=C:\Users\ryry1\Downloads\XeSS_UE5.0_Plugin_v1.1.3\XeSS.uplugin -package=C:\Users\ryry1\Downloads\XeSS -VS2022
Initializing script modules...
Total script module initialization time: 0.54 s.
Executing commands...
Copying 114 file(s) using max 64 thread(s)
Reading plugin from C:\Users\ryry1\Downloads\XeSS\HostProject\Plugins\XeSS\XeSS.uplugin...
Building plugin for host platforms: Win64
Running: Y:\Unreal Engine\Engine\5.1.0-1\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "Y:\Unreal Engine\Engine\5.1.0-1\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" UnrealEditor Win64 Development -Project=C:\Users\ryry1\Downloads\XeSS\HostProject\HostProject.uproject -plugin=C:\Users\ryry1\Downloads\XeSS\HostProject\Plugins\XeSS\XeSS.uplugin -iwyu -noubtmakefiles -manifest=C:\Users\ryry1\Downloads\XeSS\HostProject\Saved\Manifest-UnrealEditor-Win64-Development.xml -nohotreload -log="Y:\Unreal Engine\Engine\5.1.0-1\Engine\Programs\AutomationTool\Saved\Logs\UBT-UnrealEditor-Win64-Development.txt"
Log file: Y:\Unreal Engine\Engine\5.1.0-1\Engine\Programs\AutomationTool\Saved\Logs\UBT-UnrealEditor-Win64-Development.txt
Parsing headers for UnrealEditor
  Running Internal UnrealHeaderTool C:\Users\ryry1\Downloads\XeSS\HostProject\HostProject.uproject C:\Users\ryry1\Downloads\XeSS\HostProject\Intermediate\Build\Win64\UnrealEditor\Development\UnrealEditor.uhtmanifest -WarningsAsErrors
Total of 8 written
Reflection code generated for UnrealEditor in 10.887612 seconds
Writing manifest to C:\Users\ryry1\Downloads\XeSS\HostProject\Saved\Manifest-UnrealEditor-Win64-Development.xml
Building UnrealEditor...
Using Visual Studio 2022 14.33.31631 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
Determining max actions to execute in parallel (8 physical cores, 16 logical cores)
  Executing up to 8 processes, one per physical core
  Requested 1.5 GB free memory per action, 8.27 GB available: limiting max parallel actions to 5
Building 12 actions with 5 processes...
[1/12] Compile XeSSBlueprint.init.gen.cpp
[2/12] Compile XeSSBlueprintLibrary.gen.cpp
[3/12] Compile Module.XeSSPlugin.cpp
C:\Users\ryry1\Downloads\XeSS\HostProject\Plugins\XeSS\Source\XeSS\Private\XeSSUpscaler.h(32): fatal error C1083: Cannot open include file: 'CustomStaticScreenPercentage.h': No such file or directory
[4/12] Link UnrealEditor-XeSSPlugin.lib cancelled
[5/12] Compile XeSSBlueprintLibrary.cpp
C:\Users\ryry1\Downloads\XeSS\HostProject\Plugins\XeSS\Source\XeSS\Private\XeSSUpscaler.h(32): fatal error C1083: Cannot open include file: 'CustomStaticScreenPercentage.h': No such file or directory
[6/12] Link UnrealEditor-XeSSBlueprint.dll cancelled
[7/12] Link UnrealEditor-XeSSBlueprint.lib cancelled
[8/12] Compile XeSSPrePass.cpp
[9/12] Link UnrealEditor-XeSSPrePass.lib
   Creating library C:\Users\ryry1\Downloads\XeSS\HostProject\Plugins\XeSS\Intermediate\Build\Win64\UnrealEditor\Development\XeSSPrePass\UnrealEditor-XeSSPrePass.lib and object C:\Users\ryry1\Downloads\XeSS\HostProject\Plugins\XeSS\Intermediate\Build\Win64\UnrealEditor\Development\XeSSPrePass\UnrealEditor-XeSSPrePass.exp
[10/12] Link UnrealEditor-XeSSPlugin.dll cancelled
[11/12] Link UnrealEditor-XeSSPrePass.dll
   Creating library C:\Users\ryry1\Downloads\XeSS\HostProject\Plugins\XeSS\Intermediate\Build\Win64\UnrealEditor\Development\XeSSPrePass\UnrealEditor-XeSSPrePass.suppressed.lib and object C:\Users\ryry1\Downloads\XeSS\HostProject\Plugins\XeSS\Intermediate\Build\Win64\UnrealEditor\Development\XeSSPrePass\UnrealEditor-XeSSPrePass.suppressed.exp
[12/12] WriteMetadata UnrealEditor.target cancelled
Took 67.6947777s to run dotnet.exe, ExitCode=6
UnrealBuildTool failed. See log for more details. (Y:\Unreal Engine\Engine\5.1.0-1\Engine\Programs\AutomationTool\Saved\Logs\UBT-UnrealEditor-Win64-Development.txt)
AutomationTool executed for 0h 1m 10s
AutomationTool exiting with ExitCode=6 (6)
BUILD FAILED```

Obviously, something is going wrong here, I assume its because I am building the plugin for 5.1, whereas it is meant to be built for 5.0.
Has anyone else found a workaround whilst Intel updates the plugin to 5.1?
sunzhuoshi commented 1 year ago

Sorry, Unreal 5.1 support is still under development. Hopefully done in weeks.

sunzhuoshi commented 1 year ago

Code is done, waiting for internal testing.

xessgamedev commented 1 year ago

Unreal 5.1 supported in https://github.com/GameTechDev/XeSSUnrealPlugin/releases/tag/v1.2.6

Thank you for reporting, if any further issue, please let us know.