New code project having compilation problems

I’ve just added project files to one of my non-code projects, created a plugin using the wizard (that seemed to compile) and now it’s kicking the bucket with a ton of engine template errors. Anyone remember how to fix this?

The template it’s failing on seems to be something to do with tick(), so I removed all the tick elements from my classes and then specifically removed the ActorComponent that had a tick in it. Didn’t solve anything, so it must be a build configuration issue. I’ve got my project set to build as DebugGame_Editor x64 and I have the UE project set not to build. My project is set as the startup project. I can’t think of anything else that I might have missed. Any ideas?


1>------ Build started: Project: RollyBall, Configuration: Development_Editor x64 ------1>  Performing full C++ include scan (building a new target)
1>  Creating makefile for RollyBallEditor (no existing makefile)
1>  Parsing headers for RollyBallEditor
1>    Running UnrealHeaderTool "D:\Dropbox\Work\Games\Projects\RollyBall\RollyBall.uproject" "D:\Dropbox\Work\Games\Projects\RollyBall\Intermediate\Build\Win64\RollyBallEditor\Development\UnrealHeaderTool.manifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -rocket -installed
1>  Reflection code generated for RollyBallEditor in 5.0208673 seconds
1>  Performing 13 actions (9 in parallel)
1>  [6/13] Resource ModuleVersionResource.rc.inl
1>  [3/13] Resource PCLaunch.rc
1>  [4/13] Resource ModuleVersionResource.rc.inl
1>  [5/13] Resource PCLaunch.rc
1>  PCH.ProceduralMeshGeneratorPrivatePCH.h.cpp
1>  PCH.RollyBall.h.cpp
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(334): error C2988: unrecognizable template declaration/definition
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(334): error C2143: syntax error: missing ';' before '<'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(334): error C2913: explicit specialization; 'TStructOpsTypeTraits' is not a specialization of a class template
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(334): error C2059: syntax error: '<'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(334): error C2059: syntax error: 'public'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(335): error C2143: syntax error: missing ';' before '{'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(335): error C2447: '{': missing function header (old-style formal list?)
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(372): error C2913: explicit specialization; 'TStructOpsTypeTraits' is not a specialization of a class template
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(405): error C2913: explicit specialization; 'TStructOpsTypeTraits' is not a specialization of a class template
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\Engine\Classes\Engine/EngineBaseTypes.h(436): error C2913: explicit specialization; 'TStructOpsTypeTraits' is not a specialization of a class template
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(528): error C2065: 'WithNoInitConstructor': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(528): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(528): error C2433: 'Type': '__forceinline' not permitted on data declarations
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(528): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(528): error C2061: syntax error: identifier 'ConstructWithNoInitOrNot'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(534): error C2065: 'WithNoInitConstructor': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(534): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(535): error C2143: syntax error: missing ';' before '{'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(535): error C2447: '{': missing function header (old-style formal list?)
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(544): error C2065: 'WithSerializer': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(544): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(544): error C2433: 'Type': '__forceinline' not permitted on data declarations
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(544): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(544): error C2374: 'Type': redefinition; multiple initialization
1>  D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(528): note: see declaration of 'Type'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(544): error C2061: syntax error: identifier 'SerializeOrNot'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(550): error C2065: 'WithSerializer': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(550): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(551): error C2143: syntax error: missing ';' before '{'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(551): error C2447: '{': missing function header (old-style formal list?)
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(560): error C2065: 'WithPostSerialize': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(560): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(560): error C2433: 'Type': '__forceinline' not permitted on data declarations
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(560): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(560): error C2374: 'Type': redefinition; multiple initialization
1>  D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(528): note: see declaration of 'Type'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(560): error C2061: syntax error: identifier 'PostSerializeOrNot'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(565): error C2065: 'WithPostSerialize': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(565): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(566): error C2143: syntax error: missing ';' before '{'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(566): error C2447: '{': missing function header (old-style formal list?)
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(575): error C2065: 'WithNetSerializer': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(575): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(575): error C2433: 'Type': '__forceinline' not permitted on data declarations
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(575): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(575): error C2374: 'Type': redefinition; multiple initialization
1>  D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(528): note: see declaration of 'Type'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(575): error C2061: syntax error: identifier 'NetSerializeOrNot'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(581): error C2065: 'WithNetSerializer': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(581): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(582): error C2143: syntax error: missing ';' before '{'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(582): error C2447: '{': missing function header (old-style formal list?)
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(591): error C2065: 'WithNetDeltaSerializer': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(591): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(591): error C2433: 'Type': '__forceinline' not permitted on data declarations
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(591): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(591): error C2374: 'Type': redefinition; multiple initialization
1>  D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(528): note: see declaration of 'Type'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(591): error C2061: syntax error: identifier 'NetDeltaSerializeOrNot'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(597): error C2065: 'WithNetDeltaSerializer': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(597): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(598): error C2143: syntax error: missing ';' before '{'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(598): error C2447: '{': missing function header (old-style formal list?)
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(607): error C2065: 'WithCopy': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(607): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(607): error C2433: 'Type': '__forceinline' not permitted on data declarations
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(607): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(607): error C2374: 'Type': redefinition; multiple initialization
1>  D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(528): note: see declaration of 'Type'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(607): error C2061: syntax error: identifier 'CopyOrNot'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(613): error C2065: 'WithCopy': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(613): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(614): error C2143: syntax error: missing ';' before '{'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(614): error C2447: '{': missing function header (old-style formal list?)
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(628): error C2065: 'WithAddStructReferencedObjects': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(628): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(628): error C2433: 'Type': '__forceinline' not permitted on data declarations
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(628): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(628): error C2374: 'Type': redefinition; multiple initialization
1>  D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(528): note: see declaration of 'Type'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(628): error C2061: syntax error: identifier 'AddStructReferencedObjectsOrNot'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(633): error C2065: 'WithAddStructReferencedObjects': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(633): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(634): error C2143: syntax error: missing ';' before '{'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(634): error C2447: '{': missing function header (old-style formal list?)
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(643): error C2065: 'WithIdentical': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(643): error C2065: 'WithIdenticalViaEquality': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(643): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(643): error C2433: 'Type': '__forceinline' not permitted on data declarations
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(643): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(643): error C2374: 'Type': redefinition; multiple initialization
1>  D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(528): note: see declaration of 'Type'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(643): error C2061: syntax error: identifier 'IdenticalOrNot'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(649): error C2065: 'WithIdentical': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(649): error C2065: 'WithIdenticalViaEquality': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(649): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(650): error C2143: syntax error: missing ';' before '{'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(650): error C2447: '{': missing function header (old-style formal list?)
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(656): error C2065: 'WithIdentical': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(656): error C2065: 'WithIdenticalViaEquality': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(656): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(656): error C2433: 'Type': '__forceinline' not permitted on data declarations
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(656): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(656): error C2374: 'Type': redefinition; multiple initialization
1>  D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(528): note: see declaration of 'Type'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(656): error C2061: syntax error: identifier 'IdenticalOrNot'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(663): error C2065: 'WithIdentical': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(663): error C2065: 'WithIdenticalViaEquality': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(663): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(664): error C2143: syntax error: missing ';' before '{'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(664): error C2447: '{': missing function header (old-style formal list?)
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C2065: 'WithExportTextItem': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C2433: 'Type': '__forceinline' not permitted on data declarations
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C2374: 'Type': redefinition; multiple initialization
1>  D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(528): note: see declaration of 'Type'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(674): error C2061: syntax error: identifier 'ExportTextItemOrNot'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(680): error C2065: 'WithExportTextItem': undeclared identifier
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(680): error C2975: 'Predicate': invalid template argument for 'TEnableIf', expected compile-time constant expression
1>  d:\unreal engine\epic games\4.10\engine\source\runtime\core\public\Templates/EnableIf.h(18): note: see declaration of 'Predicate'
1>D:\Unreal Engine\Epic Games\4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(680): fatal error C1003: error count exceeds 100; stopping compilation
1>  RollyBall.cpp
1>  [8/13] Link UE4Editor-RollyBall.dll
1>     Creating library D:\Dropbox\Work\Games\Projects\RollyBall\Intermediate/Build/Win64\UE4Editor\Development\UE4Editor-RollyBall.lib and object D:\Dropbox\Work\Games\Projects\RollyBall\Intermediate/Build/Win64\UE4Editor\Development\UE4Editor-RollyBall.exp
1>  -------- End Detailed Actions Stats -----------------------------------------------------------
1>ERROR : UBT error : Failed to produce item: D:\Dropbox\Work\Games\Projects\RollyBall\Plugins\ProceduralMeshGenerator\Binaries\Win64\UE4Editor-ProceduralMeshGenerator.dll
1>  Total build time: 70.89 seconds
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(37,5): error MSB3073: The command ""D:\Unreal Engine\Epic Games\4.10\Engine\Build\BatchFiles\Build.bat" RollyBallEditor Win64 Development "D:\Dropbox\Work\Games\Projects\RollyBall\RollyBall.uproject" -rocket -waitmutex -2015" exited with code -1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========




Figured it out - it’s been a while since I made a plugin. I created a blueprint plugin rather than a blank one and now it seems to work fine.

Edit: actually, once I added a blueprint class it died again. I added this into my plugin PCH since the file existed but it didn’t seem to be included:


#include "SkullProceduralMeshBPLibrary.h"

Once I added that, no problems again.