mingw32_gt_pch_use_address 中的内部错误,位于 config/i386/host-mingw32.c:190:MapViewOfFileEx:尝试访问无效地址 [英] internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:190: MapViewOfFileEx: Attempt to access invalid address
问题描述
mingw32_gt_pch_use_address 中的内部错误,位于 config/i386/host-mingw32.c:190:MapViewOfFileEx:尝试访问无效地址.
internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:190: MapViewOfFileEx: Attempt to access invalid address.
在 sublime-text 3 中编译 C++ 程序时出现此错误.
I get this error while compiling a c++ program in sublime-text 3.
如何解决这个错误?
推荐答案
我在安装 CodeBlocks 后遇到这个问题,可能是因为 codeblocks MINGW
设置.我最初的 MinGW
来自 DEV-C++.
I got this problem after installing CodeBlocks, maybe it is because of codeblocks MINGW
settings. My initial MinGW
is from DEV-C++.
所以我做的是这个.
1.从PATH
中删除"C:\...\GnuWin"
.
2.确保您拥有编译器的旧路径.就我而言,它是 "C:\...\DevCPP\Mingw\bin"
2.Ensure that you have your old path to your compiler. In my case it was "C:\...\DevCPP\Mingw\bin"
这篇关于mingw32_gt_pch_use_address 中的内部错误,位于 config/i386/host-mingw32.c:190:MapViewOfFileEx:尝试访问无效地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!