title: MinGW + SFML giving error code
body: <p>I'm using SFML and MinGW to make a game. I'm using MinGW because I'm using CLion as my IDE since I'm used to the JetBrains suite. Anyways, I've installed MinGW 4.9.2 and got the respective SFML and added the SFML_ROOT to my environment variables. Now, whenever I run it it gives me this: <code>Process finished with exit code -1073741515 (0xC0000135)</code>, the application doesn't boot obviously. </p>
  
  <p>My CMakeLists is as follows:</p>
  
  <pre><code>cmake_minimum_required(VERSION 3.2)
  project(airport-simulator)
  
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
  set(SOURCE_FILES
      main.cpp)
  
  add_executable(${PROJECT_NAME} ${SOURCE_FILES} main.cpp)
  
  # SFML
  set(SFML_ROOT "${CMAKE_SOURCE_DIR}/sfml")
  set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
  find_package(SFML 2 REQUIRED system window graphics network audio)
  if (SFML_FOUND)
      include_directories(${SFML_INCLUDE_DIR})
      target_link_libraries(${PROJECT_NAME} ${SFML_LIBRARIES})
  endif()
  </code></pre>
  
  <p>My main.cpp is:</p>
  
  <pre><code>#include &lt;SFML/Graphics.hpp&gt;
  
  int main()
  {
      sf::RenderWindow window(sf::VideoMode(800, 600), "Airport Simulator");
      sf::CircleShape shape(80);
      while (window.isOpen())
      {
          sf::Event event;
          while (window.pollEvent(event))
          {
              if (event.type == sf::Event::Closed) window.close();
          }
  
          window.clear(sf::Color::Black);
          window.draw(shape);
          window.display();
      }
  
      return 0;
  }
  </code></pre>
  
  <p>My file structure:</p>
  
  <pre><code>Project
  |-- .idea
  |-- cmake
  |   `-- FindSFML.txt
  |-- sfml
  |-- .gitignore
  |-- CMakeLists.txt
  `-- main.cpp
  </code></pre>
  
  <p>I've tried replacing the SFML library and updating/changing the MinGW version all with no success. Any ideas?</p>
  
  <p>Cheers</p>