Download

Packaging with GitHub source (PIEPreviewDeviceProfileSelector?)

Hello everyone.

I’m trying to build a project from GitHub source, but I’m getting an error regarding PIEPreviewDeviceProfileSelector. (the build config is DebugGame)



UATHelper: Packaging (Windows (64-bit)):   Module.PIEPreviewDeviceProfileSelector.gen.cpp
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(21): error C2653: 'FPIEPreviewWindowStyle': is not a class or namespace name
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(27): error C2065: 'FPIEPreviewWindowStyle': undeclared identifier
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(31): error C2653: 'FPIEPreviewWindowStyle': is not a class or namespace name
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(36): error C2065: 'FPIEPreviewWindowStyle': undeclared identifier
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(36): error C2923: 'UScriptStruct::TCppStructOps': 'FPIEPreviewWindowStyle' is not a valid template type argument for parameter 'CPPSTRUCT'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(36): error C2512: 'UScriptStruct::TCppStructOps': no appropriate default constructor available
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(36): error C2660: 'UScriptStruct::DeferCppStructOps': function does not take 1 arguments
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(56): error C2065: 'FPIEPreviewWindowStyle': undeclared identifier
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(56): error C2923: 'UScriptStruct::TCppStructOps': 'FPIEPreviewWindowStyle' is not a valid template type argument for parameter 'CPPSTRUCT'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(56): error C2514: 'UScriptStruct::TCppStructOps': class has no constructors
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\Engine\Source\Runtime\CoreUObject\Public\UObject/Class.h(934): note: see declaration of 'UScriptStruct::TCppStructOps'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(63): error C2065: 'FPIEPreviewWindowStyle': undeclared identifier
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(63): error C2059: syntax error: ')'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(63): error C2143: syntax error: missing '(' before ')'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(63): error C2143: syntax error: missing ';' before '}'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(70): error C2065: 'FPIEPreviewWindowStyle': undeclared identifier
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(70): error C2059: syntax error: ')'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(70): error C2143: syntax error: missing '(' before ')'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(70): error C2143: syntax error: missing ';' before '}'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(77): error C2065: 'FPIEPreviewWindowStyle': undeclared identifier
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(77): error C2059: syntax error: ')'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(77): error C2143: syntax error: missing '(' before ')'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(77): error C2143: syntax error: missing ';' before '}'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(77): error C2059: syntax error: '}'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(84): error C2065: 'FPIEPreviewWindowStyle': undeclared identifier
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(84): error C2059: syntax error: ')'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(84): error C2143: syntax error: missing '(' before ')'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(84): error C2143: syntax error: missing ';' before '}'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(84): error C2059: syntax error: '}'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(86): error C2065: 'NewProp_FullMobileContentScaleFactorButtonStyle': undeclared identifier
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(87): error C2065: 'NewProp_HalfMobileContentScaleFactorButtonStyle': undeclared identifier
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(94): error C2065: 'NewStructOpsLambda': undeclared identifier
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(94): error C2955: 'UE4CodeGen_Private::TNewCppStructOpsWrapper': use of class template requires template argument list
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectGlobals.h(2132): note: see declaration of 'UE4CodeGen_Private::TNewCppStructOpsWrapper'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(98): error C2065: 'FPIEPreviewWindowStyle': undeclared identifier
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(99): error C2061: syntax error: identifier 'FPIEPreviewWindowStyle'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(102): error C2143: syntax error: missing ';' before '}'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(102): error C2059: syntax error: '}'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(103): error C2065: 'ReturnStruct': undeclared identifier
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(103): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(103): error C2365: 'UE4CodeGen_Private::ConstructUScriptStruct': redefinition; previous definition was 'function'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectGlobals.h(2477): note: see declaration of 'UE4CodeGen_Private::ConstructUScriptStruct'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(103): error C2513: 'UE4CodeGen_Private::ConstructUScriptStruct': no variable declared before '='
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(104): error C2059: syntax error: '}'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(104): error C2143: syntax error: missing ';' before '}'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(106): error C2059: syntax error: '}'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(106): error C2143: syntax error: missing ';' before '}'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(107): error C2143: syntax error: missing ';' before '{'
UATHelper: Packaging (Windows (64-bit)):   C:\GameWorks\4.19\UnrealEngine\HairWorks_Project\Intermediate\Build\Win64\HairWorks_Project\Inc\PIEPreviewDeviceProfileSelector\PIEPreviewWindowStyle.gen.cpp(107): error C2447: '{': missing function header (old-style formal list?)
UATHelper: Packaging (Windows (64-bit)):   Module.LauncherServices.cpp
UATHelper: Packaging (Windows (64-bit)):   Module.DirectoryWatcher.cpp
PackagingResults: Error: ')'
PackagingResults: Error: missing '(' before ')'
PackagingResults: Error: missing ';' before '}'
PackagingResults: Error: ')'
PackagingResults: Error: missing '(' before ')'
PackagingResults: Error: missing ';' before '}'
PackagingResults: Error: ')'
PackagingResults: Error: missing '(' before ')'
PackagingResults: Error: missing ';' before '}'
PackagingResults: Error: '}'
PackagingResults: Error: ')'
PackagingResults: Error: missing '(' before ')'
PackagingResults: Error: missing ';' before '}'
PackagingResults: Error: '}'
PackagingResults: Error: identifier 'FPIEPreviewWindowStyle'
PackagingResults: Error: missing ';' before '}'
PackagingResults: Error: '}'
PackagingResults: Error: '}'
PackagingResults: Error: missing ';' before '}'
PackagingResults: Error: '}'
PackagingResults: Error: missing ';' before '}'
PackagingResults: Error: missing ';' before '{'


EDIT: I’ve tried deleting Intermediate and Saved and recooking everything, but no dice.

Anyone have any idea what’s going on? Why would I need PIEPreviewDeviceProfileSelector for a packaged game?

Well, I’ve narrowed down the problem to MeshUtilities.

It won’t package with this dependency. Anyone tried this?

You can’t use editor/developer modules in a packaged game.

So how do i remove them from build?

Don’t add dependencies on those modules from your runtime modules.