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?
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.
User contributions licensed under CC BY-SA 3.0