When compiling (or using binaries) 64 bit (like mingw seh version) and you get a popup box with a

0xc000007b error

You need these extra files in the dir:

libgcc_s_seh-1.dll
libstdc++-6.dll...