title: SDL2 headers not being found when compiling os x
body: <p>I can't seem to compile this program. I have other people in my class that are having no problem compiling this code. I'm using the same command to try to compile the program and installed the frameworks in the same directory as them. /Library/Frameworks. I also installed eclipse and followed the zamma.co.uk tutorial to setup sdl2 and that didn't work either. Here is the command i'm running when compiling </p>
  
  <p>g++ -std=c++11 -o Gravity main.cpp Game.cpp Particle.cpp Point.cpp -I/Library/Frameworks/SDL2.framework/Headers -framework SDL2 -framework Cocoa</p>
  
  <p>Note: I have tried both </p>
  
  <pre><code>#include &lt;SDL.h&gt;
  </code></pre>
  
  <p>and </p>
  
  <pre><code>#include &lt;SDL2/SDL.h&gt; 
  </code></pre>
  
  <p>and neither work</p>