Couldn't reserve space for cygwin's heap,错误解决

如果编译出现“Couldn't reserve space for cygwin's heap, Win32 error 487” ,是因为msys-1.0.dll 出错,该文件会导致目录tools\MSYS\bin下的sh.exe,make.exe等不能运行.提示Couldn't reserve space for cygwin's heap, Win32 error 487 错误,

解决办法:
进入工程目录,使用命令工具
rebase -b 0x76000000 tools\MSYS\bin\msys-1.0.dll

可以解决该问题.原来是msys-1.0起始地址充突引起

全部完整的错误信息如下:

m.AllocationBase 0x0, m.BaseAddress 0x715B0000, m.RegionSize 0x460000, m.State 0x10000
F:\A9_FS_1207\2526_GEMINI_0828\Tools\MSYS\bin\sh.exe: *** Couldn't reserve space for cygwin's heap (0x715B0000 <0xC70000>) in child, Win32 error 487
0 [main] sh 7632 sync_with_child: child 7648(0x71C) died before initialization with status code 0x1
25422 [main] sh 7632 sync_with_child: *** child state waiting for longjmp
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值