Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you install Boost.Build on Windows?

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

Tried following those instructions, but they do not work.

What I did:

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

What I get:

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

like image 432
NaturalDre Avatar asked Feb 22 '12 02:02

NaturalDre


2 Answers

If you download and unzip a copy of boost in C:\, you should end up with a folder like C:\boost_1_48_0

In this folder, execute bootstrap.bat; so

cd C:\boost_1_48_0
bootstrap
like image 111
Fraser Avatar answered Oct 09 '22 17:10

Fraser


You do not need the .\ portion, that's a unix reference 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.

Edit referring to the comment:

What you're doing is chaining the commands accidentally, try this:

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

If that worked correctly then after typing the 2nd line above. the prompt C:\Users\Furiosity\ should have changed to C:\BoostBuild\bood-build

like image 28
Russ Clarke Avatar answered Oct 09 '22 15:10

Russ Clarke