Hi,
I created a plugin to add a custom button in the LevelEditor toolbar. The project compiles ok and the plugin is fully functional, but when I try to package it I get a BUILD FAILED.
It complains it cannot open include file “UnrealEd.h” filem which is included by LevelEditor.h. When I disable the plugin that adds LevelEditor as a dependency it packages ok.
I tried to add UnrealEd to the plugin’s public dependency module in .Build.cs file but then I get even more errors. It seems that UnrealEd depends on evetything. I’m using UnrealEngine 4.3
This is the output log: (right-click and then open in a new tab to see it full size)
This is the plugin’s .Build.cs file:
public BuildPlugin(TargetInfo Target)
{
PublicIncludePaths.AddRange(new string[] {"BuildPlugin/Public",});
PrivateIncludePaths.AddRange(new string[] {"BuildPlugin/Private",});
PublicDependencyModuleNames.AddRange(new string[] { "Engine", "Core", "LevelEditor", "Slate", "EditorStyle" });
}
Does any of you EPIC! guys know how to fix this? (Does it have anything to do with a include of “LevelEditor.h” in another .h file in my plugin?)
Kind Regards,