> For the complete documentation index, see [llms.txt](https://docs.oserosuite.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.oserosuite.com/technical-notes/unreal-engine-notes/compile-errors/inconsistent-dll-linkage.md).

# Inconsistent Dll Linkage

### Error <a href="#error" id="error"></a>

```
Error C4273 'USH_FNC_SPD_Settings::GetPrivateStaticClass': inconsistent dll linkage
```

### Cause <a href="#cause" id="cause"></a>

An API macro is not named correctly for the module in which this class is declared.

```cpp
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 <a href="#fix" id="fix"></a>

Correct the incorrect API macro.

```cpp
UINTERFACE()
class SH_FNC_SPD_EDITOR_API USH_FNC_SPD_Settings : public UInterface
{
	GENERATED_BODY()
};
```
