Update: I just noticed the build options.
Release -SDL causes the error mentioned above.
Building Debug works perfectly fine, actually, but I’m trying to make a Tiles build so it doesn’t help me much.
Building Release causes the error ‘undefined reference to libintl_gettext’.
Building with any -Localized option causes the error ‘ld.exe … cannot find -liconv’.
Release or Debug -Tile Support builds the .o files correctly, but finishes with ‘error: 3rdparty\lib[several files]: no such file or directory’
Update again!: Got it working by going into ‘Build options…’, then Debug - Tile Support, then Linker settings. I updated the files there to link to these files in the ‘prepackaged version’ of the libraries on the wiki’s “How to compile” page:
3rdparty\lib\libSDL.dll.a changed to 3rdparty\lib\SDL2.lib
3rdparty\lib\libSDLmain.a changed to 3rdparty\lib\SDL2main.lib
3rdparty\lib\x86\SDL_image.lib changed to 3rdparty\lib\libSDL2_image.dll.a
3rdparty\lib\x86\SDL_ttf.lib changed to 3rdparty\lib\libSDL2_ttf.dll.a
Either the wiki (and/or codeblocks file) needs to be updated to reflect this, or I’m missing a file.