# IPluginManager::Get() Linker error - Not finding implementation

**URL:** <https://forums.unrealengine.com/t/ipluginmanager-get-linker-error-not-finding-implementation/414313>\
**Category:** Plugins\
**Tags:** linker-error, unreal-engine, Plugins, question, CPP\
**Created:** [January 11, 2018, 1:26pm UTC](https://forums.unrealengine.com/t/ipluginmanager-get-linker-error-not-finding-implementation/414313 "2018-01-11T13:26:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkgaze](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@darkgaze](https://forums.unrealengine.com/u/darkgaze)\
**Post date:** [January 11, 2018, 1:26pm UTC](https://forums.unrealengine.com/t/ipluginmanager-get-linker-error-not-finding-implementation/414313/1 "2018-01-11T13:26:49Z")

</div>

This is code that’s currently compiling inside a plugin I installed on the engine (so it’s on the engine’s folders).

My file is inside my project folder, instead, under plugin/…  
The file is a cpp file that includes the plugin manager, just as the other plugin does.

```
#include "IPluginManager.h"

```

When using

```
IPluginManager::Get().FindPlugin("......

```

To get the singleton instance of it, I get a compile error everywhere I use IPluginManager’s functions saying that couln’t find Get implementation (cpp). I don’t get other compile errors, so the .h is found. In fact I can go to the code in VS. The erorr is in spanish but basically says it’s not resolved.

```
error LNK2019: simbolo externo "__declspec(dllimport) public: static class IPluginManager &__cdecl IPluginManager::Get(void)" (__imp_?Get@IPluginManager@@SAAEAV1@XZ) sin resolver al que se hace referencia en la funcion "private: static class FString__cdecl FXXXXXToolStyle::InContent(class FString const &,char const *)" (?InContent@FXXXXToolStyle@@CA?AVFString@@AEBV2@PEBD@Z)

```

Something wrong I’m doing?

---

<div class="post-metadata">

**Author:** ![darkgaze](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@darkgaze](https://forums.unrealengine.com/u/darkgaze)\
**Post date:** [January 11, 2018, 2:13pm UTC](https://forums.unrealengine.com/t/ipluginmanager-get-linker-error-not-finding-implementation/414313/2 "2018-01-11T14:13:20Z")

</div>

I found the answer in the most unexpected place.

> In order to access the  
> IPluginManager.h header file you need  
> to add the “Projects” dependency on  
> your plugin’s dependencies

That means opening the xxxx.build.cs and adding to Private dependencies “Projects” on the list.  
In fact, including Interfaces/IPluginManager.h is more common than just IPluginManager.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4c47b6571](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4c47b6571](https://forums.unrealengine.com/u/anonymous_user_4c47b6571)\
**Post date:** [February 20, 2019, 1:40pm UTC](https://forums.unrealengine.com/t/ipluginmanager-get-linker-error-not-finding-implementation/414313/3 "2019-02-20T13:40:40Z")

</div>

Yes，when I added the “Projects” dependency on my plugin’s dependencies ,it was right.

---

<div class="post-metadata">

**Author:** ![735333df6d5b4784be24](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@735333df6d5b4784be24](https://forums.unrealengine.com/u/735333df6d5b4784be24)\
**Post date:** [January 4, 2023, 6:33am UTC](https://forums.unrealengine.com/t/ipluginmanager-get-linker-error-not-finding-implementation/414313/4 "2023-01-04T06:33:23Z")

</div>

I added Projects in cs, still link error

---

<div class="post-metadata">

**Author:** ![PlayHabits](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/playhabits/32/748494_2.png) [@PlayHabits](https://forums.unrealengine.com/u/PlayHabits)\
**Post date:** [July 27, 2024, 2:03am UTC](https://forums.unrealengine.com/t/ipluginmanager-get-linker-error-not-finding-implementation/414313/5 "2024-07-27T02:03:24Z")

</div>

To use IPluginManager::Get() you must called in static function eg:

in header:

class Class{  
static void Definition();  
};

in cpp:  
void Class::Definition(){ IPluginManager::Get().//Do something }

---

<div class="post-metadata">

**Author:** ![Scottimus06](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/scottimus06/32/469167_2.png) [@Scottimus06](https://forums.unrealengine.com/u/Scottimus06)\
**Post date:** [December 6, 2024, 8:47pm UTC](https://forums.unrealengine.com/t/ipluginmanager-get-linker-error-not-finding-implementation/414313/6 "2024-12-06T20:47:42Z")

</div>

To remove all doubt as to what this is saying to do:

1. Open your Plugin `PLUGIN_NAME.Build.cs` file
2. Add “Projects” to `PrivateDependencyModuleNames`

- e.g., `PrivateDependencyModuleNames.AddRange(new string[] { "Projects" });`
- **Note:** You may have additional strings in `PrivateDependencyModuleNames` depending on your project.

Why `PublicDependencyModuleNames` and not `PrivateDependencyModuleNames`?.. Well it depends so read this other [forum post](https://forums.unrealengine.com/t/what-is-the-difference-between-publicdependencymodulenames-and-privatedependencymodulenames/279386).

---

<div class="post-metadata">

**Author:** ![jobrogi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jobrogi/32/1065738_2.png) [@jobrogi](https://forums.unrealengine.com/u/jobrogi)\
**Post date:** [June 23, 2025, 3:58pm UTC](https://forums.unrealengine.com/t/ipluginmanager-get-linker-error-not-finding-implementation/414313/7 "2025-06-23T15:58:08Z")

</div>

For those of you that still cant get it to work even after adding “Projects” to your build.cs, Change the include to:

`#include "Interfaces/IPluginManager.h"`

The docs show thats how you must include it. Hope this helps someone!
