VS 2019 Preview的安装增强

时间:2019-06-19 05:28:33

标签: c++ windows boost

我已经在Windows 10中安装了VS 2019 Preview。它可以正常工作,并且可以编写CPP代码并执行它。我将安装增强功能并使用它们的库。我可以编译并构建它。我现在有了b2.exe,但是当我尝试使用link = shared参数运行b2.exe时,会向我显示以下消息:

 next alternative: required properties: <abi>x32 <address-model>64 <architecture>x86 <binary-format>elf <threading>multi <toolset>intel
        not matched
    next alternative: required properties: <abi>sysv <address-model>32_64 <architecture>x86 <binary-format>mach-o <threading>multi
        not matched
    next alternative: required properties: <abi>sysv <architecture>combined <binary-format>mach-o <threading>multi
        not matched
    - zlib                     : no  (cached)
    - bzip2                    : no  (cached)
    - lzma                     : no  (cached)
error: Name clash for '<pstage\lib>boost_atomic-vc-mt-1_68.dll'
error:
error: Tried to build the target twice, with property sets having
error: these incompatible properties:
error:
error:     -  <address-model>32
error:     -  <address-model>64
error:
error: Please make sure to have consistent requirements for these
error: properties everywhere in your project, especially for install
error: targets.

0 个答案:

没有答案