Hello. I dont create window. My program compile, run, but nothing occur. Process manager have my prog. I tried SFML 1.6 and 2.0.
My code:
#include <SFML/Window.hpp>
int main()
{
sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");
bool Running = true;
while (Running)
App.Display();
return EXIT_SUCCESS;
}
Win 7 x86. VS 2010
PS This code 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;
}