Hello, I started to use SFML today, and I have some problems with it, first, I downloaded the SDK tar on the website, extract it and compile it.
Then I tried to compile the samples (with the timer) and it works fine.
But when I tried to lauche others samples, (compilation works) i'm anable to see the window (i tried the window tutorial on your website and the pong in the sample).
I have an Nvidia GT540M with Optimus, and to manage that, I installed "optirun" (which works, I tried to start Celestia with it).
But when i lauche a projet I have this lines :
Failed to find a suitable pixel format for the window -- cannot create OpenGL context
Failed to find a suitable pixel format for the window -- cannot create OpenGL context
Failed to load sound buffer from file "datas/pong/ball.wav"
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 8 (X_MapWindow)
Resource id in failed request: 0x0
Serial number of failed request: 67
Current serial number in output stream: 69
and with optirun nothind appear in the terminal, but there is no window too.
I don't know what to do.
Exons.