I'm linking it with:
Of which `cif`, `drawtext`, `soloud_static`, `freetype` I've compiled myself also under MinGW, the same compiler. The rest seem to have been there by default. I am also compiling with `-m32`.Code:-lmingw32 -lcif -ldrawtext -lsoloud_static -lvorbis -ltheora -ltheoradec -logg -lwinmm -lole32 -lfreetype -lopengl32 -lgdi32 -lglu32 -luuid
Apparently, this error occours when you mix MSVC and MinGW libraries or something? Not sure if that's true, but I can't think of anything else, although there don't seem to be any MSVC libraries here. Windows was not used at all in the build process.