开发者

Install the Boost library in Visual C++ 2008

I have downloaded Visual C++ 2008 and I also have the Boost library, v. 1.44.0. How开发者_运维知识库 to can the Boost library be installed in C++?

I also have Visual C++ 2010.


You don't have to "install" Boost in Visual Studio. What you need is to point your IDE (in this case Visual Studio) to the folders which contain the Boost headers and the lib files (if you have built Boost - some Boost libraries are header-only, some need to be built). Take a look at Boost Getting Started for further details.

Quick start:

  • start your command prompt and go to the folder in which you have unzipped boost
  • execute bootstrap.bat
  • execute ".\bjam --build-type=complete stage" - this will build almost everything in Boost.

Note: make sure you have the VC++ compiler and linker in the environment variable PATH.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜