SFML community forums

Help => Network => Topic started by: Sicarius43696 on April 10, 2010, 10:03:56 pm

Title: Upgraded to SFML 1.6, now linker issues.
Post by: Sicarius43696 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?
Title: Upgraded to SFML 1.6, now linker issues.
Post by: nulloid 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)
Title: Upgraded to SFML 1.6, now linker issues.
Post by: Laurent 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).