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

Author Topic: "Opening a window" tutorial opens a window and cra  (Read 1966 times)

0 Members and 1 Guest are viewing this topic.

Crashy

  • Newbie
  • *
  • Posts: 3
    • View Profile
"Opening a window" tutorial opens a window and cra
« on: November 15, 2010, 12:46:03 pm »
Hi!

This is my first time working with SFML 1.6 and I would like to thank the author for making this neat library.
Unfortunately my first baby steps created a problem

I compiled SFML 1.6 for Visual Studio 2010 and started reading the tutorials right away.
I copied the window-window.cpp from the "Opening a window" tutorial and it compiled fine.
Right after starting the application in the debug configuration, the window is correctly being displayed but it cannot be moved at all and immediately crashes and switches to (Not Responding).
My graphics card (ATI 5850) also starts to generate that high-pitched noise it usually makes when it's heavily stressed in 2D applications.

Does anybody know the reason for this?

Thanks!

Crashy

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
"Opening a window" tutorial opens a window and cra
« Reply #1 on: November 15, 2010, 12:49:37 pm »
This is the expected behaviour, the tutorial is not called "interacting with a window" ;)

Just go to the next tutorial to have something working.
Laurent Gomila - SFML developer

Crashy

  • Newbie
  • *
  • Posts: 3
    • View Profile
"Opening a window" tutorial opens a window and cra
« Reply #2 on: November 15, 2010, 06:34:45 pm »
Now I am glad that I didn't screw up. Merci! :D

 

anything