如何打造提升版本1.58.0使用Visual Studio 2015年(企业) [英] How to build boost Version 1.58.0 using Visual Studio 2015 (Enterprise)
问题描述
我喜欢使用的(新)的Visual Studio 2015(企业)来构建升压1.58.0。在过去,我以下列方式进行:
I like to build boost 1.58.0 using the (new) Visual Studio 2015 (Enterprise). In the past I proceeded in the following way:
- 下载升压1.58.0从 http://www.boost.org/
- 解压文件(如C:\\第三方\\ vs2013 \\ 64 \\ boost_1_58_0)
- 启动Visual Studio 2013的x64命令提示符(VS2013或x64原生工具命令提示符)
- 更改提振目录(例如CD C:\\第三方\\ vs2013 \\ 64 \\ boost_1_58_0)
- 执行。\\ bootstrap.bat
- 执行B2 -j8 --toolset = MSVC-14.0地址模型= 64 --build型=完整的阶段
- B2 -j8 --toolset = MSVC 12.0地址模型= 64 --build型=完整的阶段--with-蟒蛇
但在VS2015没有VS2015命令提示符。
But in VS2015 there is not VS2015 command prompt.
另外, vcvarsall.bat
丢失,我有时用来设置一个VS2013命令提示符。
Also the vcvarsall.bat
is missing that I used sometimes to setup a VS2013 command prompt.
如何使用VS2015编译提升的源泉code?
How can I compile the source code of boost using VS2015?
推荐答案
我试图安装Qt和我有同样的问题:vcvarsall.bat失踪。
在我的情况的问题是,我未选中Visual C ++的常用工具。
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.
我修改了VS 2015的安装,并添加缺少的功能的通用工具Visual C ++ 2015
I modified my VS 2015 installation and added the missing feature Common Tools for Visual C++ 2015:
修改后,该文件位于C:\\ Program Files文件(x86)的\\微软的Visual Studio 14.0 \\ VC
After the modification, the File is in C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC
这篇关于如何打造提升版本1.58.0使用Visual Studio 2015年(企业)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!