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

Author Topic: SFML 2 - VS 2010 Programs Hangs On Exit  (Read 1344 times)

0 Members and 1 Guest are viewing this topic.

Sapphire

  • Newbie
  • *
  • Posts: 1
    • View Profile
SFML 2 - VS 2010 Programs Hangs On Exit
« on: January 26, 2012, 11:22:51 pm »
Hi.

I'm working off of the "window" demo code from the SFML 2 source release.  The program compiles, links, and runs fine.  However, after the main function exits the process doesn't fully shutdown.  It just hangs.

This happens universally on both debug and release builds as well as being launched from the explorer or VS.

I've compiled SFML 2 from source using VS 2010 and I'm linking dynamically.  I'm running Windows 7 x86 and everything has been and is currently being compiled for x86.

This problem only seems to be happening when I go out and create a window.  If I use other features, like the clock, the program exits properly.

I think that's all the information.  If I missed something, just ask.

Thanks.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML 2 - VS 2010 Programs Hangs On Exit
« Reply #1 on: January 27, 2012, 08:03:29 am »
Does it stil crash if you link statically?
Laurent Gomila - SFML developer

jakov

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Email
Re: SFML 2 - VS 2010 Programs Hangs On Exit
« Reply #2 on: February 11, 2013, 12:56:31 am »
Same thing happens for me, but in LInux.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML 2 - VS 2010 Programs Hangs On Exit
« Reply #3 on: February 11, 2013, 07:55:01 am »
This is most likely a totally different problem, so you'd better create your own thread and describe your problem precisely.
Laurent Gomila - SFML developer

 

anything