Hi,
I am a bit of a newbie to coding and have been trying to 'install' sfml in conjunction with Code::Blocks.
I followed the guide word for word and when I try to compile the example code (below) it doesn't work:
#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;
}
Error is: "SFML - Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
Nothing to be done.
Any help would be greatly appreciated
Andy