Boost不会在Windows上使用Visual Studio 2017构建x64库

时间:2018-03-30 13:51:34

标签: c++ boost

我最近一直在尝试在我的Windows桌面上构建boost库,而x86构建得很好,当我尝试构建x64后,垃圾箱正好是x86并尝试编译x64代码结果编译器说该库机器代码(x86)不适合项目机器(x64)。

我使用此命令构建x64: b2.exe -j4 toolset = msvc-14.1 address-model = 64 architecture = x86 link = static threading = multi runtime-link = shared --build-type = minimal stage --stagedir = stage / x64

project-config.jam

我还使用使用msvc:14.1:“C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Community \ VC \ Tools \ MSVC \ 14.13.26128 \ BIN \ Hostx64 \ 64 \ cl.exe时“;

0 个答案:

没有答案