In my case, I also got the same error in the library, but the reason was different. I installed cygwin and libraries, but on the same laptop I already have Perl for Windows installed. Through PATH, the gcc compiler was found in
c:\perl\... instead of in c:\cygwin\...
It is hushed up. The quick and dirty solution was to rename c:\perlwhile keeping the PATH the same.
source
share