Boost logo

Boost-Build :

From: Jan Krassnigg (Jan_at_[hidden])
Date: 2006-08-05 05:36:03


Hi there

I hope this is the right mailing-list for this kind of question:

I wanted to try the Boosts thread library. However, when i compile i get
the error, that
libboost_thread-vc80-mt-spn-1_33_1.lib
is required.

I use MSVC 8.0, with STLport and i have disabled all iostreams in the
STL via compile-flag.

When i build boost, as TOOLSET i can only select msvc-8_0. For prior
versions there is msvc-7_1-stlport (or something similar), but that does
not work for me.

The problem is, when i simply compile boost with toolset msvc-8_0 it
generates libraries named
libboost_thread-vc80-mt-s-1_33_1.lib

Here it is only "mt-s" not "mt-spn", which the code wants to be linked
against. The documentation only mentions, that "p" and "n" stand for a
library that is compiled for STLport without iostream-support. It
doesn't tell me how to achieve this. Obviously it isn't done automatically.

So, can anyone tell me, how i can persuade bjam to generate all the
libraries, that i actually need? I am very new to boost and have not yet
fully understood how the build-process works.

For now i have excluded STLport from my project completely. This way it
compiles fine. However, i don't think that that's a good "solution".

Thanks,
Jan.


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk