Boost logo

Boost-Build :

Subject: [Boost-build] Wrong lib name on windows
From: Bo Jensen (jensen.bo_at_[hidden])
Date: 2010-09-14 10:59:37


Hi,
I can not figure out what I am doing wrong. I am trying to switch from
intel to msvc and had to downgrade to msvc-8 due to msvc-10 not
supported by property_tree. But still it does not link.

Here are my build line :

bjam toolset=msvc-8 sulum-lib release

Which produces :

msvc.archive C:\sulumhome\sulum\external\boost\bin.v2\libs\filesystem\build\msvc
-8\release\link-static\threading-multi\libboost_filesystem-vc-mt-1_44.lib
msvc.link.dll bin\msvc-8\release\threading-multi\sulum-lib.dll
LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc90-mt-1_44.l
ib'

        call "C:\Programmer\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat" >n
ul
link /NOLOGO /INCREMENTAL:NO /DLL /MACHINE:X86 /subsystem:console /out:"bin\msvc
-8\release\threading-multi\sulum-lib.dll" /IMPLIB:"bin\msvc-8\release\threading-
multi\sulum-lib.lib" @"bin\msvc-8\release\threading-multi\sulum-lib.dll.rsp"
        if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%

...failed msvc.link.dll bin\msvc-8\release\threading-multi\sulum-lib.dll bin\msv
c-8\release\threading-multi\sulum-lib.lib...
...failed updating 2 targets...
...updated 1 target...

But the filesystem library actually build is :

'libboost_filesystem-vc-mt-1_44.lib' i.e without 90 added (does not
help to switch to msvc-9 either).

If I manually changes the name on the lib file, it still fails.

What am I missing ? Is it related to auto-linking ?

This occurs for me with both 1.43 and 1.44.

Any insight appreciated.

/Bo


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