I was installing Mysys2 then a textbox popped up. I did some research and realize I didn't have cygwin on my computer. So I installed cygwin. But that did not fix anything.
Textbox popped up while installing Mysys2
I also try to run that code in bash then an error appeared:
0 [main] bash (19644) C:\cygwin64\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1156408/0x1106408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
0 [main] bash 696 dofork: child -1 - forked process 19644 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: Resource temporarily unavailable
0 [main] bash (9136) C:\cygwin64\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1156408/0x11D6408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
1122281 [main] bash 696 dofork: child -1 - forked process 9136 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: Resource temporarily unavailable
0 [main] bash (13760) C:\cygwin64\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1156408/0x11D6408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
3238823 [main] bash 696 dofork: child -1 - forked process 13760 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: Resource temporarily unavailable
0 [main] bash (19628) C:\cygwin64\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1156408/0x10F6408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
7359054 [main] bash 696 dofork: child -1 - forked process 19628 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: Resource temporarily unavailable
0 [main] bash (19868) C:\cygwin64\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1156408/0x11B6408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
15473267 [main] bash 696 dofork: child -1 - forked process 19868 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: Resource temporarily unavailable
But I did install cygwin and there is cygwin1.dll in C:\cygwin64\bin
How do I solve this problem?