Speed ​​up installation and use with Visual Studio 2010 Express

I know that you can find similar questions on the Internet and, in particular, on stackoverflow, but I still need to write this question because I could not find any page where there is a step-by-step guide on setting up the boost library and its integration with visual studio 2010 express. Even here: How to use Boost in Visual Studio 2010 there are steps (e.g. 3, 4) that I cannot find the menu or so ...

So please help me use boost with 2010 Express visual studio on Win7.

+4
source share
3 answers

I encounter a binding problem when installing boost with the installer from "BoostPro Computing". And I solve it by compiling boost lib from the source code. Here are the steps:

Done.

Here is my environment:

  • Win7 64bit
  • Visual Studio 2010 Express
  • boost 1_52_0

PS At the end of the Boost build, the include and lib directory is mentioned, which must be added to the appropriate paths so that Visual Studio can find them.

+4
source

For building:

  • Download Boost from here: http://www.boost.org/users/download/ and extract the files
  • Double-click the build.bat file
  • Press Win + R, type cmd and press enter. Cmd.exe will be called.
  • In cmd.exe type "cd the_directory_name_where_you_run_build.bat" and press enter
  • Then enter "bjam --prefix = C: \ Boost install"

See paragraph 1.3 (Installation) for building and building details here: http://en.highscore.de/cpp/boost/ This is also a very good Boost / book with lots examples.

Then the rest is to install inclusion directories and static link directories in MVS and that’s it. To do this in Solution Explorer, right-click on the name of the solution you want to compile and go to "Properties" - "Configuration Properties" β†’ "VC ++ Directories" and "Include Directory Directories" and "Library Directories", add the appropriate paths to the header (.hpp) and the static library (.lib). (Search for them in C: \ Boost!)

+5
source

The link you found is a step-by-step guide.

If you cannot do something like searching for a property manager, then I suggest you familiarize yourself with help that will show you where it is.

In this particular case, the Property Manager can be found in the View menu under Other Windows.

0
source

Source: https://habr.com/ru/post/1394162/


All Articles