Are you using SFML master, i.e. SFML 3 which is still in development?
If so, keep in mind, that we changed the API quite a bit in some places.
For you, I personally recommend to stick to SFML 2.6, which has up-to-date documentation and yields a lot more search results.