i've downloaded the latest version of Boost Package (1.45) and I would use only the serialization library in my VC++ 2010 project. I tried to understand how can i compile that library and use it but i don't understand... Can someone help me to compile and use the serialization library?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Unless you specifically require Boost 1.45 (or 64-bit binaries), you can get the pre-compiled boost library installers from Boostpro (the professional consulting wing of boost.org): http://www.boostpro.com/download/
If you do need to build 1.45, you will need to follow the instructions for a simple binary build:
From: http://www.boost.org/doc/libs/1_45_0/more/getting_started/windows.html#or-simplified-build-from-source
Get the source code, unzip it somewhere, open a Visual Studio 2010 command prompt, and navigate to that directory, and type in these commands:
(the '>' means the prompt)
> bootstrap
> bjam