Inconsistent Dll Linkage
Error
Error C4273 'USH_FNC_SPD_Settings::GetPrivateStaticClass': inconsistent dll linkageCause
An API macro is not named correctly for the module in which this class is declared.
UINTERFACE()
class SH_FNC_SPD_RUNTIME_API USH_FNC_SPD_Settings : public UInterface
{
GENERATED_BODY()
};In this example, USH_FNC_SPD_Settings is actually in SH_FNC_SPD_EDITOR_API.
Fix
Correct the incorrect API macro.
UINTERFACE()
class SH_FNC_SPD_EDITOR_API USH_FNC_SPD_Settings : public UInterface
{
GENERATED_BODY()
};Last updated