Blew away my Angband and MSYS2 installs and am trying to recompile, and having some trouble. Any help would be appreciated. : D
I'm doing this:
~~~
Download the latest MSYS2 self-extracting archive (*sfx.exe) from https://github.com/msys2/msys2-installer/releases. Running it auto-extracts to an "msys64" folder in the same directory as the *sfx.exe. 'p' Go in there and run msys2.exe (the purple one); it will auto-update. Once that's finished, enter:
(when it closes, relaunch)
Then from the Angband manual's compiling instructions ( https://angband.readthedocs.io/en/la...2-with-mingw64 ):
Then
From the manual again:
~~~~
Currently that last command returns
~~~~
(I was surprised by this because when I was trying this yesterday, I got past that part and got a compile error at something like missing SDL .h something or other. Maybe I had separately installed gcc at that point, I dunno. Was trying to follow the strict instructions this time.)
(By the way, is the "mingw-w64-x86_64-ncurses" in the manual's compiling instructions necessary? It looks like ncurses is installed by toolchain.)
I'm doing this:
~~~
Download the latest MSYS2 self-extracting archive (*sfx.exe) from https://github.com/msys2/msys2-installer/releases. Running it auto-extracts to an "msys64" folder in the same directory as the *sfx.exe. 'p' Go in there and run msys2.exe (the purple one); it will auto-update. Once that's finished, enter:
Code:
pacman -Syu --noconfirm
Code:
pacman -Syu --noconfirm pacman -S git
Code:
pacman -S make mingw-w64-x86_64-toolchain mingw-w64-x86_64-ncurses pacman -S mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_image pacman -S mingw-w64-x86_64-SDL2_ttf mingw-w64-x86_64-SDL2_mixer
Code:
git clone https://github.com/angband/angband.git cd angband
Code:
cd src make -f Makefile.msys2.sdl2 SOUND=yes
Currently that last command returns
make: sdl2-config: No such file or directory
make: sdl2-config: No such file or directory
make: sdl2-config: No such file or directory
make: sdl2-config: No such file or directory
CC main.c
make: gcc: No such file or directory
make: *** [Makefile.msys2.sdl2:133: main.o] Error 127
make: sdl2-config: No such file or directory
make: sdl2-config: No such file or directory
make: sdl2-config: No such file or directory
CC main.c
make: gcc: No such file or directory
make: *** [Makefile.msys2.sdl2:133: main.o] Error 127
(I was surprised by this because when I was trying this yesterday, I got past that part and got a compile error at something like missing SDL .h something or other. Maybe I had separately installed gcc at that point, I dunno. Was trying to follow the strict instructions this time.)
(By the way, is the "mingw-w64-x86_64-ncurses" in the manual's compiling instructions necessary? It looks like ncurses is installed by toolchain.)
Comment