Boost logo

Boost-Build :

Subject: Re: [Boost-build] msvc: building executables broken?
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-11-12 02:21:58


On Wednesday 12 November 2008 01:13:57 Jeroen van der Wulp wrote:
> > Building executables with msvc (2008 Express) on Windows XP seems broken
> > at least when running from a shell without the environment setup. There
> > is a problem with finding mt:
> >
> > 'mt' is not recognized as an internal or external command
> >
>
> Besides this issue it is also impossible to use searched libraries:
>
> lib wsock32 : <name>"wsock32" ;
>
> using this target results in an error of the form:
>
> LINK : fatal error LNK1104: cannot open file
> '<lbuild/msvc-9.0/debug/link-static/pch-off/stdlib-stlport-5.1.6/threading-multi>wsock32.obj'
>
> This problem seems to have been introduced in revision 49645. It can be
> a typo. Replacing generator.generated-targets with
> linking-generator.generated-targets in the implementation of the msvc
> linking generator solves this problem. I have attached the patch that I
> applied for testing with MSVC.

I've checked in this patch:

        https://svn.boost.org/trac/boost/changeset/49692

Thanks you!

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2

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