title: SFML is giving me unknown symbols on mac
body: <p>I compiled SFML2 using the instructions to get it working with C++11 on mac, by adding the flag in cmake.</p>
  
  <p>Whenever I try the libraries, using Eclipse as my IDE, I get unknown symbols, the command it is using is as follows:</p>
  
  <pre><code>g++-4.7 -L/usr/local/lib -std=c++11 -o "Breakout"  ./main.o   -lsfml-window -lsfml-system -lsfml-graphics
  </code></pre>
  
  <p>The error it spits out is:</p>
  
  <pre><code>Undefined symbols for architecture x86_64:
  "sf::RenderWindow::RenderWindow(sf::VideoMode, std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, unsigned int, sf::ContextSettings const&amp;)", referenced from:
    _main in main.o
  </code></pre>
  
  <p>Using this code:</p>
  
  <pre><code>#include &lt;SFML/Graphics.hpp&gt;
  
  int main () {
      sf::RenderWindow window(sf::VideoMode(800,600), "window");
      return 1;
  }
  </code></pre>
  
  <p>The problem, I think, might be that SFML is compiled with Clang, and I am using GCC 4.7. I am unable to compile SFML using GCC, because it complains about Objective C and Cocoa stuff. If I can avoid it, I don't want to change over to Clang for this project, as I like Eclipse for an IDE, but Clang support is crap.</p>
  
  <p>EDIT: I almost forgot, everything works fine on Linux. I have a project that I am porting, and I was trying to make a breakout clone to test things out. The project that I already have is quite large, and I want to avoid as much work as possible.</p>