0

I am currently using SDL2-devel-2.0.16-mingw.tar.gz and SDL2_image-2.0.5 both 32bit version my pc is 64bit windows 7. I am trying to render png image from Code::block using SDL and C++ but after compiling it throws an error enter image description here

SDL_LOADFILE_RW could not be located in the dynamic link library SDL2.dll, can anyone help me through this?

  • The linked thread addresses this. If it doesn't help, tell us. – HolyBlackCat Sep 15 '21 at 17:00
  • 1
    @HolyBlackCat thank you for the link, I reinstall the latest sdl2 and sdl2 image and provided sdl2.dll from the sdl2 bin folder into the game directory, and added additional file SDL2_image.dll libjpeg-9.dll, libpng16-16.dll, zlib1.dll into the same game directory and it works . – kshitiz ghimire Sep 16 '21 at 10:16

0 Answers0