title: Visual Studio SDL2.dll The code execution cannot proceed because SDL2.dll was not found
body: <p>I am trying to make a window with c++ and SDL, But when I launch my code, it says &quot;The code execution cannot proceed because SDL2.dll was not found.&quot; And yes, it is confusing because I have SDL2.dll in my source files. Do anyone know how to fix it.?</p>
  <p>Code:</p>
  <pre><code>#include &quot;SDL.h&quot;
  
  int main(int argc, char *argv[])
  {
  
      SDL_Init(SDL_INIT_EVERYTHING);
      SDL_Window* window = SDL_CreateWindow(&quot;title&quot;, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 600, 400, SDL_WINDOW_SHOWN);
      SDL_Renderer* renderer = SDL_CreateRenderer(window, -1, 0);
  
      SDL_SetRenderDrawColor(renderer, 0, 255, 0, 255);
  
          SDL_RenderClear(renderer);
  
          SDL_RenderPresent(renderer);
  
          SDL_Delay(3000);
  
  
  
      return 0;
  }
  </code></pre>