UE4EnhancedCodeFlow icon indicating copy to clipboard operation
UE4EnhancedCodeFlow copied to clipboard

Error when compiling on Linux

Open zompi2 opened this issue 1 year ago • 0 comments

Greetings,

I'm testing out your plugin, enhanced code flow, which seems excellent by the way, thank you for providing it for free. It works as intended in my client build, however, for my dedicated server build, It doesn't package.

My client is on windows and my dedicated server is on Linux, this may be the issue, I wanted to ask if you knew about incompatibility with Linux.

This is the Linux toolchain I'm using: v22_clang-16.0.6-centos7 And here is the issues reported by the packaging process, if you're interested:

[0073.50][190]UATHelper: Packaging (Linux): Z:\Unreal Engine\Source\UnrealEngine\Engine\Plugins\Marketplace\EnhancedCodeFlow\Source\EnhancedCodeFlow\Public\CodeFlowActions\ECFTimeline.h(60,99): error: declaration shadows a field of 'UECFTimeline' [-Werror,-Wshadow] [0073.50][190]UATHelper: Packaging (Linux): return Setup(InStartValue, InStopValue, InTime, MoveTemp(InTickFunc), [this](float Value, float Time, bool bStopped) [0073.50][190]UATHelper: Packaging (Linux): ^ [0073.50][190]UATHelper: Packaging (Linux): Z:\Unreal Engine\Source\UnrealEngine\Engine\Plugins\Marketplace\EnhancedCodeFlow\Source\EnhancedCodeFlow\Public\CodeFlowActions\ECFTimeline.h(25,8): note: previous declaration is here [0073.50][190]UATHelper: Packaging (Linux): float Time; [0073.50][190]UATHelper: Packaging (Linux): ^ [0073.50][190]UATHelper: Packaging (Linux): In file included from Z:/Unreal Projects/Production/Terrarium/Intermediate/Build/Linux/x64/TerrariumServer/Development/EnhancedCodeFlow/Module.EnhancedCodeFlow.cpp:39: [0073.50][190]UATHelper: Packaging (Linux): In file included from .../Plugins/Marketplace/EnhancedCodeFlow/Source/EnhancedCodeFlow/Private/BP/Actions/ECFCustomTimelineBP.cpp:4: [0073.50][190]UATHelper: Packaging (Linux): In file included from ../Plugins/Marketplace/EnhancedCodeFlow/Source/EnhancedCodeFlow/Public\EnhancedCodeFlow.h:34: [0073.50][190]UATHelper: Packaging (Linux): Z:\Unreal Engine\Source\UnrealEngine\Engine\Plugins\Marketplace\EnhancedCodeFlow\Source\EnhancedCodeFlow\Public\Coroutines\ECFCoroutineAwaiters.h(21,115): error: declaration shadows a field of 'FECFCoroutineAwaiter' [-Werror,-Wshadow] [0073.50][190]UATHelper: Packaging (Linux): void AddCoroutineAction(const UObject* InOwner, FECFCoroutineHandle InCoroutineHandle, const FECFActionSettings& Settings, Ts&& ... Args) [0073.50][190]UATHelper: Packaging (Linux): ^ [0073.50][190]UATHelper: Packaging (Linux): Z:\Unreal Engine\Source\UnrealEngine\Engine\Plugins\Marketplace\EnhancedCodeFlow\Source\EnhancedCodeFlow\Public\Coroutines\ECFCoroutineAwaiters.h(33,21): note: previous declaration is here [0073.50][190]UATHelper: Packaging (Linux): FECFActionSettings Settings; [0073.50][190]PackagingResults: Error: declaration shadows a field of 'UECFTimeline' [-Werror,-Wshadow] [0073.50][190]PackagingResults: Error: declaration shadows a field of 'FECFCoroutineAwaiter' [-Werror,-Wshadow]

zompi2 avatar Sep 12 '24 14:09 zompi2