title: Compiling c++ with SDL2 in terminal
body: <p>I have been unable to compile a basic class file to generate a window using SDL2, using both brew and compiling from the SDL site using using...</p>
  
  <pre><code> #include &lt;SDL2/SDL.h&gt;
  </code></pre>
  
  <p>at the top of the file. </p>
  
  <p>Have also used...</p>
  
  <pre><code>#include &lt;SDL/SDL.h&gt;
  #include "SDL"
  </code></pre>
  
  <p>among others and nearly always get this error</p>
  
  <blockquote>
  <pre><code>./src/window.cpp:1:10: fatal error: 'SDL2/SDL.h' file not found
  #include &lt;SDL2/SDL.h&gt;
  </code></pre>
  </blockquote>
  
  <p>Something should have worked and just hasn't.</p>