Mac上编译boost
来源:互联网 发布:数据结构图应用 编辑:程序博客网 时间:2024/06/05 02:27
- 首先编译Boost.Build
chmod +x bootstrap.sh
chmod +x ./tools/build/v2/engine/build.sh
执行 bootstrap.sh
./bootstrap.sh
生成b2可执行程序
- 编译Boost库//用Clang编译boost file sytem
./b2 toolset=clang cxxflags="-arch x86_64" linkflags="-arch x86_64" --with-filesystemThe Boost C++ Libraries were successfully built!
The following directory should be added to compiler include paths:
/Users/liwei/DEV/Project/boost_1_50_0
The following directory should be added to linker library paths:
/Users/liwei/DEV/Project/boost_1_50_0/stage/lib
最后生成的文件保存在./stage/lib目录
默认编译出来的是Release版本,编译debug版本:./b2 toolset=clang cxxflags="-arch x86_64" linkflags="-arch x86_64" --with-filesystem variant=debug --stagedir=./stage/x64/debug
速度像飞一样!
在xcode中设置boost库
0 0
- Mac上编译boost
- Mac 上编译Boost
- Mac上编译boost
- mac上编译boost
- Mac上编译并使用 boost
- Mac上编译安装运行c++ boost库简单步骤
- linux/mac平台上编译安装boost库
- mac 10.9 下编译boost
- mac 10.9 下编译boost
- boost 1.51.0 在MAC系统上编译Android序列化静态库
- Linux上编译安装boost
- Mac OS上安装Boost C++ Libraries
- 在ubuntu上编译boost,boost的安装目录设置
- 编译boost在ios上使用
- 在新版xcode上编译boost
- 编译boost在ios上使用
- 在Mac上编译CURL
- 在mac上编译openssl
- 2014Esri全球用户大会之Mobile & Apps
- Eclipse 使用maven创建Dynamic Web Project
- ACM ZOJ Problem Set - 1002 fire net
- 爱心
- 正则表达式--规则
- Mac上编译boost
- MyBatis配置文件和接口编程
- iOS上获取iTunes音乐权限
- AFNetworking了解
- 运算放大器知识点总结
- 如何关闭Mac上的Dashboard?
- Chromium项目文化
- MySQL 5.6 for Windows 解压缩版配置安装
- 在64位linux下编译32位程序