Hi all,
I've recently switched over to SFML from SDL, ive so far found it great. The documentation and OOP style has caught my attention and my performance tests have shown it's much faster than SDL.
However i've run into a big problem. Basically I've used the code from the first tutorial, it runs fine in release, but when debugging, vista gives me the following error:
"gdb.exe has stopped responding" ... and then it tells me its looking for a solution.
Strange however, is this error doesn't appear if I comment out the main body (excluding return 0;).
code:
#include <SFML/System.hpp>
#include <iostream>
int main()
{
sf::Clock Clock;
while (Clock.GetElapsedTime() < 5.f)
{
std::cout << Clock.GetElapsedTime() << std::endl;
sf::Sleep(0.5f);
}
return 0;
}
I have followed the tutorial closely and have installed the recommended MinGW and auto detected it in the toolchain executables setting in codeblocks.
Can anyone help me? It would mean alot!
Thanks
Aaron
System details:
Windows Vista Home Premium 32-bit
CodeBlocks 10.05
SFML 1.6
[/code]