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

Author Topic: SFML 1.6 Graphics and Window not working  (Read 1742 times)

0 Members and 1 Guest are viewing this topic.

McKnas

  • Newbie
  • *
  • Posts: 8
    • View Profile
SFML 1.6 Graphics and Window not working
« on: August 12, 2011, 11:50:39 am »
I have had sfml working before the summer but then i took a break and haven't been using it. Now i suddenly doesn't work?!? System things seems to work but as soon as i try to initialize a window it locks up at start and i only see an empty console window:/

Code: [Select]
#include <SFML/System.hpp>
#include <SFML/Window.hpp>
#include <iostream>

int main()
{
    std::cout << "Hello";

    sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");
    sf::Sleep(1000);
    App.Close();
    return 0;
}

In this code "Hello" isn't even printed, but without the sf::Window it is...

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML 1.6 Graphics and Window not working
« Reply #1 on: August 12, 2011, 12:02:06 pm »
ATI graphics card?
Laurent Gomila - SFML developer

McKnas

  • Newbie
  • *
  • Posts: 8
    • View Profile
SFML 1.6 Graphics and Window not working
« Reply #2 on: August 12, 2011, 12:15:37 pm »
Yeah, common problem?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML 1.6 Graphics and Window not working
« Reply #3 on: August 12, 2011, 12:36:58 pm »
Quote
Yeah, common problem?

Indeed... search "ATI" on the forum and you'll see the huge amount of posts related to this problem ;)
Laurent Gomila - SFML developer

McKnas

  • Newbie
  • *
  • Posts: 8
    • View Profile
SFML 1.6 Graphics and Window not working
« Reply #4 on: August 12, 2011, 12:40:37 pm »
Ok, thanks for the fast reply!
Hope i'll get it working :)

 

anything