Hi,
I am trying to build the game for win64. But unfortunately I am getting a linker error: LINK : fatal error LNK1181: cannot open input file ‘C:\Program Files\Epic Games\UE_4.16\Engine\Binaries\Win64\UE4-UnrealEd.lib’ I can play the game in the editor but can’t build it for windows. I already tried to exclude all editor headers with this preprocessor directives:
#if WITH_EDITOR
#include "Editor.h"
#endif // WITH_EDITOR
I also excluded the modules in the build.cs file:
if (UEBuildConfiguration.bBuildEditor) {
PublicDependencyModuleNames.AddRange(new string[] { "EditorStyle", "AssetTools" });
}
I still have a dependency in the uproject file:
"Modules": [
{
"Name": "LostEmber",
"Type": "Runtime",
"LoadingPhase": "Default",
"AdditionalDependencies":
[
"Engine",
"CoreUObject",
"AIModule",
"UMG",
"CinematicCamera",
"UnrealEd",
"AudioEditor"
]
}
],
But I can’t remove the modules here without other errors.
Any ideas what I am doing wrong?
Cheers