Ok sure.
Here is a script that does run for me:
_______________________________
#include <SFML/Graphics.hpp>
int main() {
sf::CircleShape shape(200);
shape.setFillColor(sf::Color(150, 150, 150));
}
_______________________________
A script that doesn't run would be:
_______________________________
#include <SFML/Graphics.hpp>
sf::CircleShape shape(200);
shape.setFillColor(sf::Color(150, 150, 150)); // this line here creates the error, apparently "this declaration
//has no storage class or type specifier"
int main() {
shape.setPosition(sf::Vector2f(5, 5));
}
______________________________
As you can see, creating the object works fine, but trying to change its attributes causes an error. This also happens when I am trying to change the attributes of a window.
If this helps at all, I can detect key presses just fine using SFML.