我正在尝试在Win7 64b上使用与CodeBlocks绑定的GCC 4.7.1构建Boost 1.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.
我错过了什么吗?