![]() |
#1 |
Apprentice
Join Date: May 2017
Posts: 62
![]() |
Compiling on lubuntu
Hello, I'm pretty new to Linux, but I managed to compile the game on Lubuntu. Had a heck of a time, since a lot of assumed dependencies weren't there. I ran the following lines:
./autogen.sh ./configure --enable-sdl -enable-x11 ~/Desktop/angband-4.2.1/execute make make install It seems like everything compiled, and I didn't get any errors. So, what's supposed to happen now? It made a new folder called execute, but nothing seems executable in there. I've tried navigating to different folders within the terminal and typing "angband" but nothing works. Thanks! |
![]() |
![]() |
![]() |
#2 |
Apprentice
Join Date: May 2017
Posts: 62
![]() |
Found it
Mysterious... when I navigate to the folder and type "angband", it doesn't work. But when I drag the icon into the terminal, it works.
|
![]() |
![]() |
![]() |
#3 |
Apprentice
Join Date: May 2017
Posts: 62
![]() |
Slightly new question
When I configured during build, I used these line:
./configure --prefix ~/Desktop/angband-4.2.1/execute --enable-sdl --enable-x11 make make install It seems like x11 is working fine, so it works when I put in /home/lubuntu/Desktop/angband-4.2.1/execute/games/angband -mx11 -- -n5 but when I try to run /home/lubuntu/Desktop/angband-4.2.1/execute/games/angband -msdl ...I get the error: Unable to prepare any 'display module'! How do I get SDL to work? Thanks! |
![]() |
![]() |
![]() |
#4 |
Apprentice
Join Date: May 2017
Posts: 62
![]() |
More info: I double checked in my configure step if SDL2 is installed, and yes it is, I installed the main one, the graphics, and the fonts, just no sound.
Another weird thing, in X11, saving the subwindow setup seems to work, but it seems like it's not creating the subwindow file, and when I load it nothing happens, but it doesn't give any error message. Last edited by PopTart; December 21, 2020 at 07:08. |
![]() |
![]() |
![]() |
#5 |
Apprentice
Join Date: Jul 2020
Posts: 50
![]() |
If you install the game, it should run by typing "angband". Otherwise you need to type "./angband".
Type "./configure --help" to get configuration options. Usually you can disable any option you can enable. ![]() |
![]() |
![]() |
![]() |
#6 |
Knight
Join Date: Apr 2009
Location: Pisa / DL0
Posts: 968
![]() |
If you compiled in SDL2 support, then to activate it you should run Angband with -msdl2. If you use -msdl, it tries to use the older SDL1 backend instead.
Usually when I am compiling I prefer to configure Angband with --with-no-install and then running it from the main compilation folder with "src/angband -msdl2" (or whatever options/backend you wish to use). I suggest to do the same; it is one less thing to do, and it makes it simpler to upgrade to a new version.
__________________
Dive fast, die young, leave a high-CHA corpse. -- You read a scroll labeled 'lol gtfo' of Teleport Level. |
![]() |
![]() |
![]() |
#7 | |
Apprentice
Join Date: Jul 2020
Posts: 50
![]() |
Quote:
![]() |
|
![]() |
![]() |
![]() |
#8 | |
Apprentice
Join Date: May 2017
Posts: 62
![]() |
Quote:
|
|
![]() |
![]() |
![]() |
#9 |
Apprentice
Join Date: May 2017
Posts: 62
![]() |
I reconfigured it to install to the default directory, and now it works to simply type angband. Thanks!
|
![]() |
![]() |
![]() |
#10 |
Apprentice
Join Date: May 2017
Posts: 62
![]() |
Still not able to make SDL2 work
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help compiling Hellband | konijn_ | Variants | 7 | March 13, 2018 20:49 |
Compiling V for Windows | Therem Harth | Vanilla | 8 | September 4, 2011 23:36 |
Compiling Z+Angband | Ravenheart87 | Variants | 7 | May 24, 2011 08:35 |
Compiling 3.2 | Omnipact | Development | 6 | December 27, 2010 09:39 |
Compiling Issues | Gregian | Vanilla | 13 | July 2, 2008 14:35 |