Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/perl/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Boost 使用gcc4.7.1构建增压1.57_Boost_Building_Gcc4.7 - Fatal编程技术网

Boost 使用gcc4.7.1构建增压1.57

Boost 使用gcc4.7.1构建增压1.57,boost,building,gcc4.7,Boost,Building,Gcc4.7,我正在尝试在Win7 64b上使用GCC4.7.1和代码块捆绑构建Boost1.57 我这样做: mkdir c:\boost\build cd c:\boost\tools\build\v2 bootstrap.bat gcc b2 install --prefix=C:\boost\build set PATH=%PATH%;C:\boost\build\bin cd c:\boost b2 --build-dir=C:\boost\build toolset=gcc --build-typ

我正在尝试在Win7 64b上使用GCC4.7.1和代码块捆绑构建Boost1.57

我这样做:

mkdir c:\boost\build
cd c:\boost\tools\build\v2
bootstrap.bat gcc
b2 install --prefix=C:\boost\build
set PATH=%PATH%;C:\boost\build\bin
cd c:\boost
b2 --build-dir=C:\boost\build toolset=gcc --build-type=complete
我明白了:

error: Name clash for '<pstage\lib>libboost_exception-mgw47-mt-1_57.a'

error: Tried to build the target twice, with property sets having
error: these incompabile properties:

error:     -  none
error:     -  <linkflags>-shared-libgcc <linkflags>-shared-libstdc++

error: Please make sure to have consistent requirements for these
error: properties everywhere in your project, especially for install
error: targets.
错误:“libboost_exception-mgw47-mt-1_57.a”的名称冲突
错误:尝试构建目标两次,属性集具有
错误:这些不兼容属性:
错误:-无
错误:--共享libgcc-共享libstdc++
错误:请确保这些要求一致
错误:项目中的所有属性,尤其是安装
错误:目标。

我错过了什么吗?

为什么不在Boost用户列表中而不是在这里询问呢?我错过了。但我不确定它是来自Boost还是MinGW,正如我在网上看到的那样,Boost并不正式支持Windows上的MinGW。这是Boost构建系统的一个错误,Boost肯定支持mingwOk,我只能等待Boost列表。