View Single Post
Old February 24, 2022, 00:35   #3
docrobot
Rookie
 
docrobot's Avatar
 
Join Date: Feb 2022
Posts: 3
docrobot is on a distinguished road
Quote:
Originally Posted by Nick View Post
I'm not an SDL2 expert at all, but if it were me I'd start by removing the
Code:
	-lbrotlidec-static \
	-lbrotlicommon-static \
lines from Makefile.msys2.sdl2 and see what broke next.

I suspect the real problem is that SDL2 is a bit of a moving target; that quantity of library dependencies scares me.
Removing both of those makes linking less actual linking and something more akin to projectile vomiting.

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
docrobot is offline   Reply With Quote