error (0xc000007b) during the set up of sdl

Hello i’m new to c::b and i try to learn sdl, and to set up the sdl 2 on c::b i followed this tuto http://lazyfoo.net/tutorials/SDL/01_hello_SDL/windows/codeblocks/index.php#5, and everything went well until the last f9 where i got this error (0xc000007b),the application will not start. here is the code from the hellosdl.zip : https://pastebin.com/Ug93dxdM thank you
Modify message

That tutorial is about 5 years old. No need to paste the demo code, not a code issue. Better look for a recent set up tutorial. Maybe on youtube.
-Cass

Sorry for the necro, but your problem isn’t with your code.

If you are using SDL’s 64 bit library, then you:

  1. Have to link your DLLs from “SDL/lib/x64” into your IDE
  2. Place the DLLs from “SDL/lib/x64” into the directory of the exe (“Debug/”) that you are building your exe in,

If you are using SDL’s 32 bit library, then you:

  1. Have to link your DLLs from “SDL/lib/x86” into your IDE
  2. Place the DLLs from “SDL/lib/x86” into the directory of the exe (“Debug/”) that you are building your exe in,