ant2009
ant2009

Reputation: 22486

Compiling boost libraries

Windows XP Visual Studio 2008

I have downloaded and unzipped the boost_1.33.1. We have to use this version as our client application uses this version.

However, I want to compile the source file to create the libraries. However, when I read the documentation I says you have to execute the bootstrap and then Bjam. However, in the root directory of boost. There are no such files. Only boost-build.jam.

Many thanks for any suggestions,

Upvotes: 0

Views: 4186

Answers (2)

stefanB
stefanB

Reputation: 79770

My old notes on building boost on windows.

build bjam:

cd C:\source\boost\boost_1_35_0\tools\jam\src
.\build.bat

If you need static libraries use: --build-type=complete

build libs (only threads in this case):

C:\source\boost\boost_1_35_0>tools\jam\src\bin.ntx86\bjam.exe
--build-dir=C:\source\boost\build
--toolset=msvc
--build-type=stage
--with-thread

Upvotes: 2

Dean Harding
Dean Harding

Reputation: 72638

I think the bootstrapping thing is relatively new. You'll just need to download bjam.exe separately from the boost website (it's in the "Boost Jam" section).

Upvotes: 1

Related Questions