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.
source
share