Search code examples
visual-studiosdl

SDL2_image.dll cannot be found


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.

enter image description here

enter image description here


Solution

  • I just recognized I forgot to copy the .dll File to my project folder.