Download

Linux - "package project" takes to website :(

Hey,

Im trying to package my game for linux. Ive got the 4.7.6 build running on ubuntu 15.04 without to much trouble.

When I open my project, go file > package project > linux
it opens a website:

Any ideas whats going on? Why is this not packaging the game?

Hi,

Is this epic/4.7 or 3dluvr/4.7-linux ?

epic/4.7 lacks community fixes and improvements for Linux, and therefore should not be used (it’s also mentioned in the Wiki).

You can try epic/4.8 instead or clone 3dluvr/4.7-linux.

Ah, yes im using the epic/4.7 just use the zip from the git website so figured that was it!

Which would i be better off with 4.8? Does that include the 3dluvr fixes?
Picked 4.8 for now :slight_smile:

Thanks!

4.8 doesnt even build it seems.

doing a make for UE4Editor crashes out.

I tried running it again, and this is the result…

linux@linux:~$ cd UnrealEngine-4.8
linux@linux:~/UnrealEngine-4.8$ make UE4Editor
bash “/home/linux/UnrealEngine-4.8”/Engine/Build/BatchFiles/Linux/Build.sh UE4Editor Linux Development
/usr/lib/mono/4.5/Microsoft.Common.targets: error : Access to the path “/home/linux/UnrealEngine-4.8/Engine/Source/Programs/EnvVarsToXML/EnvVarsToXML/obj/Development/EnvVarsToXML.csproj.FilesWrittenAbsolute.txt” is denied. at System.IO.FileStream…ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream…ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter…ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter…ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
at Microsoft.Build.Tasks.WriteLinesToFile.Execute () [0x00000] in <filename unknown>:0
/usr/lib/mono/4.5/Microsoft.Common.targets: error : Access to the path “/home/linux/UnrealEngine-4.8/Engine/Source/Programs/UnrealBuildTool/obj/Development/UnrealBuildTool.csproj.FilesWrittenAbsolute.txt” is denied. at System.IO.FileStream…ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream…ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter…ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamWriter…ctor (System.String path, Boolean append) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
at Microsoft.Build.Tasks.WriteLinesToFile.Execute () [0x00000] in <filename unknown>:0
Failed to build to build tool (UnrealBuildTool)
Makefile:171: recipe for target ‘UE4Editor’ failed
make: *** [UE4Editor] Error 1
linux@linux:~/UnrealEngine-4.8$ sudo make UE4Editor
[sudo] password for linux:
bash “/home/linux/UnrealEngine-4.8”/Engine/Build/BatchFiles/Linux/Build.sh UE4Editor Linux Development
Building UE4Editor…
Using clang version ‘3.5.2’ (string), 3 (major), 5 (minor), 2 (patch)
/bin/sh -c ‘/bin/sh “/home/linux/UnrealEngine-4.8/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Editor/Development/FixDependencies.sh” && touch “/home/linux/UnrealEngine-4.8/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Editor/Development/UE4Editor.link”’
Performing 248 actions (4 in parallel)
[1/248] Compile Module.Core.5_of_6.cpp
[4/248] Compile Module.UnrealEd.13_of_18.cpp
[3/248] Compile Module.UnrealEd.12_of_18.cpp
[2/248] Compile Module.UnrealEd.7_of_18.cpp
[5/248] Compile Module.UnrealEd.4_of_18.cpp
[6/248] Link libUE4Editor-Core.so
[7/248] Link libUE4Editor-Json.so
[8/248] Link libUE4Editor-Projects.so
[9/248] Link libUE4Editor-CoreUObject.so
[10/248] Link libUE4Editor-InputCore.so
[11/248] Link libUE4Editor-SlateCore.so
[12/248] Link libUE4Editor-Slate.so
[13/248] Link libUE4Editor-SandboxFile.so
[14/248] Link libUE4Editor-RHI.so
[15/248] Link libUE4Editor-Sockets.so
[16/248] Link libUE4Editor-RenderCore.so
[17/248] Link libUE4Editor-ImageCore.so
[18/248] Compile Module.UnrealEd.5_of_18.cpp
[19/248] Link libUE4Editor-ShaderCore.so
[20/248] Link libUE4Editor-SlateReflector.so
[21/248] Link libUE4Editor-Networking.so
[22/248] Link libUE4Editor-EngineMessages.so
[23/248] Link libUE4Editor-AppFramework.so
[24/248] Link libUE4Editor-Messaging.so
[25/248] Link libUE4Editor-EngineSettings.so
[26/248] Link libUE4Editor-Navmesh.so
[27/248] Link libUE4Editor-SynthBenchmark.so
[28/248] Link libUE4Editor-AssetRegistry.so
[29/248] Link libUE4Editor-RawMesh.so
[30/248] Link libUE4Editor-DatabaseSupport.so
[31/248] Link libUE4Editor-DesktopPlatform.so
[32/248] Link libUE4Editor-ImageWrapper.so
[33/248] Link libUE4Editor-Analytics.so
[34/248] Link libUE4Editor-EditorStyle.so
[35/248] Link libUE4Editor-TargetPlatform.so
[36/248] Link libUE4Editor-DirectoryWatcher.so
[37/248] Link libUE4Editor-PakFile.so
[38/248] Link libUE4Editor-WidgetCarousel.so
[39/248] Link libUE4Editor-WorkspaceMenuStructure.so
[40/248] Link libUE4Editor-MessageLog.so
[41/248] Link libUE4Editor-OnlineSubsystem.so
[42/248] Link libUE4Editor-HTTP.so
[43/248] Link libUE4Editor-CEF3Utils.so
[44/248] Link libUE4Editor-WebBrowser.so
[45/248] Link libUE4Editor-Settings.so
[46/248] Link libUE4Editor-SourceCodeAccess.so
[47/248] Link libUE4Editor-ExternalImagePicker.so
[48/248] Link libUE4Editor-Internationalization.so
[49/248] Link libUE4Editor-AutomationMessages.so
[50/248] Link libUE4Editor-UnrealEdMessages.so
[51/248] Link libUE4Editor-DesktopWidgets.so
[52/248] Link libUE4Editor-SessionMessages.so
[53/248] Link libUE4Editor-ProfilerMessages.so
[54/248] Link libUE4Editor-Voice.so
[55/248] Link libUE4Editor-CollectionManager.so
[56/248] Link libUE4Editor-XmlParser.so
[57/248] Link libUE4Editor-Serialization.so
[58/248] Link libUE4Editor-AutomationController.so
[59/248] Link libUE4Editor-ConfigEditor.so
[60/248] Link libUE4Editor-ScreenShotComparisonTools.so
[61/248] Link libUE4Editor-SessionServices.so
[62/248] Link libUE4Editor-ProfilerClient.so
[63/248] Link libUE4Editor-NetworkFile.so
[64/248] Link libUE4Editor-NetworkReplayStreaming.so
[65/248] Link libUE4Editor-ScreenShotComparison.so
[66/248] Link libUE4Editor-AutomationWindow.so
[67/248] Link libUE4Editor-InputBindingEditor.so
[68/248] Link libUE4Editor-TreeMap.so
[69/248] Link libUE4Editor-IOSRuntimeSettings.so
[70/248] Link libUE4Editor-StreamingFile.so
[71/248] Link libUE4Editor-LaunchDaemonMessages.so
[72/248] Link libUE4Editor-ShaderCompilerCommon.so
[73/248] Link libUE4Editor-ShaderPreprocessor.so
[74/248] Link libUE4Editor-PerforceSourceControl.so
[75/248] Link libUE4Editor-ProjectLauncher.so
[76/248] Link libUE4Editor-Toolbox.so
[77/248] Link libUE4Editor-DeviceManager.so
[78/248] Link libUE4Editor-SlateRemote.so
[79/248] Link libUE4Editor-TextureFormatDXT.so
[80/248] Link libUE4Editor-UdpMessaging.so
[81/248] Link libUE4Editor-LauncherServices.so
[82/248] Link libUE4Editor-SubversionSourceControl.so
[83/248] Link libUE4Editor-ShaderFormatOpenGL.so
[84/248] Link libUE4Editor-NetworkFileSystem.so
[85/248] Link libUE4Editor-MessagingDebugger.so
[86/248] Link libUE4Editor-TargetDeviceServices.so
[87/248] Link libUE4Editor-AnalyticsET.so
[88/248] Link libUE4Editor-LauncherAutomatedService.so
[89/248] Link libUE4Editor-SwarmInterface.so
[90/248] Link libUE4Editor-JsonUtilities.so
[91/248] Link libUE4Editor-UnrealEd.so
[92/248] Link libUE4Editor-TextureFormatASTC.so
[93/248] Link libUE4Editor-TextureFormatPVR.so
[94/248] Link libUE4Editor-UObjectPlugin.so
[95/248] Link libUE4Editor-NullSourceCodeAccess.so
[96/248] Link libUE4Editor-NullDrv.so
[97/248] Link libUE4Editor-NullNetworkReplayStreaming.so
[98/248] Link libUE4Editor-PackageDependencyInfo.so
[99/248] Link libUE4Editor-TextureFormatUncompressed.so
[100/248] Link libUE4Editor-UnrealAudio.so
[101/248] Link libUE4Editor-Media.so
[102/248] Link libUE4Editor-Advertising.so
[103/248] Link libUE4Editor-BlankPlugin.so
[104/248] Link libUE4Editor-DerivedDataCache.so
[105/248] Link libUE4Editor-UE4Game.so
[106/248] Link libUE4Editor-BlankModule.so
/home/linux/UnrealEngine-4.8/Engine/Source/ThirdParty/FBX/2014.2.1/lib/linux/x86_64-unknown-linux-gnu/libfbxsdk.a(fbxutils.o): In function fbxsdk_2014_2_1::FbxPathUtils::GenerateFileName(char const*, char const*)': fbxutils.cxx:(.text+0x498): warning: the use of tempnam’ is dangerous, better use mkstemp' [107/248] Link libUE4Editor-Engine.so [108/248] Link libUE4Editor-AddContentDialog.so [109/248] Link libUE4Editor-ProjectTargetPlatformEditor.so [110/248] Link libUE4Editor-BlueprintGraph.so [111/248] Link libUE4Editor-EditorWidgets.so [112/248] Link libUE4Editor-Foliage.so [113/248] Link libUE4Editor-TextureEditor.so [114/248] Link libUE4Editor-CurveAssetEditor.so [115/248] Link libUE4Editor-SceneOutliner.so [116/248] Link libUE4Editor-NewsFeed.so [117/248] Link libUE4Editor-AssetTools.so [118/248] Link libUE4Editor-KismetWidgets.so [119/248] Link libUE4Editor-AnimGraph.so [120/248] Link libUE4Editor-StatsViewer.so [121/248] Link libUE4Editor-ActorPickerMode.so [122/248] Link libUE4Editor-SourceControlWindows.so [123/248] Link libUE4Editor-Persona.so [124/248] Link libUE4Editor-DeviceProfileServices.so [125/248] Link libUE4Editor-SharedSettingsWidgets.so [126/248] Link libUE4Editor-ContentBrowser.so [127/248] Link libUE4Editor-UndoHistory.so [128/248] Link libUE4Editor-CrashTracker.so [129/248] Link libUE4Editor-ClassViewer.so [130/248] Link libUE4Editor-UtilityShaders.so [131/248] Link libUE4Editor-MoviePlayer.so [132/248] Link libUE4Editor-Renderer.so [133/248] Link libUE4Editor-GameplayTags.so [134/248] Link libUE4Editor-Documentation.so [135/248] Link libUE4Editor-MeshSimplifier.so [136/248] Link libUE4Editor-TranslationEditor.so [137/248] Link libUE4Editor-MeshUtilities.so [138/248] Link libUE4Editor-LevelEditor.so [139/248] Link libUE4Editor-MediaAssets.so [140/248] Link libUE4Editor-MovieSceneCore.so [141/248] Link libUE4Editor-MeshPaint.so [142/248] Link libUE4Editor-HardwareTargeting.so [143/248] Link libUE4Editor-Paper2D.so [144/248] Link libUE4Editor-InternationalizationSettings.so [145/248] Link libUE4Editor-OnlineSubsystemUtils.so [146/248] Link libUE4Editor-MovieSceneCoreTypes.so [147/248] Link libUE4Editor-Paper2DEditor.so [148/248] Link libUE4Editor-DeviceProfileEditor.so [149/248] Link libUE4Editor-BspMode.so [150/248] Link libUE4Editor-AIGraph.so [151/248] Link libUE4Editor-MovieSceneTools.so [152/248] Link libUE4Editor-MainFrame.so [153/248] Link libUE4Editor-PlacementMode.so [154/248] Link libUE4Editor-SettingsEditor.so [155/248] Link libUE4Editor-DistCurveEditor.so [156/248] Link libUE4Editor-GameplayTagsEditor.so [157/248] Link libUE4Editor-SequencerWidgets.so [158/248] Link libUE4Editor-DetailCustomizations.so [159/248] Link libUE4Editor-IntroTutorials.so [160/248] Link libUE4Editor-LandscapeEditor.so [161/248] Link libUE4Editor-GameplayAbilities.so [162/248] Link libUE4Editor-Sequencer.so [163/248] Link libUE4Editor-Profiler.so [164/248] Link libUE4Editor-GameplayDebugger.so [165/248] Link libUE4Editor-HotReload.so /usr/bin/ld: /home/linux/UnrealEngine-4.8/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Editor/Development/DetailCustomizations/Module.DetailCustomizations.2_of_3.cpp.o(.debug_ranges+0x101531e0): reloc against .text’: error 2
/usr/bin/ld: final link failed: Nonrepresentable section on output
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[166/248] Link libUE4Editor-HTML5TargetPlatform.so
[167/248] Link libUE4Editor-TaskGraph.so
[168/248] Link libUE4Editor-ViewportSnapping.so
[169/248] Link libUE4Editor-HeadMountedDisplay.so
[170/248] Link libUE4Editor-AutomationWorker.so
[171/248] Link libUE4Editor-VectorVM.so
[172/248] Link libUE4Editor-WorldBrowser.so
[173/248] Link libUE4Editor-StaticMeshEditor.so
[174/248] Link UE4Editor
[175/248] Link libUE4Editor-BehaviorTreeEditor.so
[176/248] Link libUE4Editor-GameProjectGeneration.so
[177/248] Link libUE4Editor-GameplayAbilitiesEditor.so
[178/248] Link libUE4Editor-DestructibleMeshEditor.so
/home/linux/UnrealEngine-4.8/Engine/Source/ThirdParty/FBX/2014.2.1/lib/linux/x86_64-unknown-linux-gnu/libfbxsdk.a(fbxutils.o): In function fbxsdk_2014_2_1::FbxPathUtils::GenerateFileName(char const*, char const*)': fbxutils.cxx:(.text+0x498): warning: the use of tempnam’ is dangerous, better use `mkstemp’
[179/248] Link libUE4Editor-Matinee.so
[180/248] Link libUE4Editor-EnvironmentQueryEditor.so
[181/248] Link libUE4Editor-HTML5PlatformEditor.so
[182/248] Link libUE4Editor-Blutility.so
[183/248] Link libUE4Editor-MediaPlayerEditor.so
[184/248] Link libUE4Editor-FoliageEdit.so
[185/248] Link libUE4Editor-LocalizationDashboard.so
[186/248] Link libUE4Editor-SessionFrontend.so
[187/248] Link libUE4Editor-EpicSurvey.so
[188/248] Link libUE4Editor-IOSPlatformEditor.so
[189/248] Link libUE4Editor-MaterialEditor.so
[190/248] Link libUE4Editor-PaperSpriteSheetImporter.so
[191/248] Link libUE4Editor-PhAT.so
[192/248] Link libUE4Editor-Merge.so
[193/248] Link libUE4Editor-NiagaraEditor.so
[194/248] Link libUE4Editor-SpeedTreeImporter.so
[195/248] Link libUE4Editor-PluginBrowser.so
[196/248] Link libUE4Editor-Cascade.so
[197/248] Link libUE4Editor-EditorSettingsViewer.so
[198/248] Link libUE4Editor-ProjectSettingsViewer.so
[199/248] Link libUE4Editor-FontEditor.so
[200/248] Link libUE4Editor-SuperSearch.so
[201/248] Link libUE4Editor-ReferenceViewer.so
[202/248] Link libUE4Editor-SlateRHIRenderer.so
[203/248] Link libUE4Editor-GeometryMode.so
[204/248] Link libUE4Editor-PhysXFormats.so
[205/248] Link libUE4Editor-CharacterAI.so
[206/248] Link libUE4Editor-NewLevelDialog.so
[207/248] Link libUE4Editor-DataTableEditor.so
[208/248] Link libUE4Editor-TextureCompressor.so
[209/248] Link libUE4Editor-ComponentVisualizers.so
[210/248] Link libUE4Editor-GameLiveStreaming.so
[211/248] Link libUE4Editor-PListEditor.so
[212/248] Link libUE4Editor-SoundClassEditor.so
[213/248] Link libUE4Editor-SoundCueEditor.so
[214/248] Link libUE4Editor-StreamingPauseRendering.so
[215/248] Link libUE4Editor-PackagesDialog.so
[216/248] Link libUE4Editor-SizeMap.so
[217/248] Link libUE4Editor-Layers.so
[218/248] Link libUE4Editor-FunctionalTesting.so
[219/248] Link libUE4Editor-CurveTableEditor.so
[220/248] Link libUE4Editor-PaperTiledImporter.so
[221/248] Link libUE4Editor-OutputLog.so
[222/248] Link libUE4Editor-OpenGLDrv.so
[223/248] Link libUE4Editor-RealtimeProfiler.so
[224/248] Link libUE4Editor-UserFeedback.so
[225/248] Link libUE4Editor-OnlineBlueprintSupport.so
[226/248] Link libUE4Editor-ALAudio.so
[227/248] Link libUE4Editor-SmartSnapping.so
[228/248] Link libUE4Editor-ModuleUI.so
[229/248] Link libUE4Editor-GammaUI.so
[230/248] Link libUE4Editor-DesktopTargetPlatform.so
[231/248] Link libUE4Editor-CableComponent.so
[232/248] Link libUE4Editor-TextureAlignMode.so
[233/248] Link libUE4Editor-CustomMeshComponent.so
[234/248] Link libUE4Editor-ProceduralMeshComponent.so
[235/248] Link libUE4Editor-EditorLiveStreaming.so
[236/248] Link libUE4Editor-HttpNetworkReplayStreaming.so
[237/248] Link libUE4Editor-OnlineSubsystemNull.so
[238/248] Link libUE4Editor-AudioFormatOgg.so
[239/248] Link libUE4Editor-LinuxTargetPlatform.so
[240/248] Link libUE4Editor-BlueprintCompilerCppBackend.so
[241/248] Link libUE4Editor-ProfilerService.so
[242/248] Link libUE4Editor-KDevelopSourceCodeAccess.so
[243/248] Link libUE4Editor-LinuxServerTargetPlatform.so
[244/248] Link libUE4Editor-LinuxNoEditorTargetPlatform.so
[245/248] Link libUE4Editor-AudioFormatOpus.so
[246/248] Link libUE4Editor-ExampleDeviceProfileSelector.so
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: linker command failed due to signal (use -v to see invocation)
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: /home/linux/UnrealEngine-4.8/Engine/Binaries/Linux/libUE4Editor-DetailCustomizations.so
Total build time: 209.70 seconds
Makefile:171: recipe for target ‘UE4Editor’ failed
make: *** [UE4Editor] Error 5
linux@linux:~/UnrealEngine-4.8$

epic/4.8 should have all of the fixes from 3dluvr/4.7-linux…

You should never run as root, UE4 does not require escalated privileges.

Try cloning epic/4.8 again into a new folder and then follow the Wiki steps. If that does not work you can always fall back to 3dluvr/4.7-linux until things get fixed in epic/4.8.

I found that it was apt-get causing crashes.

I found this to fix the problem if anyone else has the issue on ubuntu 15.04

sudo apt-get clean
sudo apt-get clean all
sudo rm -fr /var/cache/apt/*.bin

ok still having some issues with opening my project now.

I get the error dialog
“The game module ‘DogFight’ could not be loaded. There may be an operating system error or the module may not be properly set up.”

What is the cause of this?

Started the linux build from scratch, it wanted to open the ide, so ive done this through QT Creator. Heres the error im now stuck with…

13:17:50: Running steps for project DogFight…
13:17:50: Starting: “/usr/lib/x86_64-linux-gnu/qt5/bin/qmake” /home/linux/Projects/DogFight/DogFight.pro -r -spec linux-g+±64 CONFIG+=debug
13:21:07: The process “/usr/lib/x86_64-linux-gnu/qt5/bin/qmake” crashed.
Error while building/deploying project DogFight (kit: Desktop)
When executing step ‘qmake’
13:21:07: Elapsed time: 03:17.

Hey Gibbz-

I was able to build the 4.8 branch from Github and open a project. Here are the steps I used inside the terminal:
I first changed to the folder I wanted to clone the engine to ($ cd Documents/Builds)
Then I ran ($ git clone https:github.com/EpicGames/UnrealEngine -b 4.8) - this insures I’m getting the 4.8 branch
When that finished I went into the UnrealEngine folder that was created inside Documents/Builds
I then ran ./Setup.sh followed by ./GenerateProjectFiles.sh
When those finished I then ran “make ShaderCompileWorker UnrealLightmass UnrealPak UE4Editor” which takes the most time

Once that finished I was able to navigate into the Engine/Binaries/Linux folder and run ./UE4Editor

Are these the same steps you took or were there other things that I missed where you are having issues? If you still have issues after following these steps please make a post on the AnswerHub and link to it here so that our Support Staff can look into your issue further.

Cheers

Doug

Yep, but instead of using git i used the zip from the 4.8 branch.
I managed to get it to build after a few more attempts of recompiling.
The problem im having now is that I cant open my existing project because i get the following error when trying to build (through QT Creator)

13:17:50: Running steps for project DogFight…
13:17:50: Starting: “/usr/lib/x86_64-linux-gnu/qt5/bin/qmake” /home/linux/Projects/DogFight/DogFight.pro -r -spec linux-g+±64 CONFIG+=debug
13:21:07: The process “/usr/lib/x86_64-linux-gnu/qt5/bin/qmake” crashed.
Error while building/deploying project DogFight (kit: Desktop)
When executing step ‘qmake’
13:21:07: Elapsed time: 03:17.

But if i make a new blueprint/default project it opens and works right away.
Ill get in there and try a default C++ project when i get a chance…

Building i get the following error:

Hey Gibbz-

If you’re still having problems opening your project then you may want to post on the AnswerHub where our Support Staff can more easily track issues (https://answers.unrealengine.com/). You can include a link to the AnswerHub post here to help us locate it and begin investigating. Be sure to include as much information as possible including if you have the same behavior in a new project (unable to build/open a new code project).