I can compile the SDL2 front end from the latest source in MSYS2 and run it in Windows, following the Angband manual's instructions
but I get no sound (fighting monsters, etc). I have "Use sound" set to "yes" in the in-game options.
This has been discussed for more Linux-like versions here http://angband.oook.cz/forum/showthr...ght=sdl2+sound and there was a code fix around that time https://github.com/angband/angband/c...e1e6332302e51a and an issue discussing it https://github.com/angband/angband/issues/4458 --but I'm not sure how to apply configuration stuff mentioned in those pages, for instance "./configure --enable-sdl2-mixer," to compiling in MSYS2.
Is there something I should be doing when compiling in MSYS2 to get sound working?
All I'm doing is the manual's
make -f Makefile.msys2.sdl2
I installed additional packages
pacman -S mingw-w64-x86_64-SDL2_mixer
pacman -S mingw-w64-x86_64-SDL
pacman -S mingw-w64-x86_64-SDL_mixer
and tried what I think(?) does a force rebuild
make -Bf Makefile.msys2.sdl2
but that didn't get sound working.
(Update 10/18: Of those three packages, only SDL2_mixer is actually needed. And I could have done
make clean -f Makefile.msys2.sdl2
make -f Makefile.msys2.sdl2
instead of using -B.)
I've tried running from a shortcut with "-msdl2" after angband.exe, but that doesn't seem to do anything different--no sound, at any rate.
I get a repeating warning when compiling
gcc.exe: warning: C:/msys64/mingw64/lib/libSDL2.a: linker input file unused because linking not done
CC [filename].c
where [filename] is various source files. It doesn't seem to result in actual errors or stop the build from completing.
Comment