[OPEN-SOURCE] Machinery Modelling Toolkit

Been trying to compile the plugin for 4.26 - first it was throwing errors asking for all the header files to be the first includes in each CPP file, which I did, but now I’m getting two more errors:


Error LNK2019 unresolved external symbol "__declspec(dllimport) class UEnum * __cdecl Z_Construct_UEnum_PhysicsCore_EPhysicalSurface(void)" (__imp_?Z_Construct_UEnum_PhysicsCore_EPhysicalSurface@@YAPEAVUEnum@@XZ) referenced in function "void __cdecl `dynamic initializer for 'public: static struct UE4CodeGen_Private::FBytePropertyParams const Z_Construct_UScriptStruct_FContactPointDataStruct_Statics::NewProp_PhysicalSurface''(void)" (??__E?NewProp_PhysicalSurface@Z_Construct_UScriptStruct_FContactPointDataStruct_Statics@@2UFBytePropertyParams@UE4CodeGen_Private@@B@@YAXXZ)

and


Error LNK2019 unresolved external symbol "__declspec(dllimport) class UClass * __cdecl Z_Construct_UClass_UPhysicalMaterial_NoRegister(void)" (__imp_?Z_Construct_UClass_UPhysicalMaterial_NoRegister@@YAPEAVUClass@@XZ) referenced in function "void __cdecl `dynamic initializer for 'public: static struct UE4CodeGen_Private::FObjectPropertyParams const Z_Construct_UClass_UMMTSuspensionStack_Statics::NewProp_ContactPhysicalMaterial''(void)" (??__E?NewProp_ContactPhysicalMaterial@Z_Construct_UClass_UMMTSuspensionStack_Statics@@2UFObjectPropertyParams@UE4CodeGen_Private@@B@@YAXXZ)

I tried adding PhysicsCore as a dependency to the project’s build.cs, but no luck. I can compile it just fine in 4.24, not sure what’s changed for 4.26