g++ -c main.cpp && g++ main.o -o sfml-app -lsfml-graphics -lsfml-window -lsfml-system && ./sfml-app
and I recived for apparently no reason a long compiling error message which started with
In file included from /usr/include/SFML/System.hpp:32,
from /usr/include/SFML/Window.hpp:32,
from gameWindow.cpp:1,
from main.cpp:3:
/usr/include/SFML/Config.hpp:206:1: error: expected ‘,’ or ‘;’ before ‘namespace’
namespace sf
^~~~~~~~~