While trying to build something with Visual C++ 2015 Community edition I got this fun error while trying to link:
LNK2019 unresolved external symbol __imp____iob_func referenced in function _ShowError
LNK2019 unresolved external symbol __imp__fprintf referenced in function _ShowError
So it turns out that some of the fundamental streams have changed, and when the SDL library is compiled it attaches LIBC into it, which then creates this fun mis-match. Â The fix is easy, of course, just download the source to SDL 1.25, and re-build it with Visual Studio 2015. Â But then you’ll get another error that /ZI and /Gy- are incompatible with eachother. Â I just changed /ZI to the older /Z7 setting, and I could quickly compile SDL, copy the libs to my project and happily link & run.