Maybe it's not you, anyway it was in the older forum so I don't have the post here anyway...
1st I have not used mingw in ages, I have been compiling windows binaries from linux for years now, so maybe I'll have forgotten a few things.
You need to use the msys shell, install it if it's not the case, normally if you use it OSTYPE will be defined to msys without doing anything, that's what you need 1st.
Do that and post again if you have some more problems !
For the strlwr definition, it had disappeared from the mingw headers a long time ago, you are sure you are using some recent mingw version ?
Well if it's really the latest stable mingw version and you really have a conflict here, then you'll have to comment out strlwr from source/sdl/compat.h and source/sdl/compat.c.
For info my string.h is from mingw runtime (called mingwrt here : https://sourceforge.net/projects/mingw/files/MinGW/Base/mingwrt/ ) version 3.18. From my crosscompile environment, 3.18 is said stable, 3.20 and 3.20.2 are "testing" (maybe still in this state because not enough testers) and 18.104.22.168 is said unstable, so I think I'll keep 3.18 for now.
While I am at it for the dependancies you'll need :
libpng (well you have it obviously even if it's not the latest version, if you get an error while compiling related to png stuff then it's too old)
sdl (latest is 1.2.15, you can keep 1.2.14 if you want)
sdl-sound (preferably the mercury one because the latest "stable" one is unable to read mp3s containing id3 tags which can be a problem)
And then depending on the audio cdecs and the pictures formats you want, you might need some more libs (libjpeg, libvorbis, libogg, libflac, libmpg123 if using mercury version of sdl-sound, otherwise it's an outdated mp3 lib I forgot about, etc...).
And you can find the pre-compiled stuff there : http://raine.1emulat...wnload/dev.html
sorry I didn't show the versions used, just the dates the packages were made that's all. I never had any feedback about these packages, but if they are correct you just need to unpack them at the root of your mingw installation, below the include and lib directories.
Good luck !
Edited by Tux, 11 April 2016 - 01:16 PM.