How to install Boost.Build on Windows?

http://www.boost.org/boost-build2/doc/html/bbv2/installation.html

Tried these instructions, but they do not work.

What I've done:

Open cmd.exe; cd C: \ BoostBuild \ boost-build. \ Bootstrap.bat

What I get:

C:. \ BoostBuild \ boost-assembly> \ bootstrap.bat '. \ Bootstrap.bat' is not recognized as an internal or external command, operating program, or batch file.

+4
source share
4 answers

If you download and unpack a copy of boost in C:\ , you should get a folder like C:\boost_1_48_0

In this folder, execute bootstrap.bat; So

 cd C:\boost_1_48_0 bootstrap 
+6
source

You do not need. \ part, this is a unix link that refers to a file in the same folder.

 launch CMD.exe CD C:\BoostBuild\boost-build <press-enter> bootstrap <press-enter> 

is the right way to do this from DOS / CMD.

Change link to comment:

What you do is randomly connect commands, try the following:

 <Run> CMD <press enter. <type> CD c:\boostbuild\boost-build <press enter> <type> bootstrap <press enter> 

If this worked correctly, then after entering the second line above. the C: \ Users \ Furiosity \ prompt should be changed to C: \ BoostBuild \ bood-build

+1
source

cl.exe is a compiler built into visual C ++ or visual studio. using the free version of Visual C ++ express and its bootstrap command line or other b2 command works fine.

This installs the boost.build installation.

+1
source

For me, the problem was that after I unzipped boost, the window protector removed bootstrap.bat from the c: \ boost directory. And for this reason, I searched all over the Internet to find out why this file does not exist or how this file can be created. I have excluded the path from the Windows Defender Search path, here it is. To run it, you must have administrator access (at least in my case).

0
source

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


All Articles