Thanks that fixed that problem, but now getting a lot of compiler errors.
"a.cpp: In function 'int main()';
a.cpp:6.5: error: 'Circleshape' is not a member of 'sf'
a.cpp :6:21: error 'shape' was not declared in this scope
a.cpp:0:19: error 'class sf::RenderWindow' has no member named 'isOpen"
a.cpp:9:19: error 'class sf::RenderWindow; has no member named ;pollEvent'
a.cpp:14:23: error: 'class sf::Event' has no member named 'type'
a.cpp:15:24: error: 'class sf::RenderWindow' has no member named 'close'
a.cpp:18:16: error: 'class sf::RenderWindow' has no member named 'clear'
a.cpp:19:16: error: 'class sf::RenderWindow has no member named 'draw'
a.cpp:20:16: error: 'class sf::RenderWindow' has no member named 'display'"
This is the sample one I tried to compile.
#include <SFML/Graphics.hpp>
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;
}