Multiple _Unwind_Resume Definitions

For some time I have been using a small collection of files that I wrote, simplifying interaction with WinAPI. Although it gets painful to move files around when I want to reuse them, waiting for them to be recompiled, etc. I finally decided to just drop them into the DLL and do with it, but I get an odd link error every time I try to use the library.

The error is indeed as specific as the header, providing a little information about where the definition really happens (given that this information cannot really be compiled from the DLL as far as I know). Can someone explain what might cause this error and also give some possible fixes to the problem?

I am using MinGW (the same version provided by the SFML website 4.4) along with Code :: Blocks if this information helps anyone. If you need more information, I will do my best to provide it.

+3
source share
1 answer

The problem is that there are several definitions for a symbol (function or variable) with a name _Unwind_Resume.

The DLL exports that name. Rebuild it so that it only displays the characters you need. Apparently, it is now built with all exported public symbols.

0
source

All Articles