Setup boost and use with Visual Studio 2010 Express
I know that similar questions you can find in web and, particularly in stackoverflow but I still need to write this question because i could no find any page where there is a step by step tutorial how to setup boost library and integrate it with visual studio 2010 express. Even here: How to use Boost in Visual Studio 2010 there are steps (eg 3, 4) that I can't find the menus or so...
So please help me to be able to use boost with visual studio 2010 express on Win7.
I meet some linking issue when I install boost with installer from "BoostPro Computing". And I solve it by compiling boost lib from source code. Here is the steps:
Done.
Here is my environment:
PS At the end of Boost build mentions the include directory and lib directory that should be added to corresponding paths so that Visual Studio could find them.
For building:
See here the item 1.3 (Installation) for building and building details: http://en.highscore.de/cpp/boost/ Also this a very good Boost tutorial/book with lots of examples.
Then the rest is to set include directories and static link directories in MVS and that all. In order to do that in Solution Explorer right click on the solution name you want to compile, and go to Properties->Configuration Properties->VC++ Directories and for Include Directories and Library Directories add appropriate paths to header (.hpp) and static library (.lib) files. (Search them in C:Boost!)
The link you found is a step-by-step guide..
If you can't do something like find the property manager, then I suggest you look at the help which will show you where it is..
For that particular case, the Property Manager can be found in the View menu, under 'Other Windows'
链接地址: http://www.djcxy.com/p/44184.html