1.下载包ios
目录结构:bootstrap
切换到上面的目录,而后运行测试
bootstrap.bat
执行完毕后会生成两个exe文件spa
继续执行操作系统
bjam.exe
结束后,目录以下blog
2.设置路径编译器
测试io
#include "stdafx.h"
#include <boost\version.hpp>
#include <boost\config.hpp>
#include <iostream>
using namespace std;编译
int main()
{
cout << "boost 版本:" << BOOST_VERSION << endl;
cout << "boost lib 版本:" << BOOST_LIB_VERSION << endl;
cout << "操做系统:" << BOOST_PLATFORM << endl;
cout << "编译器:" << BOOST_COMPILER << endl;
cout << "标准库:" << BOOST_STDLIB << endl;
system("pause");
return 0;
}stream
输出