Boost logo

Boost :

From: Andreas Huber (ahd6974-spamgroupstrap_at_[hidden])
Date: 2005-08-04 09:30:53


I'm using a Jamfile to link against the thread library and from the
error message below it seems that there is a mismatch between what
autolink expects (libboost_thread-vc71-mt-gd-1_33.lib) and what is
actually compiled (boost_thread-vc71-mt-gd-1_33.lib). Does this ring
a bell or should I prepare a minimal example that demonstrates the
behavior?

<error>
...\boost_1_33_0\libs\statechart\example>bjam "-sTOOLS=mingw vc-7_1"
"-sMINGW_ROOT_DIRECTORY=C:\ProgramFiles\MinGW"
...found 1173 targets...
...updating 7 targets...
vc-Link
..\..\..\bin\boost\libs\statechart\example\PingPongMulti1.exe\vc-7_1\debug\threading-multi\PingPongMulti1-vc71-mt-gd-1_33.exe
LINK : fatal error LNK1104: cannot open file
'libboost_thread-vc71-mt-gd-1_33.lib'

    CALL "C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\bin\VCVARS32.BAT" >nul
    "C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\bin\link"
 /nologo /DEBUG /subsystem:console
/out:"..\..\..\bin\boost\libs\statechart\example\PingPongMulti1.exe\vc-7_1\debug\threading-multi\PingPongMulti1-vc71-mt-gd-1_33.exe"
 
/LIBPATH:"..\..\..\bin\boost\libs\thread\build\boost_thread.dll\vc-7_1\debug\threading-multi"
  "boost_thread-vc71-mt-gd-1_33.lib"
@"..\..\..\bin\boost\libs\statechart\example\PingPongMulti1.exe\vc-7_1\debug\threading-multi\PingPongMulti1-vc71-mt-gd-1_33.CMD"

     

...failed vc-Link
..\..\..\bin\boost\libs\statechart\example\PingPongMulti1.exe\vc-7_1\debug\threading-multi\PingPongMulti1-vc71-mt-gd-1_33.exe...
...skipped
<@boost!libs!statechart!example!run>PingPongMulti1-vc71-mt-gd-1_33.exe
for lack of
<@boost!libs!statechart!example\PingPongMulti1.exe\vc-7_1\debug\threading-multi>PingPongMulti1-vc71-mt-gd-1_33.exe...
</error>

-- 
Andreas Huber 
When replying by private email, please remove the words spam and trap
from the address shown in the header.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk