MSYS2 gcc fatal error in cc1.exe: cygheap base mismatch detected

前端 未结 1 1197
醉酒成梦
醉酒成梦 2021-01-15 22:42

This particular error has come up in multiple other contexts on Stack Overflow, typically regarding Cygwin or git (and involving other executables). I have not seen this in

相关标签:
1条回答
  • 2021-01-15 23:37

    The problem was that the msys-2.0.dll that is required in the same directory as the makefile for the program was not matching the same file in:

    msys64/usr/bin
    

    I essentially had an older version of this file, and since they did not match up the above error was produced. If you are met with this problem, you need to copy and paste the newer version from above into the directory where you are compiling your software (for me it was the directory with the makefile). Once that was done the software compiled without error.

    0 讨论(0)
提交回复
热议问题