我正在尝试在 Windows 7(版本 6.1.7601)上安装 boost v.1.54。安装有 mingw、gcc 和 g++ 编译器的 cygwin。
我需要使用“阶段”参数来构建提升;但是它会产生以下错误:
C:\boost\tools\build\v2>b2 --prefix="C:\boost_build" toolset=gcc --build type=complete gcc stage
notice: could not find main target stage
notice: assuming it is a name of file to create.
don't know how to make <e>stage
...found 1 target...
...can't find 1 target...
C:\boost\tools\build\v2>
到目前为止,我没有收到来自 boost-build 社区的回复。如果您能指出正确的方向,我将不胜感激。
补充评论:
- 我正在使用 Windows 命令提示符,并且 gcc/g++ 编译器在路径中并且之前已经过测试。
- 我在构建命令之前运行了引导程序。
- 正如指南所述,我正在从“boost\tools\build\v2”运行命令。
- 没有 'stage' 选项参数的构建过程是成功的。