Boost logo

Boost-Build :

Subject: Re: [Boost-build] Wrong library names
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-05-12 19:39:31


AMDG

Jack Sanga wrote:
> I'm trying to build boost 1_38 on Windows xp. I'm using VC 2008 (9.0).
>
> When I execute bjam
>
> bjam --toolset=msvc "-sPYTHON_VERSION=2.5" "-sPYTHON_ROOT=c:\Python25"
> "-sBUILD=debug release <define>_CRT_NONSTDC_NO_DEPRECATE
> <define>_CRT_SECURE_NO_DEPRECATE <define>_SECURE_SCL=0
> <define>_SCL_SECURE_NO_DEPRECATE <define>_HAS_ITERATOR_DEBUGGING=0" stage
>
> It builds my libraries, but they come out named x-vc71*.lib
>
> I have VC 6 (don't ask), VC 8 and VC 9 on my machine.
>
> Before I execute bjam I ran VCVARS32.bat from the VC 9.0 installation
> directory.
>
> Any ideas why the names default to 71?

Boost.Build searches the registry for installed versions of msvc.
Try toolset=msvc-9.0 (or msvc-9.0express for the Express edition)
Also, your -sBUILD option has no effect. Just use
debug release <define>_CRT... etc with no wrapper.

In Christ,
Steven Watanabe


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