window下boost库
1、下载boost开发库源码。
2、使用vs2008的命令行工具,进入到源码目录xxx/boost_1_58_0,命令行中运行bootstrap.bat,生成文件b2.exe,在命令行中执行b2.exe。
3、等待boost库编译连接完成,,提示如下:
The Boost C++ Libraries were successfully built!
The following directory should be added to compiler include paths:
xxx/boost_1_58_0
The following directory should be added to linker library paths:
xxx\boost_1_58_0\stage\lib
4、注意编译出的所有静态库均为vs2008的版本,使用其它IDE无法编译。
5、使用vs2008创建工程时,include添加boost_1_58_0目录,lib添加boost_1_58_0\stage\lib目录。
温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/file/68365.html
- 上一篇:C# Dictionary增加的方法
- 下一篇:Win7打开文件安全警告取消方法