我怎么做“批量递归超过堆栈限制”当运行Boost.Build? [英] What do I do about "batch recursion exceeds stack limits" when running Boost.Build?

查看:697
本文介绍了我怎么做“批量递归超过堆栈限制”当运行Boost.Build?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用64位Win 7。



我下载了最新的Boost源码,为了收集二进制文件,我必须通过
Boost。构建过程。我也从官方网站,当我
./ bootstrap 时出现最新的Boost.Build我收到一个错误:

  ****** BATCHRECURSION超过STACK限制****** 
递归计数= 592,堆栈使用率= 90%
** **** BATCH PROCESSING已废弃******

我有i5,8 GB内存。



是否有其他方法来获取GCC(G ++)的boost的二进制文件。

解决方案

此错误发生在以下情况:




  • 您正在使用 *。tar.bz2


$ b
< (引导程序)中使用 使用 *。zip 源包 sh msvc 或其他)解决这个问题(对我来说,至少)。


I am using 64-bit Win 7.

I downloaded the latest Boost source and in order to gather binaries I have to pass trough Boost.Build process. I took also the latest Boost.Build from official website and when I ran ./bootstrap I got an error:

******  B A T C H   R E C U R S I O N  exceeds STACK limits ******
Recursion Count=592, Stack Usage=90 percent
******       B A T C H   PROCESSING IS   A B O R T E D      ******

I have i5, 8 GB of memory.

Is there some other way to gain binaries for boost for GCC (G++). I know that there is Boostpro, but that can only give me VS binaries.

解决方案

This error occurs when:

  • you are using the sources from the *.tar.bz2 package for a Windows build, and
  • you are not specifying a toolset.

Either using the *.zip source package or specifying the toolset (bootstrap.sh msvc or whatever) resolves this problem (for me, at least).

这篇关于我怎么做“批量递归超过堆栈限制”当运行Boost.Build?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆