codeblock prompts "the application was unable to start correctly (0xc000007b)", when I use IMG_load() function


I placed the image to be loaded in different suitable directories and checked.. Mine system is 64 bit, window8.1 and codeblock 17.12. What could be cause and solution for it?

asked on Stack Overflow Jan 20, 2018 by Nabeel Perwaiz • edited Jan 22, 2018 by genpfault

1 Answer


It was an issue not due to any problem in code but I was using 32bit codeblck and SDL_image.dll file of 64bit system. That was main reason and also some other .dll files relevant to SDL_image.h were missing that were not reason for this prompt appearing but impacts a bit in other way.

answered on Stack Overflow Jan 21, 2018 by Nabeel Perwaiz

User contributions licensed under CC BY-SA 3.0