使用MinGW编译Boost
2017-04-13 05:40
281 查看
1、下载Boost(http://www.boost.org)
我目前用的是1.61.0版本
2、将MinGW下的bin目录完整路径设置到系统环境变量Path中,保证cmd命令行能找到gcc,g++等命令。
3、cmd进入到boost目录下面,执行"bootstrap.bat gcc",目录下会生成一个b2.exe
4、执行b2.exe开始编译。可以根据自身需要执行不同的编译命令,比如:
bjam.exe stage –toolset=gcc –with-exception –with-locale –with-program_options –stagedir=E:\Boost\1.61\mingw610 link=static runtime-link=static
其他更多编译参数自行上网查询。
http://blog.csdn.net/aqtata/article/details/51780432
我目前用的是1.61.0版本
2、将MinGW下的bin目录完整路径设置到系统环境变量Path中,保证cmd命令行能找到gcc,g++等命令。
3、cmd进入到boost目录下面,执行"bootstrap.bat gcc",目录下会生成一个b2.exe
4、执行b2.exe开始编译。可以根据自身需要执行不同的编译命令,比如:
bjam.exe stage –toolset=gcc –with-exception –with-locale –with-program_options –stagedir=E:\Boost\1.61\mingw610 link=static runtime-link=static
其他更多编译参数自行上网查询。
http://blog.csdn.net/aqtata/article/details/51780432
相关文章推荐
- windows下使用mingw编译boost的过程
- Win10-64位系统安装xgboost(使用MinGW编译)
- 使用MinGW编译Boost,MSVC编译Boost的几种链接方式 good
- 使用MinGW编译Boost
- 使用MinGW编译boost
- 使用 MinGW 编译含 glut 的 opengl 程序
- Windows 系统下使用 MinGW + MSYS + GCC 编译 FFMPEG
- Boost 下载 安装 编译 配置 使用 指南
- 使用mingw编译wxWidgets
- Windows 系统下使用 MinGW + MSYS + GCC 编译 FFMPEG
- 使用VS2008编译boost1.38.0
- Boost下载安装编译配置使用指南(含Windows和Linux)
- Boost下载安装编译配置使用指南(转)
- 使用mingw编译ffmpeg 0.5
- 在Windows下用MinGW编译OpenSSL,及OpenSSL静态链接库libcrypto.a使用问题
- 使用VC6 和intel compiler 编译 boost_1_33_1
- 使用boost时,编译没通过--无法解析外部符号
- [转]cscope在windows下使用mingw编译的方法
- 【原】Boost下载安装编译配置使用指南(含Windows、Linux以及ARM Linux)
- 使用msys;mingw编译openldap