Download

UE4+Flex error on packaging | Failed to produce item: UE4-Flex.lib

Hi, another noob here.
I’m very sure this is an easy fix but i just don’t know how and can’t find anything in the wiiiiiide web.

What i have done so far: First i downloaded the flex branch from nvidia’s Github page. I followed the instructions and all compiled successfully. The only issue so far, I had to recompile the UrealLightmass.exe because it was giving me an error. After recompiling no more errors. I was able to create flex objects and play inside the editor. Building is also done without any error, but when i try to package the project it gives me an error. (see log). I disabled antivirus but still no luck at all. Disabled UAC, no luck. Reinstalled, recompiled, no luck.

What i want to accomplish is a dry run with a default 3rd person view template + flex, from creating project to packaging. Just to know i’am able to before i spend days in modeling assets.

Note: I’ve also done the same on 2 different PC’s. Both Win10, i7 the other PC doesn’t even have a NVIDIA Graphics card and both giving me the same exact error.

Version Editor: 4.19.2-0+++UE4+Release-4.19+GameWorks (i also tryed with original nvidia source, same error)
Source: GitHub - Kryptexas/UE4-GameWorks-4.19.2: Master branch contains Blast, Flow, TXAA3, VXGI2, HBAO+,
Visual Studio 2017

Here is the Log:


Cmd: MAP CHECK NOTIFYRESULTS
MapCheck: New page: ThirdPersonExampleMap - 12.08.2020 10:53:33
MapCheck: Map check complete: 0 Error(s), 0 Warning(s), took 50,516ms to complete.
LogSavePackage: Save=628.37ms
LogSavePackage: Moving '../../../../../PimmelWars/NochEinTest/NochmalTesten/Saved/ThirdPersonExampleMap7999F9414492047A80CBF2A965BA02C9.tmp' to '../../../../../PimmelWars/NochEinTest/NochmalTesten/Content/ThirdPersonBP/Maps/ThirdPersonExampleMap.umap'
LogSavePackage: Display: Finished SavePackage ../../../../../PimmelWars/NochEinTest/NochmalTesten/Content/ThirdPersonBP/Maps/ThirdPersonExampleMap.umap
LogFileHelpers: Saving map 'ThirdPersonExampleMap' took 0.770
LogSavePackage: Save=251.70ms
LogSavePackage: Moving '../../../../../PimmelWars/NochEinTest/NochmalTesten/Saved/ThirdPersonExampleMap_BuiltData43DCF9AA4A7EB72F29E343AB7AF7B5C7.tmp' to '../../../../../PimmelWars/NochEinTest/NochmalTesten/Content/ThirdPersonBP/Maps/ThirdPersonExampleMap_BuiltData.uasset'
LogSavePackage: Display: Finished SavePackage ../../../../../PimmelWars/NochEinTest/NochmalTesten/Content/ThirdPersonBP/Maps/ThirdPersonExampleMap_BuiltData.uasset
UATHelper: Packaging (Windows (64-bit)): Running AutomationTool...
UATHelper: Packaging (Windows (64-bit)): Parsing command line: -ScriptsForProject=D:/PimmelWars/NochEinTest/NochmalTesten/NochmalTesten.uproject BuildCookRun -nocompileeditor -nop4 -project=D:/PimmelWars/NochEinTest/NochmalTesten/NochmalTesten.uproject -cook -stage -archive -archivedirectory=D:/PimmelWars/NochEinTest/Export -package -clientconfig=Development
-ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -utf8output -compile
UATHelper: Packaging (Windows (64-bit)): Compiling scripts.
UATHelper: Packaging (Windows (64-bit)): DotNETUtilities -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\DotNETUtilities.dll
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\UnrealBuildTool.exe
UATHelper: Packaging (Windows (64-bit)): AutomationUtils.Automation -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\AutomationUtils.Automation.dll
UATHelper: Packaging (Windows (64-bit)): AllDesktop.Automation -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\AutomationScripts\AllDesktop\AllDesktop.Automation.dll
UATHelper: Packaging (Windows (64-bit)): Localization.Automation -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\AutomationScripts\Localization.Automation.dll
UATHelper: Packaging (Windows (64-bit)): OneSkyLocalization.Automation -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\AutomationScripts\OneSkyLocalization.Automation.dll
UATHelper: Packaging (Windows (64-bit)): AutomationScripts.Automation -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll
UATHelper: Packaging (Windows (64-bit)): Android.Automation -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\AutomationScripts\Android\Android.Automation.dll
UATHelper: Packaging (Windows (64-bit)): BuildGraph.Automation -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\AutomationScripts\BuildGraph.Automation.dll
UATHelper: Packaging (Windows (64-bit)): HTML5.Automation -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\AutomationScripts\HTML5\HTML5.Automation.dll
UATHelper: Packaging (Windows (64-bit)): MobileDeviceInterface -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\IOS\MobileDeviceInterface.dll
UATHelper: Packaging (Windows (64-bit)): IOS.Automation -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\AutomationScripts\IOS\IOS.Automation.dll
UATHelper: Packaging (Windows (64-bit)): Linux.Automation -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\AutomationScripts\Linux\Linux.Automation.dll
UATHelper: Packaging (Windows (64-bit)): Mac.Automation -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\AutomationScripts\Mac\Mac.Automation.dll
UATHelper: Packaging (Windows (64-bit)): TVOS.Automation -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\AutomationScripts\TVOS\TVOS.Automation.dll
UATHelper: Packaging (Windows (64-bit)): Win.Automation -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\AutomationScripts\Win.Automation.dll
UATHelper: Packaging (Windows (64-bit)): XLocLocalization.Automation -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\AutomationScripts\XLocLocalization.Automation.dll
UATHelper: Packaging (Windows (64-bit)): Took 2,0305051s to run MSBuild.exe, ExitCode=0
UATHelper: Packaging (Windows (64-bit)): Setting up ProjectParams for D:\PimmelWars\NochEinTest\NochmalTesten\NochmalTesten.uproject
UATHelper: Packaging (Windows (64-bit)): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): Running: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin\MSBuild.exe D:/UE4-GameWorks-4.19.2-master/UE4-GameWorks-4.19.2-master/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj /verbosity:minimal /nologo /property:Configuration=Development /property:Platform=AnyCPU
UATHelper: Packaging (Windows (64-bit)): DotNETUtilities -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\DotNETUtilities.dll
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool -> D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\UnrealBuildTool.exe
UATHelper: Packaging (Windows (64-bit)): Took 0,5678193s to run MSBuild.exe, ExitCode=0
UATHelper: Packaging (Windows (64-bit)): Running: D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game Win64 Development -NoUBTMakefiles -remoteini="D:\PimmelWars\NochEinTest\NochmalTesten" -skipdeploy -noxge -generatemanifest -NoHotReload
UATHelper: Packaging (Windows (64-bit)): Took 5,6776523s to run UnrealBuildTool.exe, ExitCode=0
UATHelper: Packaging (Windows (64-bit)): Running: D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game Win64 Development -NoUBTMakefiles -remoteini="D:\PimmelWars\NochEinTest\NochmalTesten" -skipdeploy -noxge -NoHotReload -ignorejunk
UATHelper: Packaging (Windows (64-bit)): Performing 5 actions (4 in parallel)
UATHelper: Packaging (Windows (64-bit)): Module.WmfMedia.cpp
UATHelper: Packaging (Windows (64-bit)): Module.Flex.gen.cpp
UATHelper: Packaging (Windows (64-bit)): D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Plugins\GameWorks\Flex\Source\Flex\Classes/FlexFluidSurfaceActor.h(11): error C2504: "AInfo": Basisklasse undefiniert
UATHelper: Packaging (Windows (64-bit)): D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Plugins\GameWorks\Flex\Source\Flex\Classes/FlexFluidSurfaceActor.h(12): error C3646: "Super": Unbekannter �berschreibungsspezifizierer
UATHelper: Packaging (Windows (64-bit)): D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Plugins\GameWorks\Flex\Source\Flex\Classes/FlexFluidSurfaceActor.h(12): error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterst�tzt.
UATHelper: Packaging (Windows (64-bit)): D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Plugins\GameWorks\Flex\Intermediate\Build\Win64\UE4\Inc\Flex\FlexFluidSurfaceActor.gen.cpp(63): error C2039: "StaticConfigName": Ist kein Element von "AFlexFluidSurfaceActor"
UATHelper: Packaging (Windows (64-bit)): D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Plugins\GameWorks\Flex\Source\Flex\Classes/FlexFluidSurfaceActor.h(10): note: Siehe Deklaration von "AFlexFluidSurfaceActor"
UATHelper: Packaging (Windows (64-bit)): D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Plugins\GameWorks\Flex\Intermediate\Build\Win64\UE4\Inc\Flex\FlexFluidSurfaceActor.gen.cpp(63): error C3861: "StaticConfigName": Bezeichner wurde nicht gefunden.
UATHelper: Packaging (Windows (64-bit)): D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Plugins\GameWorks\Flex\Intermediate\Build\Win64\UE4\Inc\Flex\FlexFluidSurfaceActor.gen.cpp(63): error C2039: "AddReferencedObjects": Ist kein Element von "AFlexFluidSurfaceActor"
UATHelper: Packaging (Windows (64-bit)): D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Plugins\GameWorks\Flex\Source\Flex\Classes/FlexFluidSurfaceActor.h(10): note: Siehe Deklaration von "AFlexFluidSurfaceActor"
UATHelper: Packaging (Windows (64-bit)): D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Plugins\GameWorks\Flex\Intermediate\Build\Win64\UE4\Inc\Flex\FlexFluidSurfaceActor.gen.cpp(63): error C2065: "AddReferencedObjects": nichtdeklarierter Bezeichner
UATHelper: Packaging (Windows (64-bit)): D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Plugins\GameWorks\Flex\Intermediate\Build\Win64\UE4\Inc\Flex\FlexFluidSurfaceActor.gen.cpp(63): error C3083: "Super": Das Symbol links neben "::" muss ein Typ sein.
UATHelper: Packaging (Windows (64-bit)): D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Plugins\GameWorks\Flex\Intermediate\Build\Win64\UE4\Inc\Flex\FlexFluidSurfaceActor.gen.cpp(63): error C3083: "WithinClass": Das Symbol links neben "::" muss ein Typ sein.
UATHelper: Packaging (Windows (64-bit)): D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Plugins\GameWorks\Flex\Intermediate\Build\Win64\UE4\Inc\Flex\FlexFluidSurfaceActor.gen.cpp(65): error C2614: "AFlexFluidSurfaceActor": Unzul�ssige Elementinitialisierung: "Super" ist weder Basis noch Element
UATHelper: Packaging (Windows (64-bit)): C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\INCLUDE\vcruntime_new.h(71): error C4577: "noexcept" wird ohne angegebenen Ausnahmebehandlungsmodus verwendet. Die Beendigung bei einer Ausnahme ist nicht sichergestellt. Geben Sie "/EHsc" an.
UATHelper: Packaging (Windows (64-bit)): ERROR: UBT ERROR: Failed to produce item: D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Plugins\GameWorks\Flex\Binaries\Win64\UE4-Flex.lib
PackagingResults: Error: UBT ERROR: Failed to produce item: D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Plugins\GameWorks\Flex\Binaries\Win64\UE4-Flex.lib
UATHelper: Packaging (Windows (64-bit)): Total build time: 78,05 seconds (Local executor: 0,00 seconds)
UATHelper: Packaging (Windows (64-bit)): Took 78,3203256s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Windows (64-bit)): ERROR: Command failed (Result:5): D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game Win64 Development -NoUBTMakefiles -remoteini="D:\PimmelWars\NochEinTest\NochmalTesten" -skipdeploy -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool
-2020.08.12-14.54.09.txt'
UATHelper: Packaging (Windows (64-bit)): (see D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Programs\AutomationTool\Saved\Logs\UAT_Log.txt for full exception trace)
PackagingResults: Error: Command failed (Result:5): D:\UE4-GameWorks-4.19.2-master\UE4-GameWorks-4.19.2-master\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game Win64 Development -NoUBTMakefiles -remoteini="D:\PimmelWars\NochEinTest\NochmalTesten" -skipdeploy -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2020.08.12-14.54.09.tx
t'
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Error

just incase someone got the same error and is searching for it. I found the solution here: https://github.com/NvPhysX/UnrealEngine/pull/523