![]() |
#1 |
Rookie
Join Date: Feb 2022
Posts: 3
![]() |
Angband 4.2.4 Windows SDL2 Build Issue
Not even sure if this is the right place for it, but here goes. I'm attempting a MSYS2 compile of Angband (version 4.2.4, from the source tarball) for Windows using SDL2, as per the steps in the compiling instructions guide, and it appears to be failing during linking with...
Code:
$ make -f Makefile.msys2.sdl2 -j9 LINK angband D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lbrotlidec-static: No such file or directory D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lbrotlicommon-static: No such file or directory collect2.exe: error: ld returned 1 exit status make: *** [Makefile.msys2.sdl2:109: angband] Error 1 Code:
$ pacman -Ss brotli mingw32/mingw-w64-i686-brotli 1.0.9-4 Brotli compression library (mingw-w64) mingw32/mingw-w64-i686-brotli-testdata 1.0.9-4 Brotli compression library (mingw-w64) mingw32/mingw-w64-i686-python-brotli 1.0.9-4 Brotli compression library (mingw-w64) mingw64/mingw-w64-x86_64-brotli 1.0.9-4 [installed] Brotli compression library (mingw-w64) mingw64/mingw-w64-x86_64-brotli-testdata 1.0.9-4 Brotli compression library (mingw-w64) mingw64/mingw-w64-x86_64-python-brotli 1.0.9-4 Brotli compression library (mingw-w64) ucrt64/mingw-w64-ucrt-x86_64-brotli 1.0.9-4 Brotli compression library (mingw-w64) ucrt64/mingw-w64-ucrt-x86_64-brotli-testdata 1.0.9-4 Brotli compression library (mingw-w64) ucrt64/mingw-w64-ucrt-x86_64-python-brotli 1.0.9-4 Brotli compression library (mingw-w64) clang64/mingw-w64-clang-x86_64-brotli 1.0.9-4 Brotli compression library (mingw-w64) clang64/mingw-w64-clang-x86_64-brotli-testdata 1.0.9-4 Brotli compression library (mingw-w64) clang64/mingw-w64-clang-x86_64-python-brotli 1.0.9-4 Brotli compression library (mingw-w64) msys/brotli 1.0.9-2 [installed] Brotli compression library msys/brotli-devel 1.0.9-2 Brotli compression library msys/brotli-testdata 1.0.9-2 Brotli compression library msys/python-brotli 1.0.9-2 Brotli compression library |
![]() |
![]() |
![]() |
#2 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,525
Donated: $60
![]() ![]() |
I'm not an SDL2 expert at all, but if it were me I'd start by removing the
Code:
-lbrotlidec-static \ -lbrotlicommon-static \ I suspect the real problem is that SDL2 is a bit of a moving target; that quantity of library dependencies scares me.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#3 | |
Rookie
Join Date: Feb 2022
Posts: 3
![]() |
Quote:
Code:
LINK angband D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/msys64/mingw64/lib\libtiff.a(tif_jbig.o):(.text+0x45): undefined reference to `jbg_enc_init' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/msys64/mingw64/lib\libtiff.a(tif_jbig.o):(.text+0x4d): undefined reference to `jbg_enc_out' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/msys64/mingw64/lib\libtiff.a(tif_jbig.o):(.text+0x55): undefined reference to `jbg_enc_free' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/msys64/mingw64/lib\libtiff.a(tif_jbig.o):(.text+0x9f): undefined reference to `jbg_dec_init' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/msys64/mingw64/lib\libtiff.a(tif_jbig.o):(.text+0xb2): undefined reference to `jbg_newlen' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/msys64/mingw64/lib\libtiff.a(tif_jbig.o):(.text+0xcb): undefined reference to `jbg_dec_in' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/msys64/mingw64/lib\libtiff.a(tif_jbig.o):(.text+0xde): undefined reference to `jbg_dec_getsize' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/msys64/mingw64/lib\libtiff.a(tif_jbig.o):(.text+0xfb): undefined reference to `jbg_dec_getimage' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/msys64/mingw64/lib\libtiff.a(tif_jbig.o):(.text+0x111): undefined reference to `jbg_dec_free' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/msys64/mingw64/lib\libtiff.a(tif_jbig.o):(.text+0x173): undefined reference to `jbg_strerror' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/msys64/mingw64/lib\libtiff.a(tif_jbig.o):(.text+0x1a0): undefined reference to `jbg_dec_free' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/msys64/mingw64/lib\libtiff.a(tif_jbig.o):(.text+0x1f6): undefined reference to `jbg_dec_free' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/msys64/mingw64/lib\libtiff.a(tif_lerc.o):(.text+0x85a): undefined reference to `lerc_encodeForVersion' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/msys64/mingw64/lib\libtiff.a(tif_lerc.o):(.text+0x12a2): undefined reference to `lerc_getBlobInfo' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/msys64/mingw64/lib\libtiff.a(tif_lerc.o):(.text+0x13a1): undefined reference to `lerc_decode' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/msys64/mingw64/lib\libtiff.a(tif_lerc.o):(.text+0x16cb): undefined reference to `lerc_decode' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/msys64/mingw64/lib\libfreetype.a(src_sfnt_sfnt.c.obj):(.text+0xeae2): undefined reference to `BrotliDecoderDecompress' D:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/msys64/mingw64/lib\libharfbuzz.a(hb-directwrite.cc.obj):(.text+0x5ca): undefined reference to `DWriteCreateFactory' collect2.exe: error: ld returned 1 exit status make: *** [Makefile.msys2.sdl2:107: angband] Error 1 |
|
![]() |
![]() |
![]() |
#4 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 58
Posts: 9,525
Donated: $60
![]() ![]() |
Not the first time I've given bad advice
![]() I guess then I'd go the other way and try installing brotlidec and brotlicommon in the hope that they're not covered by brotli. Caveat - my entire knowledge of any brotli* comes from this thread.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#5 |
Rookie
Join Date: Feb 2022
Posts: 3
![]() |
Edit: No dice. This, at first, appeared to be an issue with brotli changing its naming convention. This is a little deeper than that upon further inspection. I'm thinking I'm just tired and overlooking something simple, but I'm at a loss at to what that might be.
Last edited by docrobot; February 24, 2022 at 03:53. |
![]() |
![]() |
![]() |
Tags |
4.2.4, brotli, msys2, sdl2, windows |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
4.2.0 windows sdl2 frontend | Adriankhl | Development | 10 | June 11, 2020 15:55 |
Neoband v0.7.1 Windows build | Therem Harth | Variants | 3 | November 26, 2014 22:17 |
Build failures on stripped Windows (mingw) | Pete Mack | Vanilla | 1 | April 10, 2013 08:08 |
Latest Angband Nighty build | Malak Darkhunter | Vanilla | 10 | September 14, 2011 17:44 |
Issue with compile on Windows 7 64-bit using Visual C++ Express command line | -K- | Development | 1 | January 15, 2011 20:28 |