boost_1_60_0 .ZIP安装在Windows [英] boost_1_60_0 .zip installation in windows
问题描述
我在下面的步骤来进行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 \boost_1_60_0\tools\build
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:\DestinationFolder\bin
任何人都可以请帮我,像我无法进一步处理下一步该怎么做。
Can anyone please help me in what to do next as I am unable to process further
推荐答案
因为你现在是第三个我如何在Windows上构建提升?因为 1.60.0
,我已经看到的问题是在这里发布是我自己的个人Windows促进建立注意事项:
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_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 |三通?? _ 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
注:螺纹必须用动态链接见建:<一href=\"https://studiofreya.com/2015/05/20/the-simplest-way-of-building-boost-1-58-for-32-bit-and-64-bit-architectures-with-visual-studio/\" rel=\"nofollow\">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
建筑为的MinGW
确保海湾合作委员会/ MinGW的是路径,例如:C:\\ Qt的\\工具\\ mingw491_32 \\ BIN
Building for MinGw
Ensure that gcc/mingw is in the path, e.g.: C:\Qt\Tools\mingw491_32\bin
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
请注意:因为升压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
这篇关于boost_1_60_0 .ZIP安装在Windows的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!