JUCE does not compile on win10

Hi,
I am trying to compile JUCE with CygWin or MinGW on a win10 dell XPS 13 9365 machine and having a hard time.
I get the following errors:

.
Did anyone have stuff like this and was able to fix it?
Kind regs,
Aleks