I've just spent the last 12 hours getting all the dependencies for compiling the SFML 2.0 source, the libraries are build (hopefully ok).
After including the libraries and getting many undefined function error messages, so I included these libraries into the project:
/usr/lib64/libfreetype.so
/usr/lib64/libGLEW.so
/usr/lib64/libGL.so
/usr/lib64/libGLU.so
/usr/lib64/jpeg.so
Terminal gives a process returned -1, just from this line:
sf::RenderWindow window(sf::VideoMode(800, 600, 32), "Test");
No indication of what went wrong, I'm very uncertain of which includes are required, various flags and what not for the compiler. Or I wonder if the libraries are iffy.
I also noticed with this line uncommented:
while (window.GetEvent(event))
It gives: 283|error: ‘class sf::RenderWindow’ has no member named ‘GetEvent’|
So maybe the window class is iffy?