Dismiss Notice
This Section is READ ONLY - All Posts Are Archived

SotAmap integration on Linux?

Discussion in 'Release 43 Feedback Forum' started by Arcanoxer, Jul 3, 2017.

Tags:
Thread Status:
Not open for further replies.
  1. Arcanoxer

    Arcanoxer Avatar

    Messages:
    408
    Likes Received:
    761
    Trophy Points:
    55
    Gender:
    Male
    Location:
    rl
    How much longer we have to wait for the SotAmap integration on Linux?
     
  2. Alley Oop

    Alley Oop Bug Hunter Bug Moderator

    Messages:
    15,680
    Likes Received:
    19,463
    Trophy Points:
    153
    jakub has been MIA for a few months now. there's general map updates that are missing too. in the mean time, the integrated maps are the same ones as the sotamap website, you just can't see your own position.
     
  3. Barugon

    Barugon Avatar

    Messages:
    15,679
    Likes Received:
    24,293
    Trophy Points:
    153
    Gender:
    Male
    I wouldn't hold my breath for this to happen any time soon. I personally feel that a mini-map should have been implemented from the start and it should have included logic to "reveal" as you explore (including dungeons).
     
  4. Arcanoxer

    Arcanoxer Avatar

    Messages:
    408
    Likes Received:
    761
    Trophy Points:
    55
    Gender:
    Male
    Location:
    rl
  5. Kaffien

    Kaffien Avatar

    Messages:
    577
    Likes Received:
    903
    Trophy Points:
    75
    Gender:
    Male
    Location:
    Blue Rose Isle, Crafters Town, Black Rock Cove
    Can't wait to see it linux to. I really enjoy playing this game on linux and windows.
     
  6. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    I revisit this task every week or so. The current hangup is getting CEF to compile on my Ubuntu 16.04 machine here at the office. As of right now it fails on a linking step for one of the libraries and everything I have tried has given me the same frustrating result. I event challenged @Archer to compile it but in the end it produced the same compilation error.

    If anyone wants to give it a shot and give me exact build steps for a successful compile I welcome it! I need a step by step like I was starting from scratch. The reason I need to compile it here is that I need to inject some custom code to the CEF source so that it can be handled correctly by the game code.

    Oh, I should mention it takes 2-4hrs to get to the linking failure which makes it super fun to troubleshoot!
     
    Last edited: Jul 5, 2017
  7. Alley Oop

    Alley Oop Bug Hunter Bug Moderator

    Messages:
    15,680
    Likes Received:
    19,463
    Trophy Points:
    153
    what's the linking error?

    ...and there's a lug conversation thread you should be invited to. think @WrathPhoenix started it.
     
  8. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    I don't want to spoil the surprise!
     
  9. Alley Oop

    Alley Oop Bug Hunter Bug Moderator

    Messages:
    15,680
    Likes Received:
    19,463
    Trophy Points:
    153
    well, considering i'm not running a -buntu, my being able to compile it wouldn't be of much use to you, so i'm not trying. but i WAS gonna help research.
     
  10. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    I honestly don't think it's an ubuntu specific issue - so if you want to at least give it a go it couldn't hurt!
     
  11. Alley Oop

    Alley Oop Bug Hunter Bug Moderator

    Messages:
    15,680
    Likes Received:
    19,463
    Trophy Points:
    153
    on 350k dsl?
     
  12. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    Hrm, maybe not =/. I think this is the issue encountered (or at least some variation on it).
     
  13. Alley Oop

    Alley Oop Bug Hunter Bug Moderator

    Messages:
    15,680
    Likes Received:
    19,463
    Trophy Points:
    153
    ?
     
  14. Barugon

    Barugon Avatar

    Messages:
    15,679
    Likes Received:
    24,293
    Trophy Points:
    153
    Gender:
    Male
    I'm doing this right now on Ubuntu 17.04. I immediately ran into a problem where a warning about deprecated code (readdir_r) was being treated as an error, so I used this script to remove the -Werror flag from the build files:
    Code:
    #! /bin/bash
    
    FILES=$(find -name *.ninja)
    for FILE in $FILES; do
       sed -i "s/\-Werror\b//" $FILE
    done
    
    I'll let you know how it finishes.

    . . .


    [edit] Completed using the instructions you linked to above, except I built release. The only hiccup (other than the warning being treated as an error) was that clang crashed about half-way through the build. Started the build again and it finished without any further issues.

    [​IMG]
     
    Last edited: Jul 6, 2017
  15. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    so how did you modify the instructions? did you just change BUILDTYPE to something else?
     
  16. Barugon

    Barugon Avatar

    Messages:
    15,679
    Likes Received:
    24,293
    Trophy Points:
    153
    Gender:
    Male
    Wherever the instructions said Debug_GN_x64 I substituted Release_GN_x64. I can try a debug build tonight.

    [edit] I really don't see the value in a debug build, though, unless you're going to debug libcef itself.
     
    Last edited: Jul 6, 2017
    Arcanoxer likes this.
  17. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    I'll keep trucking. I'm not getting the warnings you were so I'm not sure how much your bash patch will help - but if this fresh go doesn't work I'll try it anyway.
     
    Arcanoxer likes this.
  18. Barugon

    Barugon Avatar

    Messages:
    15,679
    Likes Received:
    24,293
    Trophy Points:
    153
    Gender:
    Male
    The only other difference is that I'm on Ubuntu 17.04.

    [edit] I also don't have clang installed. The build setup for CEF seems to have installed their own copy of clang 5.0.0.
     
    Arcanoxer likes this.
  19. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    Debug failed (no surprise), trying release.
     
  20. Archer

    Archer Avatar

    Messages:
    285
    Likes Received:
    196
    Trophy Points:
    40
    Location:
    UK, EU, Terra
    Currently reinstalling my newer computer with Linux Mint 18.2 (based off Ubuntu 16.04.2) as it added kernel 4.10 support. Once I'm done and have my dev environment setup I'll revisit building CEF.
     
Thread Status:
Not open for further replies.