
Hi, I'm just trying to configure bjam to compile the boost.guid library of Andy Tompkins but I'm not able to link correctly with the boost.thread: The linking step failed with the error indicated hereafter -> unable to find libboost_thread* library. I've joined the "bjamfile" for further analyse. Any help will be welcome. Best regards, Marc Viala -------------------------------- C:\Dev\MViala\ADV\boost_1_33_1\libs\guid\build>..\..\..\..\bjam\bjam "--builddir=C:\BoostBuild\Boost_1_33_1" ...patience... ...found 1327 targets... ...updating 60 targets... <snip> vc-C++ ..\..\..\bin\boost\libs\guid\build\libboost_guid.lib\vc-7_1\release\thre ading-multi\guid.obj guid.cpp vc-Archive ..\..\..\bin\boost\libs\guid\build\libboost_guid.lib\vc-7_1\release\thre ading-multi\libboost_guid-vc71-mt-1_33_1.lib Microsoft (R) Library Manager Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. "..\..\..\bin\boost\libs\guid\build\libboost_guid.lib\vc-7_1\release\thr eading-multi\guid.obj" FileClone C:\Dev\MViala\ADV\boost_1_33_1\stage\lib\libboost_guid-vc71-mt-1_33_1.li b vc-Link ..\..\..\bin\boost\libs\guid\build\boost_guid.dll\vc-7_1\debug\threading -multi\boost_guid-vc71-mt-gd-1_33_1.dll ..\..\..\bin\boost\libs\guid\build\boost_guid.dll\vc-7_1\debug\threading -multi\boost_guid-vc71-mt-gd-1_33_1.lib LINK : fatal error LNK1104: impossible d'ouvrir le fichier 'libboost_thread-vc71-mt-gd-1_33_1.lib' "link" /nologo /INCREMENTAL:NO /DEBUG /DLL /subsystem:console /out:"..\..\..\bin\boost\libs\guid\build\boost_guid.dll\vc-7_1\debug\thr eading-multi\boost_guid-vc71-mt-gd-1_33_1.dll" /IMPLIB:"..\..\..\bin\boost\libs\guid\build\boost_guid.dll\vc-7_1\debug multi" /LIBPATH:"C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\lib" "boost_date_time-vc71-mt-gd-1_33_1.lib" "boost_thread-vc71-mt-gd-1_33_1.lib" @"..\..\..\bin\boost\libs\guid\build\boost_guid.dll\vc-7_1\debug\threadi ng-multi\boost_guid-vc71-mt-gd-1 ...failed vc-Link ..\..\..\bin\boost\libs\guid\build\boost_guid.dll\vc-7_1\debug\threading -multi\boost_guid-vc71-mt-gd-1_33_1.dll ..\..\..\bin\boost\libs\guid\build\boost_guid.dll\vc-7_1\debug\threading -multi\boost_guid-vc71-mt-gd-1_33_1.lib... ...skipped <@boost!libs!guid!build!stage!lib>boost_guid-vc71-mt-gd-1_33_1.dll for lack of <@boost!libs!guid!build\boost_guid.dll\vc-7_1\debug\threading-multi>boos t_guid-vc71-mt-gd-1_33_1.dll... ...skipped <@boost!libs!guid!build!stage!lib>boost_guid-vc71-mt-gd-1_33_1.lib for lack of <@boost!libs!guid!build\boost_guid.dll\vc-7_1\debug\threading-multi>boos t_guid-vc71-mt-gd-1_33_1.lib... vc-Link ..\..\..\bin\boost\libs\guid\build\boost_guid.dll\vc-7_1\release\threadi ng-multi\boost_guid-vc71-mt-1_33_1.dll ..\..\..\bin\boost\libs\guid\build\boost_guid.dll\vc-7_1\release\threadi ng-multi\boost_guid-vc71-mt-1_33_1.lib LINK : fatal error LNK1104: impossible d'ouvrir le fichier 'libboost_thread-vc71-mt-1_33_1.lib' "link" /nologo /INCREMENTAL:NO /DLL /subsystem:console /out:"..\..\..\bin\boost\libs\guid\build\boost_guid.dll\vc-7_1\release\t hreading-multi\boost_guid-vc71-mt-1_33_1.dll" /IMPLIB:"..\..\..\bin\boost\libs\guid\build\boost_guid.dll\vc-7_1\releas e\threa " /LIBPATH:"C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\lib" "boost_date_time-vc71-mt-1_33_1.lib" "boost_thread-vc71-mt-1_33_1.lib" @"..\..\..\bin\boost\libs\guid\build\boost_guid.dll\vc-7_1\release\threa ding-multi\boost_guid-vc71-mt-1_33_1.CMD" ...failed vc-Link ..\..\..\bin\boost\libs\guid\build\boost_guid.dll\vc-7_1\release\threadi ng-multi\boost_guid-vc71-mt-1_33_1.dll ..\..\..\bin\boost\libs\guid\build\boost_guid.dll\vc-7_1\release\threadi ng-multi\boost_guid-vc71-mt-1_33_1.lib... ...skipped <@boost!libs!guid!build!stage!lib>boost_guid-vc71-mt-1_33_1.dll for lack of <@boost!libs!guid!build\boost_guid.dll\vc-7_1\release\threading-multi>bo ost_guid-vc71-mt-1_33_1.dll... ...skipped <@boost!libs!guid!build!stage!lib>boost_guid-vc71-mt-1_33_1.lib for lack of <@boost!libs!guid!build\boost_guid.dll\vc-7_1\release\threading-multi>bo ost_guid-vc71-mt-1_33_1.lib... ...failed updating 4 targets... ...skipped 4 targets... ...updated 52 targets...

Marc Viala <mviala <at> acticm.com> writes:
Hi,
I'm just trying to configure bjam to compile the boost.guid library of Andy Tompkins but I'm not able to link correctly with the boost.thread:
The linking step failed with the error indicated hereafter -> unable to find libboost_thread* library.
I've joined the "bjamfile" for further analyse.
Any help will be welcome.
Best regards,
Marc Viala
Hi Marc, I just uploaded a new version of the guid library to the boost vault. The only difference is that the Jamfile is rewritten/fixed to link correctly with the Boost Thread library. The dll build was trying to link to the static version of Boost.Thread instead of the dynamic version. I hope this does the trick. Andy.

De : boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] De la part de Andy Tompkins Envoyé : vendredi 3 mars 2006 23:01 À : boost@lists.boost.org Objet : Re: [boost] [guid] bjam help
Marc Viala <mviala <at> acticm.com> writes:
<snip>
Hi Marc,
I just uploaded a new version of the guid library to the boost vault. The
difference is that the Jamfile is rewritten/fixed to link correctly with
only the
Boost Thread library.
The dll build was trying to link to the static version of Boost.Thread instead of the dynamic version.
I hope this does the trick.
Andy. [Marc Viala] Hi Andy,
Thanks a lot for the patch of bjam file. It compiles & works fine. I'm now using your lib in my application. Best regards
participants (3)
-
Andy Tompkins
-
Marc Viala
-
Marc VIALA