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

Author Topic: Most simple pollevent loop breaks program.  (Read 5273 times)

0 Members and 1 Guest are viewing this topic.

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Most simple pollevent loop breaks program.
« Reply #15 on: June 16, 2014, 04:46:16 pm »
If parts of the code (like SFML) is built with one version of Visual Studio and the rest (your own stuff) is built with a different version then linking those together is not a supported configuration and even if it seems to work that is just blind luck and anything could happen.
This is not specific to SFML and doesn't really have anything to do with compiler or linker options either. It is simply unsupported and will never work reliably.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: Most simple pollevent loop breaks program.
« Reply #16 on: June 16, 2014, 04:46:40 pm »
You're talking about Code::Blocks and Visual Studio, version 11.0 and 12.0, switching compilers... Don't mix things. Decide to use one version of one compiler. Then recompile SFML with exactly the same settings as your executable project, for the same compiler and version.

By the way, that's precisely what I mentioned in the first post:
Quote from: Nexus
Make absolutely sure that you follow the official SFML tutorial and don't mix any compiler versions or other configurations such as release/debug.
And eXpl0it3r mentioned it even earlier.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

 

anything