Building X11 or SDL2 frontend on Bazzite

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ekolis
    Knight
    • Apr 2007
    • 827

    Building X11 or SDL2 frontend on Bazzite

    I've been using Bazzite Linux lately, and I'm trying to compile Angband because I want to play the windowed version of the game and only the console version appears to be available from the software repositories. However when I try to build either the X11 or the SDL2 frontend, I get an error saying that X is not installed, even though I do have libx11 installed. I tried installing libx11-dev and libx11-devel, but those don't seem to exist in Homebrew where I normally get development packages from, so I'm guessing libx11 is what I need. Could this have anything to do with Bazzite using Wayland and requiring an emulation layer for X11 apps? Also, which frontend is recommended, X11 or SDL2? What's the difference between the two? On Windows I didn't have this option! Thanks!
    You read the scroll labeled NOBIMUS UPSCOTI...
    You are surrounded by a stasis field!
    The tengu tries to teleport, but fails!
  • Nick
    Vanilla maintainer
    • Apr 2007
    • 9386

    #2
    I suspect it's to do with Wayland, but I'm pretty ignorant about how Wayland vs X works. Personally, I would recommend the SDL2 frontend over x11.
    One for the Dark Lord on his dark throne
    In the Land of Mordor where the Shadows lie.

    Comment

    • ekolis
      Knight
      • Apr 2007
      • 827

      #3
      Thanks! Looks like I had to reinstall SDL2 (brew reinstall sdl2); somehow in the process of trying to get the game to build I broke my installation.

      And now I can't find where "sudo make install" put the game; the game doesn't seem to be in my path... been so long since I worked with make!

      Oh, I just had to specify the installation path with "./configure --prefix=/some/path" - now the game is crashing because it can't find libSDL2_ttf-2.0.so.0 even though I have sdl2_ttf installed, hmm...
      Last edited by ekolis; Today, 17:10.
      You read the scroll labeled NOBIMUS UPSCOTI...
      You are surrounded by a stasis field!
      The tengu tries to teleport, but fails!

      Comment

      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎