# Compiler can't find ImageWrapper.h after updating to 4.18

**URL:** <https://forums.unrealengine.com/t/compiler-cant-find-imagewrapper-h-after-updating-to-4-18/412109>\
**Category:** C++\
**Tags:** UE4-18, compiling, unreal-engine, crash, CPP, question, missing-files\
**Created:** [December 12, 2017, 11:18pm UTC](https://forums.unrealengine.com/t/compiler-cant-find-imagewrapper-h-after-updating-to-4-18/412109 "2017-12-12T23:18:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HellGoose](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HellGoose](https://forums.unrealengine.com/u/HellGoose)\
**Post date:** [December 12, 2017, 11:18pm UTC](https://forums.unrealengine.com/t/compiler-cant-find-imagewrapper-h-after-updating-to-4-18/412109/1 "2017-12-12T23:18:48Z")

</div>

After updating from 4.17 to 4.18 my project could no longer compile. The log says that it can’t find ImageWrapper.h: Visual Studio 2017 Compile Log

The compiler have no problem finding the same file in 4.17.

**I’ve got it mentioned in build.cs:**

```
using UnrealBuildTool;

public class Master_Project : ModuleRules
{
	public Master_Project(ReadOnlyTargetRules Target) : base(Target)
	{
		PublicDependencyModuleNames.AddRange(new string[] {
            "Core", "CoreUObject", "Engine",
            "InputCore", "ImageWrapper",
            "OnlineSubsystem", "OnlineSubsystemUtils",
            "Voice" });

        PublicIncludePaths.AddRange(new string[] { "Voice/Public", "Voice/Classes" });

        PrivateDependencyModuleNames.AddRange(new string[] { "ImageWrapper", "RenderCore" });

		// Uncomment if you are using Slate UI
		// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
		
		// Uncomment if you are using online features
		PrivateDependencyModuleNames.Add("OnlineSubsystem");
        DynamicallyLoadedModuleNames.Add("OnlineSubsystemSteam");

        // To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
    }
}

```

**I’ve generated the Visual Studio project files** (Also deleting and regenerating, including saved and intermediate).

Any ideas?

---

<div class="post-metadata">

**Author:** ![gmpreussner\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gmpreussner\_1](https://forums.unrealengine.com/u/gmpreussner_1)\
**Post date:** [December 12, 2017, 11:45pm UTC](https://forums.unrealengine.com/t/compiler-cant-find-imagewrapper-h-after-updating-to-4-18/412109/2 "2017-12-12T23:45:23Z")

</div>

Monolithic headers have been deprecated for a while, and many were removed in 4.18. You need to include the individual header files from the ImageWrapper module that you actually use, i.e. IImageWrapper.h

---

<div class="post-metadata">

**Author:** ![HellGoose](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HellGoose](https://forums.unrealengine.com/u/HellGoose)\
**Post date:** [December 13, 2017, 10:58am UTC](https://forums.unrealengine.com/t/compiler-cant-find-imagewrapper-h-after-updating-to-4-18/412109/3 "2017-12-13T10:58:39Z")

</div>

Thank you!
