forked from microsoft/AirSim
-
Notifications
You must be signed in to change notification settings - Fork 166
Open
Description
Bug report
- AirSim Version/#commit: c2703d0
- UE/Unity version: UE5.7.1
- autopilot version: N/A
- OS Version: N/A
What's the issue you encountered?
Coloseum Unreal Engine plugin did not compile as an engine plugin for Unreal Engine 5.7.1
How can the issue be reproduced?
- Checkout c2703d0
- Follow custom Unreal Engine setup, with the following difference:
CopyUnreal/Plugins/AirSimto$UEROOT/Engine/Pluginsto compile it as an engine plugin.
Include full error message in text form
Build started at 17:05...
1>------ Build started: Project: UE5, Configuration: Development_Editor x64 ------
1>Using bundled DotNet SDK version: 8.0.412 win-x64
1>Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" -Target="UnrealEditor Win64 Development" -Target="ShaderCompileWorker Win64 Development -Quiet" -WaitMutex -FromMsBuild -architecture=x64
1>Log file: E:\repos\infodif-sim\Engine\Programs\UnrealBuildTool\Log.txt
1>Using 'git status' to determine working set for adaptive non-unity build (E:\repos\infodif-sim).
1>Building UnrealEditor and ShaderCompileWorker...
1>Using Visual Studio 2022 14.44.35222 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
1>Determining max actions to execute in parallel (8 physical cores, 16 logical cores)
1> Executing up to 8 processes, one per physical core
1> Requested 1.5 GB memory per action, 11.5 GB available: limiting max parallel actions to 7
1>Using Unreal Build Accelerator local executor to run 6 action(s)
1> Storage capacity 40Gb
1>---- Starting trace: 260102_170516 ----
1>UbaSessionServer - Disable remote execution (remote sessions will finish current processes)
1>** For UnrealEditor-Win64-Development **
1>[1/6] Compile [x64] Module.AirSim.3.cpp
1>E:\repos\infodif-sim\Engine\Source\Runtime\Engine\Public\ParticleDefinitions.h(12): warning : Monolithic headers should not be used by this module. Please change it to explicitly include the headers it needs.
1>E:\repos\infodif-sim\Engine\Plugins\AirSim\Source\WorldSimApi.cpp(793,35): error C2039: 'PersistentLineBatcher': is not a member of 'UWorld'
1> simmode_->GetWorld()->PersistentLineBatcher->DrawLine(point1, point2, color, SDPG_World, 4, 999999);
1> ^
1>E:\repos\infodif-sim\Engine\Source\Runtime\Engine\Classes\Engine\World.h(917,7): note: see declaration of 'UWorld'
1>class UWorld final : public UObject, public FNetworkNotify
1> ^
1>[2/6] Compile [x64] Module.AirSim.2.cpp
1>EXEC : warning : do not include Windows/PreWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/AllowWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PostWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/HideWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PreWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/AllowWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PostWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/HideWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PreWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/AllowWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PostWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/HideWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PreWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/AllowWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PostWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/HideWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PreWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/AllowWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PostWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/HideWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PreWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/AllowWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PostWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/HideWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PreWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/AllowWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PostWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/HideWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PreWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/AllowWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PostWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/HideWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PreWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/AllowWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PostWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/HideWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PreWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/AllowWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PostWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/HideWindowsPlatformTypes.h instead
1>E:\repos\infodif-sim\Engine\Source\Runtime\Engine\Public\ParticleDefinitions.h(12): warning : Monolithic headers should not be used by this module. Please change it to explicitly include the headers it needs.
1>E:\repos\infodif-sim\Engine\Plugins\AirSim\Source\PawnSimApi.cpp(296,43): error C2039: 'LineBatcher': is not a member of 'UWorld'
1> params_.pawn->GetWorld()->LineBatcher->DrawLine(params_.pawn->GetActorLocation(), target_location, color, SDPG_World, 10, -1);
1> ^
1>E:\repos\infodif-sim\Engine\Source\Runtime\Engine\Classes\Engine\World.h(917,7): note: see declaration of 'UWorld'
1>class UWorld final : public UObject, public FNetworkNotify
1> ^
1>E:\repos\infodif-sim\Engine\Plugins\AirSim\Source\PawnSimApi.cpp(301,43): error C2039: 'LineBatcher': is not a member of 'UWorld'
1> params_.pawn->GetWorld()->LineBatcher->DrawLine(params_.pawn->GetActorLocation(), target_location, color, SDPG_World, 10, -1);
1> ^
1>E:\repos\infodif-sim\Engine\Source\Runtime\Engine\Classes\Engine\World.h(917,7): note: see declaration of 'UWorld'
1>class UWorld final : public UObject, public FNetworkNotify
1> ^
1>E:\repos\infodif-sim\Engine\Plugins\AirSim\Source\RenderRequest.cpp(147,17): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1> const FTexture2DRHIRef& rhi_texture = rt_resource->GetRenderTargetTexture();
1> ^
1>E:\repos\infodif-sim\Engine\Plugins\AirSim\Source\RenderRequest.cpp(147,39): error C2143: syntax error: missing ';' before '&'
1> const FTexture2DRHIRef& rhi_texture = rt_resource->GetRenderTargetTexture();
1> ^
1>E:\repos\infodif-sim\Engine\Plugins\AirSim\Source\RenderRequest.cpp(147,41): error C2065: 'rhi_texture': undeclared identifier
1> const FTexture2DRHIRef& rhi_texture = rt_resource->GetRenderTargetTexture();
1> ^
1>E:\repos\infodif-sim\Engine\Plugins\AirSim\Source\RenderRequest.cpp(156,25): error C2065: 'rhi_texture': undeclared identifier
1> rhi_texture,
1> ^
1>E:\repos\infodif-sim\Engine\Plugins\AirSim\Source\RenderRequest.cpp(163,25): error C2065: 'rhi_texture': undeclared identifier
1> rhi_texture,
1> ^
1>E:\repos\infodif-sim\Engine\Plugins\AirSim\Source\SimHUD\SimHUD.cpp(155,20): error C3535: cannot deduce type for 'auto *' from 'TObjectPtr<APawn>'
1> auto* pawn = player_controller->GetPawn();
1> ^
1>E:\repos\infodif-sim\Engine\Plugins\AirSim\Source\SimHUD\SimHUD.cpp(155,20): error C2440: 'initializing': cannot convert from 'TObjectPtr<APawn>' to '<error type> *'
1>E:\repos\infodif-sim\Engine\Plugins\AirSim\Source\SimHUD\SimHUD.cpp(155,20): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>E:\repos\infodif-sim\Engine\Plugins\AirSim\Source\SimHUD\SimHUD.cpp(157,49): error C2672: 'StringCast': no matching overloaded function found
1> std::string pawn_name = std::string(TCHAR_TO_ANSI(*pawn->GetName()));
1> ^
1>E:\repos\infodif-sim\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(1170,27): note: could be 'auto StringCast(const From *,int32)'
1>[[nodiscard]] inline auto StringCast(const From* Str, int32 Len)
1> ^
1>E:\repos\infodif-sim\Engine\Plugins\AirSim\Source\SimHUD\SimHUD.cpp(157,49): note: 'auto StringCast(const From *,int32)': expects 2 arguments - 1 provided
1> std::string pawn_name = std::string(TCHAR_TO_ANSI(*pawn->GetName()));
1> ^
1>E:\repos\infodif-sim\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(1136,27): note: or 'auto StringCast(const From *)'
1>[[nodiscard]] inline auto StringCast(const From* Str)
1> ^
1>EXEC : warning : do not include Windows/PreWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/AllowWindowsPlatformTypes.h instead
1>EXEC : warning : do not include Windows/PostWindowsApi.h directly. Use Windows/WindowsHWrapper.h or Windows/HideWindowsPlatformTypes.h instead
1>Trace written to file E:/repos/infodif-sim/Engine/Programs/UnrealBuildTool/Log.uba with size 11.2kb
1>Total time in Unreal Build Accelerator local executor: 13.46 seconds
1>
1>Result: Failed (OtherCompilationError)
1>Total execution time: 24.49 seconds
1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command "..\..\Build\BatchFiles\Build.bat -Target="UnrealEditor Win64 Development" -Target="ShaderCompileWorker Win64 Development -Quiet" -WaitMutex -FromMsBuild -architecture=x64" exited with code 6.
1>Done building project "UE5.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Build completed at 17:05 and took 29.737 seconds ==========
Metadata
Metadata
Assignees
Labels
No labels