Boost logo

Boost-Build :

Subject: Re: [Boost-build] 'libboost_unit_test_framework-vc90-mt-gd-1_38.lib" not found
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-02-12 01:21:41


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


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