Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) Installing Boost under Windows

 

BoostWindows

 

To install Boost under Windows, just follow the procedure described by [1].

 

A downloaded zip of Boost was extracted in 'E:/Projects/Libraries/boost_1_54_0', but it does not seem to matter where to put these, as the next commands install the Boost libraries at their default locations.

 

First, add the GCC path to the PATH (for me, this was 'E:\Qt\Qt5.0.1\Tools\mingw48_32\bin', I verified that g++.exe is present in that folder). Then, from the command line, in the Boost folder (for me, this was: 'E:/Projects/Libraries/boost_1_54_0'), type:

 

bootstrap gcc
b2
bjam --toolset=gcc

 

The 'gcc' toolset comes with Qt Creator.

 

 

 

 

 

RBilderbeek@AIRBEAR-W7-I5 /D/Projects/Libraries (develop)
$ cd boost_1_55_0

RBilderbeek@AIRBEAR-W7-I5 /D/Projects/Libraries/boost_1_55_0 (develop)
$ ./bootstrap.bat

RBilderbeek@AIRBEAR-W7-I5 /D/Projects/Libraries/boost_1_55_0 (develop)
$ ./bjam.exe toolset=gcc link=static threading=multi --layout=versioned --prefix=c:/Boost --without-context install

 

 

 

 

 

Possible Installing Boost under Windows problems

 

 

 

 

 

 

External links

 

 

 

 

 

 

References

 

  1. The Boost 'Getting started on Windows' page

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict