Hello. I am having a pretty weird bug (?) with SDL_image. When I call IMG_Init like:
IMG_Init(IMG_INIT_PNG) and I check for the return value, I get an error like
Failed loading SHCORE.DLL: Could not find the specified module..
Now, this is pretty odd, because shcore.dll is only available in Windows 8.1 and above, and I researched a bit and it seems to be called by IMG_LoadPCX_RW – but I don’t even use that?! (I’m sure it’s an error on my part).
If the provided libpng16-16.dll is not present anywhere in the system, IMG_Init returns as if everything was init’d properly. This is also quite weird. Shouldn’t it also error out, but say that it can’t find libpng16-16? I used ProcessMonitor to trace the program’s calls and it really cannot find libpng16-16.dll, just like shcore.dll, so yeah.
Anyways, I’ve been banging my head on this for a day now. Any help is appreciated.