Juce got broken for mingw 64bit, is this commit:
https://github.com/julianstorer/JUCE/commit/6db05a610052a30eb572c7647755244c701a7efb#diff-8165f35849a24fff98e14437cbeb5863R210
Instead of this:
#elif (JUCE_GCC || JUCE_CLANG) && ! JUCE_WINDOWS
Please use this:
#elif (JUCE_GCC || JUCE_CLANG) && ! JUCE_MSVC