title: SFML library entry point
body: <p>When using the SFML library I am encountering this error message:</p>
  
  <p><a href="https://i.stack.imgur.com/YWnL1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YWnL1.png" alt="error message"></a></p>
  
  <p>What does it mean and how do I solve it?</p>
  
  <p>code :</p>
  
  <pre><code>#include &lt;SFML/Graphics.hpp&gt;
  int main()
  {
      sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
      sf::CircleShape shape(100.f);
      shape.setFillColor(sf::Color::Green);
      while (window.isOpen())
      {
          sf::Event event;
          while (window.pollEvent(event))
          {
              if (event.type == sf::Event::Closed)
                  window.close();
          }
  
          window.clear();
          window.draw(shape);
          window.display();
      }
  
      return 0;
  }
  </code></pre>
  
  <p>P.S. I followed this video to install SFML library: <a href="https://www.youtube.com/watch?v=fcZFaiGFIMA" rel="nofollow noreferrer">https://www.youtube.com/watch?v=fcZFaiGFIMA</a></p>