我已经为 Windows 7 执行了以下步骤
I have performed below steps for windows 7
Boost link http://www.boost.org/doc/libs/1_49_0/libs/python/doc/
1. Downloaded boost_1_60_0 .zip
2. cd oost_1_60_0 oolsuild
3. Ran below command in command prompt
bootstrap.bat gcc
bjam --toolset=gcc "--prefix=C:DestinationFolder" install
Now i have b2.exe & bjam.exe in C:DestinationFolderin
任何人都可以帮助我下一步做什么,因为我无法进一步处理
Can anyone please help me in what to do next as I am unable to process further
因为你的现在是第三个我如何在 Windows 上构建提升?"自从 1.60.0 发布以来,我在这里看到的问题是我个人的 Windows boost 构建说明:
Since yours is now the third "How do I build boost on Windows?" question that I've seen since 1.60.0 was released here are my own personal Windows boost build notes:
Windows 不直接支持 boost,所以你可以下载它并把它放在任何你想要的地方.
boost 用户指南建议使用 boost 的位置创建一个 BOOST_ROOT 环境变量.
Windows does not directly support boost, so you can download it and put it wherever you want.
The boost user guide recommends creating a BOOST_ROOT environment variable with the location of boost.
注意:在下面的例子中2>&1 |tee ??_build.txt 是可选的,但保留构建日志很有用...
Note: in the following examples 2>&1 | tee ??_build.txt is optional, but it's useful to keep a build log...
在 Visual Studio 工具命令提示符中:
In a Visual Studio tools Command Prompt:
cd boost_1_xx_0
call bootstrap.bat
对于静态库:
b2 -j8 toolset=msvc-14.0 address-model=64 architecture=x86 link=static threading=multi runtime-link=shared --build-type=complete stage
2>&1 | tee msvc_static_build.txt
注意:线程必须使用动态链接构建,参见:https://studiofreya.com/2015/05/20/the-simplest-way-of-building-boost-1-58-for-32-bit-and-64-bit-architectures-with-visual-studio/
Note: thread must be built with dynamic linking see: https://studiofreya.com/2015/05/20/the-simplest-way-of-building-boost-1-58-for-32-bit-and-64-bit-architectures-with-visual-studio/
对于动态线程库:
b2 -j8 toolset=msvc-14.0 address-model=64 architecture=x86 link=shared threading=multi runtime-link=shared --with-thread --build-type=minimal stage
2>&1 | tee msvc_thread_build.txt
对于所有动态库:
b2 -j8 toolset=msvc-14.0 address-model=64 architecture=x86 link=shared threading=multi runtime-link=shared --build-type=complete stage
2>&1 | tee msvc_dynamic_build.txt
确保 gcc/mingw 在路径中,例如:C:QtToolsmingw491_32in
Ensure that gcc/mingw is in the path, e.g.: C:QtToolsmingw491_32in
cd boost_1_xx_0
bootstrap.bat mingw
b2 toolset=gcc link=shared threading=multi --build-type=complete stage
2>&1 | tee mingw_build.txt
注意:从 boost 1.61.0 开始,您可能需要将:bootstrap.bat mingw 更改为 bootstrap.bat gcc
Note: since boost 1.61.0 you may need to change: bootstrap.bat mingw to bootstrap.bat gcc
这篇关于Windows 中的 boost_1_60_0 .zip 安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
如何使用 Windows 程序在 C++ 中获得控制台输出?How do I get console output in C++ with a Windows program?(如何使用 Windows 程序在 C++ 中获得控制台输出?)
如何计算给定日期的周数?How do I calculate the week number given a date?(如何计算给定日期的周数?)
带有网络摄像机的 OpenCVOpenCV with Network Cameras(带有网络摄像机的 OpenCV)
创建 DLL 时导出所有符号Export all symbols when creating a DLL(创建 DLL 时导出所有符号)
Windows 7 上的 OpenCV 2.4 和 MinGW 入门Getting started with OpenCV 2.4 and MinGW on Windows 7(Windows 7 上的 OpenCV 2.4 和 MinGW 入门)
程序无法启动,因为缺少 libgcc_s_dw2-1.dllThe program can#39;t start because libgcc_s_dw2-1.dll is missing(程序无法启动,因为缺少 libgcc_s_dw2-1.dll)