Boost logo

Boost-Build :

From: Robert Ramey (ramey_at_[hidden])
Date: 2007-07-17 12:38:22

I've checked out the latest version of Boost 1.34 - tagged

I've carefully read the Boost Build documentation (very much improved) and
attempted to build the serialization library with the command line executed
in the directory ../libs/serialization/build:

bjam --toolset=msvc-7.1

I get compilation errors - which I've never seen before. The command line
from file binary_iarchive.obj.rsp for compilation is:

"..\..\..\libs\serialization\src\binary_iarchive.cpp" -Fo"..\..\..\bin.v2\libs\serialization\build\msvc-7.1\debug\threading-multi\binary_iarchive.obj"
 -TP /Z7 /Od /Ob0 /W3 /GR /MDd /Zc:forScope /Zc:wchar_t /GB /Op /wd4675 /EHs
/Gy -c

Which seems almost OK. It looks like my compilation errors are related in
someway to the switch


I've looked at the Jamfile.v2 for boost serialization build and it includes

Searching around, I find in the boost root directory Jamfile.v2 which
contains the following:

# disable auto-linking for all targets here,
# primarily because it caused troubles with V2

Which seems that it might be relevant to my case - it begs for a better

Soooooooo - what do I do now? The following facts are also interesting:

a) the official boost test results are all passing for this combination of
compiler and library. They don't show any compilation errors. The result
matrix doesn't let me see the compilation command line for the build - I
would be curious to see it.

b) I've made VC IDE project which compiles the code with no problem. It
doesn't pass the above switches though.

This kind of thing is very frustrating.

Robert Ramey

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at