Trying to get #OpenXcom to build in #MSYS #MinGW64 using #CMake and #vscode, and of course it's a dumpster fire. *sigh*

It builds but barfs up a massive series of linker errors at the end, even though I already found and fixed one CMakeLists.txt issue. Whee!

#xp

The version of #yaml-cpp currently shipped by #MSYS for #MinGW64 has a bug that prevents exporting a symbol to the shipped DLL. It's not MSYS' fault, because yaml-cpp hasn't put out an updated formal release since 10 months before fixing this: https://github.com/jbeder/yaml-cpp/issues/1026#issuecomment-1122305522

#xp

Oof, #OpenXcom is still on #SDL 1.2.

...except for some reason its CMake tries to pull in #SDL2 versions of the mixer, gfx, and image modules. What the heck? Best guess is this is just crusty because everyone goes down the manual install path instead.

#xp

Pretty sure #MSYS #MinGW's 64-bit #libSDL 1.2 packages are also broken, as I get linker errors with libSDL_image.a and libSDL_mixer.a.

Meanwhile, Vcpkg doesn't have a full set of SDL 1.2 packages.

Not sure it's worth building every #OpenXcom dependency from source.

#xp