Boost logo

Boost-Build :

Subject: Re: [Boost-build] 'libboost_unit_test_framework-vc90-mt-gd-1_38.lib" not found
From: sheeeng (sheeeng_at_[hidden])
Date: 2009-02-17 02:19:51


Thanks Vladimir,

I got the lib after building it few times with the same command as below.

C:\Program Files\Boost\boost_1_38_0>tools\jam\src\bin.ntx86\bjam.exe ^
More? --toolset=msvc ^
More? --build-type=complete ^
More? --prefix="C:\Boost" install

C:\Program Files\Boost\boost_1_38_0>tools\jam\src\bin.ntx86\bjam.exe install

- Run one of the two commands above again and again to get
'libboost_unit_test_framework-vc90-mt-gd-1_38.lib'.

Why must we run the same command a few time just to get the get
'libboost_unit_test_framework-vc90-mt-gd-1_38.lib'?

Vladimir Prus wrote:
>
> On Thursday 12 February 2009 09:11:25 sheeeng wrote:
>>
>> Vladimir Prus wrote:
>> >
>> > On Thursday 12 February 2009 07:39:45 sheeeng wrote:
>> >>
>> >> Hi,
>> >>
>> >> I'm using Microsoft Visual Studio 2008 on Microsoft Windows XP Service
>> >> Pack
>> >> 3. My Boost libraries is version 1.38.
>> >>
>> >> I did a small unit test sample. However, I did not know how to use
>> >> bjam.exe
>> >> correctly to build 'libboost_unit_test_framework-vc90-mt-gd-1_38.lib".
>> >>
>> >> The compiler gives error that it cannot find
>> >> 'libboost_unit_test_framework-vc90-mt-gd-1_38.lib".
>> >>
>> >> I did build me own bjam.exe using C:\Program
>> >> Files\Boost\boost_1_38_0>tools\jam\src\build.bat
>> >>
>> >> Then, I invoked the bjam.
>> >>
>> >> C:\Program Files\Boost\boost_1_38_0>tools\jam\src\bin.ntx86\bjam.exe
>> >>
>> >> After that, I invoked the bjam again.
>> >>
>> >> C:\Program Files\Boost\boost_1_38_0>tools\jam\src\bin.ntx86\bjam.exe ^
>> >> More? --build-type=complete msvc stage
>> >
>> > And did this complete successfully? Do you see a library with the right
>> > name in stage/lib ? Did you add that directory to library search paths?
>> >
>> > - Volodya
>> > _______________________________________________
>> > Unsubscribe & other changes:
>> > http://lists.boost.org/mailman/listinfo.cgi/boost-build
>> >
>> >
>>
>> Yes. It completes successfully. But the file does not exist in the lib
>> folder. I did include all the include and lib path in Visual Studio
>> projects
>> correctly.
>
> Please tell me the list of all libboost_unit_test* files in that
> directory.
>
>> Btw, how do I just build the complete unit testing libraries without
>> building other Boost libraries which take hours to complete?
>
> Add --with-test option. This is documented in the --help output, BTW.
>
> - Volodya
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
>

-- 
View this message in context: http://www.nabble.com/%27libboost_unit_test_framework-vc90-mt-gd-1_38.lib%22-not-found-tp21969852p22051896.html
Sent from the Boost - Build mailing list archive at Nabble.com.

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