vs2012 build boost
2016-01-12 16:52
387 查看
refs:
http://www.boost.org/doc/libs/1_60_0/more/getting_started/windows.html#get-boost http://www.linuxidc.com/Linux/2014-06/103499.htm http://d.hatena.ne.jp/mintsu123/20130629/1372516484
1)下载boost 1.6
2)通过vs tool(开始菜单)的x86 本地终端,cd 到boost下,运行bootstrap,
3)运行结果会提示你运行. \b2,这次是真的的编译lib库了,耗时较长。
3)编译结果给出如下提示,配置自己的vs工程,添加头引用和lib引用。
4)
分开编译x86和64位库的方法
http://www.boost.org/doc/libs/1_60_0/more/getting_started/windows.html#get-boost http://www.linuxidc.com/Linux/2014-06/103499.htm http://d.hatena.ne.jp/mintsu123/20130629/1372516484
1)下载boost 1.6
2)通过vs tool(开始菜单)的x86 本地终端,cd 到boost下,运行bootstrap,
3)运行结果会提示你运行. \b2,这次是真的的编译lib库了,耗时较长。
3)编译结果给出如下提示,配置自己的vs工程,添加头引用和lib引用。
The Boost C++ Libraries were successfully built! The following directory should be added to compiler include paths: D:\Program Files\boost\boost_1_60_0 The following directory should be added to linker library paths: D:\Program Files\boost\boost_1_60_0\stage\lib
4)
分开编译x86和64位库的方法
> B2 --build-dir = build \ x86 --stagedir = stage / x86 address-model = 32 -j 4 > B2 --build-dir = build \ x64 --stagedir = stage / x64 address-model = 64 -j 4
相关文章推荐
- JUI编辑器的使用
- Arduino入门教程--连载
- UIView的动画
- UITableViewCell选中无色
- iOS开发中UISlider的简单使用
- United UI
- Fuel 管理节点
- iOS分享【OC】—— UITableView 的 cell 自适应
- (绝对有用)iOS获取UUID,并使用keychain存储
- 如何让Arduino用2颗5号电池运行1年以上--Arduino低功耗
- POJ 3061 Subsequence(二分查找 or 尺取法)
- Android酷炫实用的开源框架(UI框架)
- 【Arduino】开发入门教程
- afnetworking 和 asihttprequest 强制修改http连接的host地址
- 工程师应该怎样选择Arduino开发板
- 导航栏的UIBarButtonItem的位置调整,(需求来的太突然)
- poj--1679--The Unique MST(次小生成树)
- iOS --UISearchBar 修改"search"为搜索,"cancel"为中文取消
- poj--1679--The Unique MST(次小生成树)
- the serializable class XXX does not declare a static final seriaVersionUID...的问题