VS2010 编译X64 Boost 库

来源:互联网 发布:安卓防沉迷软件 编辑:程序博客网 时间:2024/05/22 04:28

http://blog.csdn.net/kangroger/article/details/39393769

大概流程如上,需要替换
bjam stage –without-Python –toolset=msvc-10.0 –build-type=complete –stagedir=”D:\boost_1_56_0\bin\vc10” link=static runtime-link=shared threading=multi debug release
这句,在末尾添加 address-model=64 ,并去掉–without-Python(我的环境不去掉这句会报错)。
整理出来为:

bjam stage –toolset=msvc-10.0 –build-type=complete –stagedir=”D:\boost_1_56_0\bin\vc10” link=static runtime-link=shared threading=multi debug release address-model=64

0 0