vs2012 boost库安装配置

来源:互联网 发布:淘宝中老年女装棉袄 编辑:程序博客网 时间:2024/06/11 16:53
www.boost.org下载boost库,解压


打开vs2012的Visual Studio Tools中的VS2012 x86 Native Tools Command Prompt


进入boost库目录执行bootstrap.bat,生成bjam.exe工具


执行bjam toolset=msvc-12.0 variant=debug,release threading=multi link=static 生成boost库


build成功会显示 The Boost C++ Libraries were successfully built!


创建新工程后点击Properties--C/C++--General--Additional Include Directories改为boost所在路径


Properties-Link--General中Additional Library Directories改为boost路径下\bin\vc11\lib所在路径即可
0 0
原创粉丝点击