I noticed several projects fail to build into a shared library on Windows with MinGW-w64 because they define functions with __declspec(dllexport) in the header
__declspec(dllexport)