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?