vs2012 编译 boost 1.5.2
2012-12-15 11:52
369 查看
boost部分库需要编译后链接,比如serialization。
没有必要全部编译,费时费空间。
1. 必须在x86 cmd 中
cd %BOOST_ROOT%
bootstrap.bat
2. 编译x86的serialization lib, 在x86 cmd中
cd %BOOST_ROOT%\libs\serialization\build
%BOOST_ROOT%\b2.exe link=shared threading=multi variant=debug,release
3. 编译x64的serialization lib, 在x64 cmd中, 需要指定 address-model
cd %BOOST_ROOT%\libs\serialization\build
%BOOST_ROOT%\b2.exe link=shared threading=multi variant=debug,release address-model=64
其它lib 类似。
没有必要全部编译,费时费空间。
1. 必须在x86 cmd 中
cd %BOOST_ROOT%
bootstrap.bat
2. 编译x86的serialization lib, 在x86 cmd中
cd %BOOST_ROOT%\libs\serialization\build
%BOOST_ROOT%\b2.exe link=shared threading=multi variant=debug,release
3. 编译x64的serialization lib, 在x64 cmd中, 需要指定 address-model
cd %BOOST_ROOT%\libs\serialization\build
%BOOST_ROOT%\b2.exe link=shared threading=multi variant=debug,release address-model=64
其它lib 类似。
相关文章推荐
- VS2012 编译 boost1.53/ boost1.49
- 在Windows 7 上为VS2012编译boost 1.55 64位库
- VS2012编译boost1.53
- VS2012编译boost1.53
- VS2012编译boost1.53
- 在Windows 7 上为VS2012编译boost 1.55 64位库
- win7+vs2010 + vs2012自动下载boost并编译安装
- vs2012编译boost_1_53_0
- 手把手教你:用VS2012编译boost1.53
- AMGCL--VS2012编译boost1.53
- VS2012编译boost1.53
- VS2012编译boost
- vs2012编译boost_1_53_0
- vs2012编译boost_1_53_0
- win7 64位环境下VS2012编译使用boost_1_60_0
- vs2012编译boost_1_54_0
- Win7_VS2012编译安装boost1.55笔记
- VS2012 下编译boost1.52
- vs2012编译boost_1_53_0
- VS 编译和使用boost