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

Author Topic: Not sure what's happening here  (Read 1383 times)

0 Members and 1 Guest are viewing this topic.

Noobdev

  • Newbie
  • *
  • Posts: 1
    • View Profile
Not sure what's happening here
« on: February 16, 2011, 06:44:08 pm »
Ok, I did the first tutorial with the Clock stuff, worked fine. When I moved onto the window tutorial, I'm only getting an empty console window...

I've linked the project with dlls and declared that with Code::Blocks 10.05, reconfigured the IDE to use the minGW from the tutorial page. I'm running Windows 7, with an ATI Radeon gc, is this the possible problem?

here is the code from the file, although it's pretty much duplicated from the tutorial:

Code: [Select]

#include <SFML/Window.hpp>


int main() {

    sf::Window App(sf::VideoMode(1024, 768, 32), "SFML Window");

    bool running = true;
    while(running) {
        App.Display();
    }

    return EXIT_SUCCESS;

}


Any thoughts would be great, thanks.

devlin

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Not sure what's happening here
« Reply #1 on: February 16, 2011, 06:45:54 pm »
There's been several reports of newer ATI drivers causing these issues.

DoctorJ

  • Newbie
  • *
  • Posts: 21
    • View Profile
Not sure what's happening here
« Reply #2 on: February 17, 2011, 10:07:49 pm »
First suggestion: try a smaller window. If the dimensions in the window constructor are too large, no window will be displayed.

 

anything