#include <SFML/System.hpp>
#include <iostream>
using namespace sf;
using namespace std;
int main()
{
float f=0.5;
Clock Clock;
while (Clock.GetElapsedTime() < 5.f)
{
std::cout << Clock.GetElapsedTime() << std::endl;
Sleep(f);
}
return 0;
}
this is the code I am using and i am getting a runtime error
"The application was unable to start correctly (0x0150002),Click Ok to close the application."
I have copied all the dll's properly. As well as included sfml-windows-d.lib, sfml-system-d.lib.
system is "/SUBSYSTEM:CONSOLE"
installed all the redistribute packages required.
Now can some please help me with the problem.
I am using Visual studio 2010 ultimate
and windows 7 64 bit architecture.
And also i am using version 1.6 of sfml