Open MortonPriceBBV opened 2 weeks ago
Hi Morton, Thanks for reporting. We are investigating this issue. There is a workaround for this issue. You can copy the itwin unreal plugin to the plugins folder of your project.
Thank you
Do I also remove it from the 5.3 plugin folder, or do I leave it there?
Kind regards, Morton Price @. BIM Manager | Balfour Beatty VINCI | HS2 M: +44 (0) 73 8804 1455 | @*.**@*.***> www.balfourbeattyvinci.co.ukhttp://www.balfourbeattyvinci.co.uk/
@.***
From: Charles Chandesris @.> Sent: Monday, July 8, 2024 2:51 PM To: iTwin/itwin-unreal-plugin @.> Cc: Morton Price @.>; Author @.> Subject: Re: [iTwin/itwin-unreal-plugin] Package build error (Issue #6)
Hi Morton, Thanks for reporting. We are investigating this issue. There is a workaround for this issue. You can copy the itwin unreal plugin to the plugins folder of your project.
- Reply to this email directly, view it on GitHubhttps://github.com/iTwin/itwin-unreal-plugin/issues/6#issuecomment-2214133630, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BC3HBLIV54V6JFJMAAP7WZTZLKKLHAVCNFSM6AAAAABKQZ4Q7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJUGEZTGNRTGA. You are receiving this because you authored the thread.Message ID: @.**@.>>
Ok, i have copied the plugin into the project specific plugin folder, The build gets a lot further, but still fails to compile. this is the output log
UATHelper: Packaging (Windows): C:\Users\jenso\Documents\Unreal Projects\BBVHS2Flythough - New 3.0 - Copy\Plugins\ITwinForUnreal\Source\ITwinRuntime\Private\Tests\WebServicesTest.cpp(1067): error C3791: 'this' cannot be explicitly captured when the default capture mode is by copy (=)
UATHelper: Packaging (Windows): C:\Users\jenso\Documents\Unreal Projects\BBVHS2Flythough - New 3.0 - Copy\Plugins\ITwinForUnreal\Source\ITwinRuntime\Private\Tests\WebServicesTest.cpp(1111): error C3791: 'this' cannot be explicitly captured when the default capture mode is by copy (=)
UATHelper: Packaging (Windows): C:\Users\jenso\Documents\Unreal Projects\BBVHS2Flythough - New 3.0 - Copy\Plugins\ITwinForUnreal\Source\ITwinRuntime\Private\Timeline\SchedulesStructs.h(55): error C7582: 'bUseOriginalColor': default member initializers for bit-fields requires at least '/std:c++20'
UATHelper: Packaging (Windows): C:\Users\jenso\Documents\Unreal Projects\BBVHS2Flythough - New 3.0 - Copy\Plugins\ITwinForUnreal\Source\ITwinRuntime\Private\Timeline\SchedulesStructs.h(56): error C7582: 'bUseOriginalAlpha': default member initializers for bit-fields requires at least '/std:c++20'
UATHelper: Packaging (Windows): C:\Users\jenso\Documents\Unreal Projects\BBVHS2Flythough - New 3.0 - Copy\Plugins\ITwinForUnreal\Source\ITwinRuntime\Private\Timeline\SchedulesStructs.h(68): error C7582: 'bGrowthSimulationBasedOnPercentComplete': default member initializers for bit-fields requires at least '/std:c++20'
UATHelper: Packaging (Windows): C:\Users\jenso\Documents\Unreal Projects\BBVHS2Flythough - New 3.0 - Copy\Plugins\ITwinForUnreal\Source\ITwinRuntime\Private\Timeline\SchedulesStructs.h(70): error C7582: 'bGrowthSimulationPauseDuringNonWorkingTime': default member initializers for bit-fields requires at least '/std:c++20'
UATHelper: Packaging (Windows): C:\Users\jenso\Documents\Unreal Projects\BBVHS2Flythough - New 3.0 - Copy\Plugins\ITwinForUnreal\Source\ITwinRuntime\Private\Timeline\SchedulesStructs.h(74): error C7582: 'bInvertGrowth': default member initializers for bit-fields requires at least '/std:c++20'
UATHelper: Packaging (Windows): C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\INCLUDE\ranges(11): warning STL4038: The contents of
Hi Morton, Could you check this: Enable C++20 support; this can be done by adding/updating this line in your *.Target.cs files: DefaultBuildSettings = BuildSettingsVersion.V4;
Hi Morton, Could you check this: Enable C++20 support; this can be done by adding/updating this line in your *.Target.cs files: DefaultBuildSettings = BuildSettingsVersion.V4;
Ok i have updated the script from V3 to V4, however i still still a compiler error. Error report below if it helps
LogUObjectHash: Compacting FUObjectHashTables data took 0.49ms LogTurnkeySupport: Project requires temp target (GeoReferencing plugin is enabled) LogLauncherProfile: Unable to use promoted target - ../../../../../../Users/jenso/Documents/Unreal Projects/BBVHS2Flythough - New 3.0 - Copy/Binaries/Win64/UnrealGame.target does not exist. LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ""C:/Program Files/Epic Games/UE_5.3/Engine/Build/BatchFiles/RunUAT.bat" -ScriptsForProject="C:/Users/jenso/Documents/Unreal Projects/BBVHS2Flythough - New 3.0 - Copy/BBVHS2Flythough.uproject" Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=61875 -project="C:/Users/jenso/Documents/Unreal Projects/BBVHS2Flythough - New 3.0 - Copy/BBVHS2Flythough.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project="C:/Users/jenso/Documents/Unreal Projects/BBVHS2Flythough - New 3.0
Hi Morton, in your last message I see 2 kinds of errors:
Hi i'm getting the following error when trying to package.
This is using the latest plugin release on the 08/07/2024
UATHelper: Packaging (Windows): ** BUILD COMMAND STARTED ** UATHelper: Packaging (Windows): Running: C:\Program Files\Epic Games\UE_5.3\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "C:\Program Files\Epic Games\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" BBVHS2Flythough Win64 Development -Project="C:\Users\jenso\Documents\Unreal Projects\BBVHS2Flythough - New 3.0 - Copy\BBVHS2Flythough.uproject" -Manifest="C:\Users\jenso\Documents\Unreal Projects\BBVHS2Flythough - New 3.0 - Copy\Intermediate\Build\Manifest.xml" -remoteini="C:\Users\jenso\Documents\Unreal Projects\BBVHS2Flythough - New 3.0 - Copy" -skipdeploy -lo g="C:\Users\jenso\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.3\UBT-BBVHS2Flythough-Win64-Development.txt" UATHelper: Packaging (Windows): Log file: C:\Users\jenso\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.3\UBT-BBVHS2Flythough-Win64-Development.txt UATHelper: Packaging (Windows): Creating makefile for BBVHS2Flythough (no existing makefile) UATHelper: Packaging (Windows): Total execution time: 1.79 seconds UATHelper: Packaging (Windows): Missing precompiled manifest for 'ITwinCesiumRuntime', 'C:\Program Files\Epic Games\UE_5.3\Engine\Plugins\Marketplace\ITwinForUnreal\Intermediate\Build\Win64\UnrealGame\Development\ITwinCesiumRuntime\ITwinCesiumRuntime.precompiled'. This module was most likely not flagged for being included in a precompiled build - set 'PrecompileForTargets = PrecompileTargetsType.Any;' in ITwinCesiumRuntime.build.cs to override. If part of a plugin, also check if its 'Type' is correct. UATHelper: Packaging (Windows): Took 1.93s to run dotnet.exe, ExitCode=6 UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\jenso\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.3\UBT-BBVHS2Flythough-Win64-Development.txt) UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 4s UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6) UATHelper: Packaging (Windows): BUILD FAILED PackagingResults: Error: Unknown Error
Please note i'm using multiple iModel blueprints as i'm bringing down iTwin data from multiple iModels that all join up.