简体   繁体   English

如何使用VS2013(64位)编译Boost

[英]How can I compile Boost with VS2013 (64-bit)

I'm using the following command to compile Boost 1.55 beta 1: 我正在使用以下命令编译Boost 1.55 beta 1:

b2 --toolset=msvc-12.0 architecture=x86 address-model=64 stage b2 --toolset = msvc-12.0 architecture = x86 address-model = 64 stage

The result is a bunch of these errors: 结果是一堆这些错误:

error C3861: 'assert_not_arg': identifier not found 错误C3861:'assert_not_arg':找不到标识符

There is a list of supposed patches to make boost work with VS2013 here , but I have no idea how to use them. 有一个假设的补丁列表,可以在这里使用VS2013,但我不知道如何使用它们。 Apparently a similar problem is documented here , but I was wondering if anyone had had success building Boost 64-bit for VS2013 (I don't mind using an older version of boost, but they don't seem to support the MSVC 12.0 compiler). 显然这里记录了类似的问题 ,但我想知道是否有人为VS2013构建Boost 64位成功(我不介意使用较旧版本的boost,但它们似乎不支持MSVC 12.0编译器) 。

使用最新的SVN存储库构建,它似乎使用上述命令。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM