How to build boost Version 1.58.0 using Visual Studio 2015 (Enterprise)(如何使用 Visual Studio 2015(企业)构建 boost 版本 1.58.0)
问题描述
我喜欢使用(新)Visual Studio 2015(企业版)构建 boost 1.58.0.过去我是按照以下方式进行的:
- 从
修改后文件在C:Program Files (x86)Microsoft Visual Studio 14.0VC
I like to build boost 1.58.0 using the (new) Visual Studio 2015 (Enterprise). In the past I proceeded in the following way:
- Download boost 1.58.0 from www.boost.org
- Extract files (e.g.
C: hirdpartyvs2013x64oost_1_58_0
) - Start Visual Studio 2013 x64 command prompt (
VS2013 x64 Native Tools Command Prompt
) - Change to boost directory (e.g.
cd C: hirdpartyvs2013x64oost_1_58_0
) - Execute
.ootstrap.bat
- Execute
.2 -j8 --toolset=msvc-14.0 address-model=64 --build-type=complete stage
- b2 -j8 --toolset=msvc-12.0 address-model=64 --build-type=complete stage --with-python
But in VS2015 there is not VS2015 command prompt.
Also the
vcvarsall.bat
is missing that I used sometimes to setup a VS2013 command prompt.How can I compile the source code of boost using VS2015?
解决方案I Tried to install Qt and I had the same issue: vcvarsall.bat was missing. In my case the problem was that I unchecked The Visual C++ Common Tools.
I modified my VS 2015 installation and added the missing feature Common Tools for Visual C++ 2015:
After the modification, the File is in C:Program Files (x86)Microsoft Visual Studio 14.0VC
这篇关于如何使用 Visual Studio 2015(企业)构建 boost 版本 1.58.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何使用 Visual Studio 2015(企业)构建 boost 版本 1.58.0


基础教程推荐
- 常量变量在标题中不起作用 2021-01-01
- 如何检查GTK+3.0中的小部件类型? 2022-11-30
- 我有静态或动态 boost 库吗? 2021-01-01
- 在 C++ 中计算滚动/移动平均值 2021-01-01
- C++结构和函数声明。为什么它不能编译? 2022-11-07
- 如何通过C程序打开命令提示符Cmd 2022-12-09
- 如何将 std::pair 的排序 std::list 转换为 std::map 2022-01-01
- 静态库、静态链接动态库和动态链接动态库的 .lib 文件里面是什么? 2021-01-01
- 如何在 C++ 中初始化静态常量成员? 2022-01-01
- 这个宏可以转换成函数吗? 2022-01-01