![]() |
Hi Shirish, thanks for the email. It's funny how life happens sometimes, I was thinking only the other day it's time I updated Angband in Debian, 4.x must be pretty mature now and I expect some free time this fall ... and lo, something happens to pull me back.
I can't promise anything soon, but months rather than years. I'll start with a bog-standard package of Angband 4.x, then I'm going to fix up angband-audio, then I'll see if I can help on SDL2. Derakon, Nick - hope you're well. CC |
Quote:
|
Good to see you, Magnate! I'm doing decently well. Life continues on, no great peaks nor abyssal chasms.
|
I sent the pull request:
https://github.com/angband/angband/pull/502 For those who are interested in compiling it (instructions for Debian-based systems!): You'll need three libraries: the "base" SDL2, SDL2_ttf (fonts stuff) and SDL2_image (loading .png files and such). Also, their dependecies (Freetype, zlib and co). If you want sounds, you'll also need SDL2_mixer. In short: Code:
apt-get install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev Code:
git clone https://github.com/t4nk074/angband Code:
cd angband Now compile the game using Makefile.sdl2: Code:
cd src Code:
cd src Code:
cd .. |
Reply in-line :-
Quote:
Code:
~/games$ git clone https://github.com/t4nk074/angband angband-t4nk074 Code:
~/games$ cd angband-t4nk074/ Quote:
This is when I have all the -dev versions that were needed - Code:
$ apt-cache policy libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev |
You should probably run ./configure with --disable-sdl-mixer too. (Hi magnate!)
|
Quote:
I retried and failed - Code:
~/games/angband-t4nk074$ ./autogen.sh Code:
~/games/angband-t4nk074$ ./configure --with-no-install --disable-curses --disable-x11 --disable-sdl-mixer Code:
shirish@debian:~/games/angband-t4nk074$ cd src/ SDL2/SDL.h Code:
$ dpkg -L libsdl2-dev | grep SDL.h Code:
$ cat snd-sdl.c | grep include and was able to compile - Code:
~/games/angband-t4nk074/src$ SOUND=yes make -f Makefile.sdl2 |
Quote:
Anyway, looks like you're close :) snd-sdl.c has two lines: Code:
#include <SDL/SDL.h> Those need to be replaced with: Code:
#include <SDL.h> |
@t4nk, I just did that, see above ;)
Btw we don't seem to have any graphics, it still shows up in ASCII mode with the skeletons as background. I did try - Code:
~/games/angband-t4nk074$ ./angband -g -ssdl -msdl2 Code:
$ ./angband --help |
p.s. Hi, Takkaria :)
|
All times are GMT +1. The time now is 08:38. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.