After adding the SDL_image library to my project I tried running a program but got the Systemerror that the SDL2_image.dll cannot be found.I added the SDL_image files to my SDL2 folder and added SDL2_image.lib to my dependencies. Also I included the SDL_image.h.
I just recognized I forgot to copy the .dll File to my project folder.