title: MinGW "undefined reference to IMG_Load/IMG_Init/IMG_Quit" LazyFoo
body: <p>I am going off of LazyFoo's SDL2 tutorials for C++ using the MinGW g++ compiler (using console).  I have followed his page <a href="http://lazyfoo.net/SDL_tutorials/lesson03/windows/mingw/" rel="nofollow noreferrer">here</a>, step-for-step. I have finally come across this error after having downloaded his example.</p>
  
  <p><img src="https://i.stack.imgur.com/3kexf.png" alt="enter image description here"></p>
  
  <p>I have seen plenty of people online struggle with SDL_Image, but I've not yet seen this and I haven't found any solution to it yet.</p>
  
  <ul>
  <li>I've loaded the include and lib folders with the proper assets</li>
  <li>I've copied all necessary .dll's to my compile destination</li>
  <li>The example LazyFoo provides includes for SDL_Image and SDL itself</li>
  </ul>
  
  <p><em>(this question my sound redundant, but I've yet to come across a solution that applies to console-compilation)</em></p>