---
title: "boost1.35.0 Windows编译手记"
author: "grantren"
date: "2008-08-01T03:38:43Z"
tags: ["Microsoft", "Python", "Windows", "thread", "多线程"]
slug: "boost1-35-0-windows"
draft: false
lastmod: "2008-08-01T03:38:43Z"
id: 222561
url: "https://grantren.iteye.com/blog/222561"
---

使用的环境是VC2005. boost放在E:\\boost\_1\_35\_0目录下:

 

1\. 编译bjam

开始-&gt;程序-&gt;Microsoft Visual Studio 2005-&gt;Visual Studio Tools-&gt;Visual Studio 2005命令提示

执行：E:\\boost\_1\_35\_0\\tools\\jam\\build\_dist.bat

生成的bjam.exe在E:\\boost\_1\_35\_0\\tools\\jam\\stage\\boost-jam-3.1.16-1-ntx86目录下.

 

2. 使用bjam编译boost

将bjam.exe拷贝到E:\\boost\_1\_35\_0\\目录下, 执行：

在准备好的console窗口中输入：  
bjam --without-python --toolset=msvc-8.0 --build-type=complete stage  
就可以了，如果要安装的话则输入：

bjam --without-python --toolset=msvc-8.0 --build-type=complete install