编译bjam:进入目录“boost_1_46_0\tools\build\v2\engine\src”,运行"build gcc"使用gcc进行编译,最后生成bjam.exe文件在“\bin.ntx86”目录下; 将bjam.exe文件复制到boost_1_46_0目录下; 运行“bjam install --prefix=c:\boost toolset=gcc” ,经过漫长的等待,最后在c:\boost目录下会生成boost头文件及lib库文件。 相关文章: