i have boost librray 1.44.0 how can i build it?i am using visual studio 2010 thanks
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can use the tool bjam.exe
(just search for it in the www and download it).
When downloaded and extracted, just type bjam toolset=msvc-10.0 --build-type=complete stage
from the windows console in your boost directory. Then reference the include and lib directories within Visual Studio:
- Include:
boost_1_44_0
(plus possiblyboost_1_44_0\boost
) - Lib:
boost_1_44_0\stage\lib
回答2:
go to your boost directory (c:\boost or whatever) and run: bootstrap.bat and then bjam.exe
It should generate the .lib files in $BOOST\stage\lib (about 850 MB :P)