Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ges

Pages: [1]
1
Window / Create Window
« on: November 28, 2010, 08:23:45 pm »
If I compile the program as "Console subsystem", I have only console window.
If I compile the program as "Windows", I have nothing.

2
Window / Create Window
« on: November 27, 2010, 10:19:12 pm »
Yes.
Quote
I tried SFML 1.6 and 2.0.

3
Window / Create Window
« on: November 27, 2010, 02:22:47 pm »
This code don't create window! This situation ( window not created ) repeats in all standart examples.

4
Window / Create Window
« on: November 27, 2010, 06:10:45 am »
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:
Code: [Select]
#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
Code: [Select]
#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;
}

Pages: [1]