Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old December 21, 2020, 20:56   #11
fph
Knight
 
Join Date: Apr 2009
Location: Pisa / DL0
Posts: 963
fph is on a distinguished road
Quote:
Originally Posted by PopTart View Post
Same problem when I use -msdl2. But I will try this no-install option, thank you!
Does `configure` confirms that those SDL frontends have been compiled in? If you look at the end of that wall of text usually it tells you if all the required headers have been detected correctly. (Note that you can re-run `configure` if you wish to check its output.)
__________________
Dive fast, die young, leave a high-CHA corpse.
--
You read a scroll labeled 'lol gtfo' of Teleport Level.
fph is offline   Reply With Quote
Old December 21, 2020, 21:12   #12
invisibletroll
Apprentice
 
Join Date: Jul 2020
Posts: 50
invisibletroll is on a distinguished road
Don't configure with "--enable-sdl". Use "--enable-sdl2".
invisibletroll is offline   Reply With Quote
Old December 22, 2020, 01:30   #13
PopTart
Apprentice
 
Join Date: May 2017
Posts: 62
PopTart is on a distinguished road
Quote:
Originally Posted by fph View Post
Does `configure` confirms that those SDL frontends have been compiled in? If you look at the end of that wall of text usually it tells you if all the required headers have been detected correctly. (Note that you can re-run `configure` if you wish to check its output.)
It confirms that SDL2 has been compiled in.
PopTart is offline   Reply With Quote
Old December 22, 2020, 01:39   #14
PopTart
Apprentice
 
Join Date: May 2017
Posts: 62
PopTart is on a distinguished road
It could have to do with

1. I'm running Lubuntu, which maybe can't support SDL2
2. Intel Atom processor, not AMD
PopTart is offline   Reply With Quote
Old December 22, 2020, 14:45   #15
fph
Knight
 
Join Date: Apr 2009
Location: Pisa / DL0
Posts: 963
fph is on a distinguished road
That's quite strange; none of these facts should have an impact. If `configure` finds all the required headers and confirms in the final messages that the SDL2 support is going to be included in the build, then it means it should be supported, no matter what distro or architecture you are using. That's precisely the job of a configure script, to confirm that all the required libraries and dependencies are there.

Be sure that you have rebuilt everything after the last configuration change: `./configure --with-your-favorite-options` followed by `make clean` and `make` just to be 200% sure you rebuild everything from scratch.
__________________
Dive fast, die young, leave a high-CHA corpse.
--
You read a scroll labeled 'lol gtfo' of Teleport Level.
fph is offline   Reply With Quote
Old December 22, 2020, 16:12   #16
invisibletroll
Apprentice
 
Join Date: Jul 2020
Posts: 50
invisibletroll is on a distinguished road
Exclamation

Quote:
Originally Posted by fph View Post
That's quite strange; none of these facts should have an impact. If `configure` finds all the required headers and confirms in the final messages that the SDL2 support is going to be included in the build, then it means it should be supported, no matter what distro or architecture you are using. That's precisely the job of a configure script, to confirm that all the required libraries and dependencies are there.

Be sure that you have rebuilt everything after the last configuration change: `./configure --with-your-favorite-options` followed by `make clean` and `make` just to be 200% sure you rebuild everything from scratch.
Don't feed the troll.
invisibletroll is offline   Reply With Quote
Old December 22, 2020, 22:02   #17
PopTart
Apprentice
 
Join Date: May 2017
Posts: 62
PopTart is on a distinguished road
So, I want to backup my character save file before doing this. I have run configure and confirmed that my character opens. Where is this character file saved? Configure states that it is in ~/.angband/Angband/ but it's not there.

What is in that folder, incidentally, is my .prf file for my character and window.prf. The game remembers the keyboard shortcuts I created, and my subwindow setup, but not the location of the subwindows. And I have remembered to save the subwindow setup to my character's .prf file, and also to load the .prf file in the = menu, but it doesn't work. This is one of my main reasons for wanting to use SDL2.

Anyway, where is my character file?

Last edited by PopTart; December 22, 2020 at 22:21.
PopTart is offline   Reply With Quote
Old December 22, 2020, 22:27   #18
PopTart
Apprentice
 
Join Date: May 2017
Posts: 62
PopTart is on a distinguished road
Okay, found my savefile. Took me a while. That's what I get for naming my character Lubuntu!

The game saves in a subdirectory within the original unzip directory. This is strange at first thought, but it explains why my saves have persisted through all these re-configures and re-makes.
PopTart is offline   Reply With Quote
Old December 22, 2020, 22:36   #19
PopTart
Apprentice
 
Join Date: May 2017
Posts: 62
PopTart is on a distinguished road
Success!

Success in getting the SDL2 version to run! Seems like the answer was

make clean
make
sudo make install
PopTart is offline   Reply With Quote
Old December 22, 2020, 22:53   #20
PopTart
Apprentice
 
Join Date: May 2017
Posts: 62
PopTart is on a distinguished road
The saga continues

The mouse clicks aren't registering in any of the menus. They are registering in the main window of the game, bringing up options and moving the player character, but not the menus.

I should be able to set up the subwindows by editing sdl2init.txt. Now to find a specification for it...

Last edited by PopTart; December 23, 2020 at 00:52.
PopTart is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help compiling Hellband konijn_ Variants 7 March 13, 2018 21:49
Compiling V for Windows Therem Harth Vanilla 8 September 5, 2011 00:36
Compiling Z+Angband Ravenheart87 Variants 7 May 24, 2011 09:35
Compiling 3.2 Omnipact Development 6 December 27, 2010 10:39
Compiling Issues Gregian Vanilla 13 July 2, 2008 15:35


All times are GMT +1. The time now is 03:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.