Announcement

Collapse
No announcement yet.

Can't compile UT4 for linux

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Can't compile UT4 for linux

    Hello !

    Well i'm trying to figure out how to build/package UT4 for linux (for my test server),
    but i did not suceed until now despite of many tries.

    First try - Build UT4 on linux:
    i did follow this tutorial https://wiki.unrealengine.com/Building_On_Linux
    however when i launch Unreal Engine editor it just crashes
    [2014.08.24-07.33.50:939][ 0]LogTextLocalizationManager:Warning: The selected culture 'fr_FR' is not available; falling back to 'en'
    [2014.08.24-07.33.50:987][ 0]LogContentStreaming: Texture pool size is 0.000000MB
    [2014.08.24-07.33.51:962][ 0]LogHAL:Error: Splash screen SDL_GL_CreateContext failed: Could not create GL context
    [2014.08.24-07.33.51:962][ 0]LogTargetPlatformManagerisplay: Building Assets For Linux
    ..
    [2014.08.24-07.34.07:591][ 0]LogUProjectInfo: Found projects:
    /home/<username>/Downloads/UnrealEngine/Engine/Source/Runtime/Core/Private/Misc/OutputDevice.cpp(203): Fatal error:
    Assertion failed: Context->hGLContext [File:/home/<username>/Downloads/UnrealEngine/Engine/Source/Runtime/OpenGLDrv/Private/Linux/OpenGLLinux.cpp] [Line: 267]
    [2014.08.24-07.34.07:626][ 0]LogLinux:Error: appError called: Assertion failed: Context->hGLContext [File:/home/<username>/Downloads/UnrealEngine/Engine/Source/Runtime/OpenGLDrv/Private/Linux/OpenGLLinux.cpp] [Line: 267]

    Stack:
    [Callstack] 02 0x00007f23d48a2226
    Dunno what's the problem, my graphic card normally support opengl
    and configurated to do so.
    <username>@COMPUTER:~$ glxinfo | grep direct rendering
    direct rendering: Yes
    Info about my linux computer:
    OS: Debian (Testing)
    CPU: intel 4770s
    Graphic Card: Intel HD 4600 (open gl capable)
    Ram: 16GB
    Unreal Engine Version: 4.4 linux branch (https://github.com/3dluvr/UnrealEngine)


    Second try: Package Project to Linux from Windows:
    i did follow this tutorial:
    https://wiki.unrealengine.com/Compiling_For_Linux
    • i installed visual studio 2013
    • installed Unreal Engine 4.4 from the unreal engine installer
    • i downloaded and decompressed the extra zip packages Required_1of2.zip, Required_2of2.zip, Optional.zip (dunno if all this is need)
    • i did install the CrossChain tool then added system variable "LINUX_ROOT" linkiing to where CrossChain tool is installed
    • i right clicked on the UnrealTournament.uproject file -> Generate Project File (or visual studio files don't remember exactly)

    Afterwards when i launch the UT project was expecting to have a new entry in File menu like "Package to Linux"
    but did not find any.

    Did i miss something?
    Anybody ever suceeded to package UT4 for linux?

    Ty by advance!
    Regards.
    Last edited by DM-Cheops-UT4; 08-27-2014, 02:14 PM. Reason: solved

    #2
    Which version of OpenGL does your card support? It should be 3.1 for UE4Editor.

    See the output of following command.
    Code:
    $ glxinfo | awk '/OpenGL version/ {print $4}'
    Last edited by The-Cowboy; 08-24-2014, 08:28 AM. Reason: grammar :)

    Comment


      #3
      Originally posted by The-Cowboy View Post
      Which version of OpenGL does your card support? It should be 3.1 for UE4Editor.

      See the output of following command.
      Code:
      $ glxinfo | awk '/OpenGL version/ {print $4}'
      o **** it's 3.0 version

      # glxinfo | awk '/OpenGL version/ {print $4}'
      3.0
      /# glxinfo | grep "OpenGL version"
      OpenGL version string: 3.0 Mesa 10.2.5
      Well i guess there is prob some driver to update somewhere
      since it is said hd 4600 supports up to opengl 4.0.

      Bit weird opengl 3.1 is implemented since Mesa 9.0.1 (nov 2012)
      and got 10.2.5.

      I guess the default driver installed is quite old.
      Well i'll try update the drivers then. Ty for the info !

      Last Edit:
      Did not see that needed to compile Unreal Engine source files with the "Optional.zip" file rather than get the normal Binaries.
      After compiling it, i now have option to package to Linux !
      Last edited by DM-Cheops-UT4; 08-27-2014, 02:14 PM.

      Comment


        #4
        I've suceeded to package to Linux from Windows compiling Unreal Engine with Optional zip file. (in Unreal Editor: Package to -> Linux)
        However i'm wondering how to package specificaly the "UnrealTournamentServer"
        rather than "UnrealTournament".
        How i can do that?

        Comment

        Working...
        X