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

Author Topic: Upgraded to SFML 1.6, now linker issues.  (Read 1727 times)

0 Members and 1 Guest are viewing this topic.

Sicarius43696

  • Newbie
  • *
  • Posts: 16
    • View Profile
Upgraded to SFML 1.6, now linker issues.
« on: April 10, 2010, 10:03:56 pm »
I just recently upgraded to SFML 1.6, now I'm getting linker errors that say

"undefined reference to '_Unwind_Resume'

I couldn't figure out how to fix it, any ideas?

nulloid

  • Full Member
  • ***
  • Posts: 134
    • View Profile
Upgraded to SFML 1.6, now linker issues.
« Reply #1 on: April 11, 2010, 03:16:52 am »
I ran into this problem a couple of days ago :D It's because the differend unwinding systems. There is sjlj (which is default, if you're using Mingw-TDM on Microsoft Windows, which I assume), and dw2. These are related to debuggers (AFAIK), and the difference is in exception handling speed and so on (according to mingw-tdm's site).

I don't know exactly, what I did, don't even know how or why there were a dw2 version of a library, so I messed a lot, bored with it, deleted everything (except my own code, of course:)), redownloaded sfml, recompiled it, and worked like it should :) I suggest you the same, just without the messing part (which you have already done, I assume :D)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Upgraded to SFML 1.6, now linker issues.
« Reply #2 on: April 11, 2010, 09:56:23 am »
It's probably a conflict between different versions of gcc. SFML is now compiled using gcc 4.4, you can get it from the MinGW tutorial (there is a direct link to download it at the beginning).
Laurent Gomila - SFML developer

 

anything