Skip to content

Build Fails (Non-editor build cannot depend on non-redistributable modules.) #6

@colorofblack

Description

@colorofblack

Hey everyone,
we just finished a small prototype using your plugin. It works like a charm in the editor / VR Preview, but if we try to package the project we get the following error in the editor:

LogSavePackage: Moving '../../../../../../UE4_Projects/PushConfVR2016_packaging/Saved/UEDPCStrangerThingsViveMap1E021BCB4DC684C32CD7989270C0C744.tmp' to '../../../../../../UE4_Projects/PushConfVR2016_packaging/Saved/Autosaves/Game/StrangerThings/UEDPCStrangerThingsViveMap.umap' LogSavePackage:Display: Finished SavePackage ../../../../../../UE4_Projects/PushConfVR2016_packaging/Saved/Autosaves/Game/StrangerThings/UEDPCStrangerThingsViveMap.umap LogEditorTransaction: Undo Spawn Play From Here Start UATHelper: Packaging (Windows (64-bit)): Running AutomationTool... UATHelper: Packaging (Windows (64-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=C:/UE4_Projects/PushConfVR2016_packaging/PushVR2016.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=C:/UE4_Projects/PushConfVR2016_packaging/PushVR2016.uproject -cook -stage -archive -archivedirectory=C:/Users/17K-Daniel/ Desktop/PushVR2016 -package -clientconfig=Shipping -ue4exe=UE4Editor-Cmd.exe -clean -prereqs -distribution -nodebuginfo -targetplatform=Win64 -build -CrashReporter -utf8output UATHelper: Packaging (Windows (64-bit)): Automation.Process: Setting up command environment. UATHelper: Packaging (Windows (64-bit)): BuildCookRun.SetupParams: Setting up ProjectParams for C:\UE4_Projects\PushConfVR2016_packaging\PushVR2016.uproject UATHelper: Packaging (Windows (64-bit)): Project.Build: ********** BUILD COMMAND STARTED ********** UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\Applications\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe PushVR2016 Win64 Shipping -Project=C:\UE4_Projects\PushConfVR2016_packaging\PushVR2016.uproject -clean C:\UE4_Projects\PushConfVR2016_packaging\PushVR2016.uproject -remoteini="C:\UE4_Projects\PushConfVR2016_packaging" -n obuilduht -NoHotReload UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: Non-editor build cannot depend on non-redistributable modules. Details: UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Binary C:\UE4_Projects\PushConfVR2016_packaging\Binaries\Win64\PushVR2016-Win64-Shipping.exe depends on: EditorStyle, SourceControl, WorkspaceMenuStructure, CurveAssetEditor, CrashTracker, DesktopPlatform, TargetPlatform, MessageLog, ClassViewer, Settings, HardwareTargeting, DirectoryWatcher, WidgetCa rousel, SuperSearch, AddContentDialog, SourceCodeAccess, Documentation, GameProjectGeneration, UATHelper, Merge, BlueprintGraph, KismetWidgets, ExternalImagePicker, SharedSettingsWidgets, DerivedDataCache, HotReload, ActorPickerMode, StatsViewer, DeviceProfileServices, SceneOutliner, Persona, MovieSceneCaptureDialog, SequencerWidgets, SequenceRecorderSection s, Sequencer, RawMesh, MaterialUtilities, MeshBoneReduction, MeshSimplifier, MeshUtilitie UATHelper: Packaging (Windows (64-bit)): s, HierarchicalLODUtilities, HierarchicalLODOutliner, PixelInspectorModule, FbxAutomationBuilderModule, DeviceManager, SettingsEditor, UnrealEdMessages, AutomationController, AutomationWindow, ScreenShotComparisonTools, ScreenShotComparison, ProfilerMessages, ProfilerClient, Profiler, SessionFrontend, SlateReflector, Layers, LandscapeEditor, WorldBrowser, NewLevelDialog, DeviceProfileEditor, CollectionManager, PlacementMode, UserFeedback, TreeMap, SizeMap, ReferenceViewer, LauncherServices, IntroTutorials, ViewportInteraction, VREditor, LevelEditor, SequenceRecorder, MovieSceneTools, FunctionalTesting, KismetCompiler, BlueprintCompilerCppBackend, BlueprintNativeCodeGen, BlueprintProfiler, Kismet, GraphEditor, Localization, LocalizationService, TranslationEditor, UndoHistory, ProjectTargetPlatformEditor, OutputLog, EditorLiveStreaming, LocalizationDashboard, MainFrame, TextureEditor, CurveTableEditor, DataTableEditor, DestructibleMeshEditor, MaterialEditor, DesktopWidgets, FontEditor, SoundCueEditor, SoundClassEditor, AssetT ools, SourceControlWindows, ContentBrowser, AnimGraph, InputBindingEditor, SwarmInterface, TargetDeviceServices, InternationalizationSettings, MeshPaint, PluginWarden, BspMode, GameplayDebugger, StaticMeshEditor, DistCurveEditor, Cascade, ConfigEditor, ComponentVisualizers, DetailCustomizations, UMGEditor, Matinee, EditorSettingsViewer, PackagesDialog, PhAT, ProjectLauncher, GeometryMode, TextureAlignMode, FoliageEdit, PackageDependencyInfo, Blutility, NiagaraEditor, MergeActors, ProjectSettingsViewer, PListEditor, AIGraph, BehaviorTreeEditor, EnvironmentQueryEditor, ViewportSnapping, GameplayTagsEditor, GameplayTasksEditor, GameplayAbilitiesEditor, IOSPlatformEditor, HTML5TargetPlatform, HTML5PlatformEditor, G eometryCacheEd, AndroidDeviceDetection, AndroidPlatformEditor, UnrealEd, EditorWidgets, SceneDepthPickerMode, PropertyEditor. UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Binary C:\UE4_Projects\PushConfVR2016_packaging\Plugins\SimpleDataIntegration\Binaries\Win64\UE4-SimpleDataIntegration-Win64-Shipping.lib depends on: EditorStyle, SourceControl, WorkspaceMenuStructure, CurveAssetEditor, CrashTracker, DesktopPlatform, TargetPlatform, MessageLog, ClassViewer, Settings, HardwareTargeting, DirectoryWatcher, WidgetCarousel, SuperSearch, AddContentDialog, SourceCodeAccess, Documentation, GameProjectGeneration, UATHelper, Merge, BlueprintGraph, KismetWidgets, ExternalImagePicker, SharedSettingsWidgets, DerivedDataCache, HotReload, ActorPickerMode, StatsViewer, DeviceProfileServices, SceneOutliner, Persona, MovieSceneCaptureDial og, SequencerWidgets, SequenceRecorderSections, Sequencer, RawMesh, MaterialUtilities, MeshBoneReduction, MeshSimplifier, MeshUtilities, HierarchicalLODUtilities, HierarchicalLODOutliner, PixelInspectorModule, FbxAutomationBuilderModule, DeviceManager, SettingsEditor, UnrealEdMessages, AutomationController, AutomationWindow, ScreenShotComparisonTools, Screen ShotComparison, ProfilerMessages, ProfilerClient, Profiler, SessionFrontend, SlateReflector, Layers, LandscapeEditor, WorldBrowser, NewLevelDialog, DeviceProfileEditor, CollectionManager, PlacementMode, UserFeedback, TreeMap, SizeMap, ReferenceViewer, LauncherServices, IntroTutorials, ViewportInteraction, VREditor, LevelEditor, SequenceRecorder, MovieSceneTo ols, FunctionalTesting, KismetCompiler, BlueprintCompilerCppBackend, BlueprintNativeCodeGen, BlueprintProfiler, Kismet, GraphEditor, Localization, LocalizationService, TranslationEditor, UndoHistory, ProjectTargetPlatformEditor, OutputLog, EditorLiveStreaming, LocalizationDashboard, MainFrame, TextureEditor, CurveTableEditor, DataTableEditor, DestructibleMes hEditor, MaterialEditor, DesktopWidgets, FontEditor, SoundCueEditor, SoundClassEditor, AssetTools, SourceControlWindows, ContentBrowser, AnimGraph, InputBindingEditor, SwarmInterface, TargetDeviceServices, InternationalizationSettings, MeshPaint, PluginWarden, BspMode, GameplayDebugger, StaticMeshEditor, DistCurveEditor, Cascade, ConfigEditor, ComponentVisua lizers, DetailCustomizations, UMGEditor, Matinee, EditorSettingsViewer, PackagesDialog, PhAT, ProjectLauncher, GeometryMode, TextureAlignMode, FoliageEdit, PackageDependencyInfo, Blutility, NiagaraEditor, MergeActors, ProjectSettingsViewer, PListEditor, AIGraph, BehaviorTreeEditor, EnvironmentQueryEditor, ViewportSnapping, GameplayTagsEditor, GameplayTasksEd itor, GameplayAbilitiesEditor, IOSPlatformEditor, HTML5TargetPlatform, HTML5PlatformEditor, GeometryCacheEd, AndroidDeviceDetection, AndroidPlatformEditor, UnrealEd, EditorWidgets, SceneDepthPickerMode, PropertyEditor. UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 0,7058775s to run UnrealBuildTool.exe, ExitCode=5 UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Applications\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe PushVR2016 Win64 Shipping -Project=C:\UE4_Projects\PushConfVR2016_packaging\PushVR2016.uproject -clean C:\UE4_Projects\PushConfVR2016_packaging\PushVR2016.uproject -remoteini="C:\UE4_Projects\PushConfVR2016_packaging" -nobuilduht -NoHotReload. See logfile for details: 'UnrealBuildTool-2016.10.24-15.48.46.txt' UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary2 EnvVars)
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary2 EnvVars) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.UE4Build.CleanWithUBT(String TargetName, UnrealTargetPlatform Platform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Bo UATHelper: Packaging (Windows (64-bit)): olean ForceDebugInfo, String InAddArgs, Boolean ForceUnity, Dictionary2 EnvVars)
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary2 PlatformEnvVars, Nullable1 InChangelistNumberOverride, Dictio nary2 InTargetToManifest)
UATHelper: Packaging (Windows (64-bit)): at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
UATHelper: Packaging (Windows (64-bit)): at BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Automation.Process(String[] Arguments)
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.InternalUtils.RunSingleInstance(Func2 Main, Object Param) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Program.Main() UATHelper: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=5 (5) UATHelper: Packaging (Windows (64-bit)): BUILD FAILED PackagingResults:Error: Error Unknown Error

And this error in VS2015:
Severity Code Description Project File Line Suppression State Error Non-editor build cannot depend on non-redistributable modules. Details: PushVR2016 C:\UE4_Projects\PushConfVR2016_packaging\Intermediate\ProjectFiles\EXEC 1 Error MSB3075 The command ""C:\Applications\Epic Games\4.13\Engine\Build\BatchFiles\Build.bat" PushVR2016 Win64 Shipping "C:\UE4_Projects\PushConfVR2016_packaging\PushVR2016.uproject" -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command. PushVR2016 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 41
Any idea on how to fix it? (If I switch from shipping to development, I see an error indicating that it's the SDI plugin that is causing these errors) plus this one:

Trying to build in the UE with development settings under package results in: UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool: C:\Applications\Epic Games\4.13\Engine\Source\Editor\GraphEditor\Public\GraphEditorSettings.h(6): fatal error C1083: Cannot open include file: 'GraphEditorSettings.generated.h': No such file or directory I'm not sure if this is connected (probably)

Help would be greatly appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions