# Warnings when compile with some plugins

**URL:** <https://forums.unrealengine.com/t/warnings-when-compile-with-some-plugins/455054>\
**Category:** Plugins\
**Tags:** warnings, unreal-engine, Plugins, question\
**Created:** [September 9, 2019, 1:34pm UTC](https://forums.unrealengine.com/t/warnings-when-compile-with-some-plugins/455054 "2019-09-09T13:34:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fer1977](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fer1977](https://forums.unrealengine.com/u/fer1977)\
**Post date:** [September 9, 2019, 1:34pm UTC](https://forums.unrealengine.com/t/warnings-when-compile-with-some-plugins/455054/1 "2019-09-09T13:34:28Z")

</div>

I´m trying to compile code in unreal 4.21 and i get this warnings, What Do I need to do to get rid of the warnings?

```auto
CompilerResultsLog: D:\Proyectos\Unreal\wildwest421G\Plugins\VictoryPlugin\Source\VictoryBPLibrary\VictoryBPLibrary.Build.cs: warning: Referenced directory 'C:\Program Files\Epic Games\UE_4.21\Engine\Source\VictoryBPLibrary\Public' does not exist.
CompilerResultsLog: D:\Proyectos\Unreal\wildwest421G\Plugins\SteamVoicePlugin\Source\SteamVoicePlugin\SteamVoicePlugin.Build.cs: warning: Referenced directory 'C:\Program Files\Epic Games\UE_4.21\Engine\Source\SteamVoicePlugin\Public' does not exist.
CompilerResultsLog: D:\Proyectos\Unreal\wildwest421G\Plugins\PingPlugin\Source\Ping\Ping.Build.cs: warning: Referenced directory 'C:\Program Files\Epic Games\UE_4.21\Engine\Source\Ping\Public' does not exist.
CompilerResultsLog: C:\Program Files\Epic Games\UE_4.21\Engine\Plugins\Marketplace\ConfigBPPlugin\Source\ConfigBPPlugin\ConfigBPPlugin.Build.cs: warning: Referenced directory 'C:\Program Files\Epic Games\UE_4.21\Engine\Source\ConfigBPPlugin\Public' does not exist.
```

This is one of cs file of one plugin

[CODE]  
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool;

public class Ping : ModuleRules  
{  
public Ping(ReadOnlyTargetRules Target) : base(Target)  
{  
PrivatePCHHeaderFile = “Private/PingPrivatePCH.h”;

```
    PublicIncludePaths.AddRange(
        new string[] {
            "Ping/Public"
            // ... add public include paths required here ...
        }
        );
            
    
    PrivateIncludePaths.AddRange(
        new string[] {
            "Ping/Private",
            // ... add other private include paths required here ...
        }
        );
        
    
    PublicDependencyModuleNames.AddRange(
        new string[]
        {
            "Core",
            "CoreUObject",
            "Engine",
            "Projects"
            // ... add other public dependencies that you statically link with here ...
        }
        );
        
    
    PrivateDependencyModuleNames.AddRange(
        new string[]
        {
            // ... add private dependencies that you statically link with here ...    
        }
        );
    
    
    DynamicallyLoadedModuleNames.AddRange(
        new string[]
        {
            // ... add any modules that your module loads dynamically here ...
        }
        );

}

```

}

 ![286779-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/8/f/b8fdceec320e24dc0d8f41e5600d5dea0aa41eab.jpeg)

---

<div class="post-metadata">

**Author:** ![jkinz3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jkinz3](https://forums.unrealengine.com/u/jkinz3)\
**Post date:** [September 9, 2019, 4:56pm UTC](https://forums.unrealengine.com/t/warnings-when-compile-with-some-plugins/455054/2 "2019-09-09T16:56:17Z")

</div>

D:\Proyectos\Unreal\wildwest421G\Plugins\VictoryPlugin\Source\VictoryBPLibrary\VictoryBPLibrary.Build.cs: warning: Referenced directory ‘C:\Program Files\Epic Games\UE\_4.21\Engine\Source\VictoryBPLibrary\Public’ does not exist.

Go to the location that it’s looking for and see if you have the necessary files there.

---

<div class="post-metadata">

**Author:** ![fer1977](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fer1977](https://forums.unrealengine.com/u/fer1977)\
**Post date:** [September 9, 2019, 6:08pm UTC](https://forums.unrealengine.com/t/warnings-when-compile-with-some-plugins/455054/3 "2019-09-09T18:08:19Z")

</div>

Hello jkinz3, I managed to remove those errors.

What I did it was adding empty folders to the engine where the compiler complained but without anything inside, like so:

C:\Program Files\Epic Games\UE\_4.21\Engine\Source\VictoryBPLibrary\Public  
C:\Program Files\Epic Games\UE\_4.21\Engine\Source\SteamVoicePlugin\Public  
C:\Program Files\Epic Games\UE\_4.21\Engine\Source\Ping\Public  
C:\Program Files\Epic Games\UE\_4.21\Engine\Source\ConfigBPPlugin\Public

The only problem is that I don´t understand why now copile properly if I didn´t add any class inside those folders…

Thank you very much for your support
