Boost logo

Boost Users :

From: p.klotz_at_[hidden]
Date: 2005-08-10 16:22:44


Hi

Linking of Boost.Threads (Boost 1.33.0 RC2) fails under VC 8.0/AMD64 with
the following error:

vc-C++
bin\boost\libs\thread\build\boost_thread.dll\vc-8_0-amd64\debug\threading-multi\xtime.obj
xtime.cpp
vc-Link
bin\boost\libs\thread\build\boost_thread.dll\vc-8_0-amd64\debug\threading-multi\boost_thread-vc80-mt-gd-1_33.dll
 
bin\boost\libs\thread\build\boost_thread.dll\vc-8_0-amd64\debug\threading-multi\boost_thread-vc80-mt-gd-1_33.lib
   Creating library
bin\boost\libs\thread\build\boost_thread.dll\vc-8_0-amd64\debug\threading-multi\boost_thread-vc80-mt
-gd-1_33.lib and object
bin\boost\libs\thread\build\boost_thread.dll\vc-8_0-amd64\debug\threading-multi\boost_thread-vc8
0-mt-gd-1_33.exp
once.obj : error LNK2019: unresolved external symbol
_InterlockedCompareExchange referenced in function "long __cdecl `a
nonymous namespace'::compare_exchange(long * volatile,long,long)"
(?compare_exchange@?A0x083100d6@@YAJREAJJJ_at_Z)
bin\boost\libs\thread\build\boost_thread.dll\vc-8_0-amd64\debug\threading-multi\boost_thread-vc80-mt-gd-1_33.dll
: fatal
 error LNK1120: 1 unresolved externals
Microsoft (R) Manifest Tool version 6.0.4071.0
Copyright (c) Microsoft Corporation 2004.
All rights reserved.

mt.exe:general error c101008d:Failed to write the updated manifest to the
resource of file "bin\boost\libs\thread\build\
boost_thread.dll\vc-8_0-amd64\debug\threading-multi\boost_thread-vc80-mt-gd-1_33.dll".
The system cannot find the file s
pecified.

    CALL "C:\Program Files (x86)\Microsoft Visual Studio
8\Common7\Tools\..\..\VC\bin\amd64\vcvarsamd64.BAT" >nul
    "C:\Program Files (x86)\Microsoft Visual Studio
8\Common7\Tools\..\..\VC\bin\amd64\link" /nologo /INCREMENTAL:NO /
DEBUG /DLL /subsystem:console
/out:"bin\boost\libs\thread\build\boost_thread.dll\vc-8_0-amd64\debug\threading-multi\bo
ost_thread-vc80-mt-gd-1_33.dll"
/IMPLIB:"bin\boost\libs\thread\build\boost_thread.dll\vc-8_0-amd64\debug\threading-mult
i\boost_thread-vc80-mt-gd-1_33.lib"
@"bin\boost\libs\thread\build\boost_thread.dll\vc-8_0-amd64\debug\threading-mult
i\boost_thread-vc80-mt-gd-1_33.CMD"
    mt -manifest
bin\boost\libs\thread\build\boost_thread.dll\vc-8_0-amd64\debug\threading-multi\boost_thread-vc80-mt-gd
-1_33.dll.manifest
-outputresource:bin\boost\libs\thread\build\boost_thread.dll\vc-8_0-amd64\debug\threading-multi\boos
t_thread-vc80-mt-gd-1_33.dll;#2

...failed vc-Link
bin\boost\libs\thread\build\boost_thread.dll\vc-8_0-amd64\debug\threading-multi\boost_thread-vc80-mt-g
d-1_33.dll
bin\boost\libs\thread\build\boost_thread.dll\vc-8_0-amd64\debug\threading-multi\boost_thread-vc80-mt-gd-1_33.
lib...
...failed updating 1 target...
...updated 682 targets...

Any help is welcome.

Best regards, Peter.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net