Off the top of my head, I would guess that you're using the wrong version of MinGW.
The errors indicate ABI compatibility problems - usually associated with different versions of MinGW.
The errors indicate ABI compatibility problems - usually associated with different versions of MinGW.