Boost logo

Boost Users :

From: Larry (lknain_at_[hidden])
Date: 2008-04-18 09:23:33


Actually, it turns out at 1.35 the build was changed to not build the debug
libs by default. Changing the bjam command line to

bjam --toolset=msvc-7.1 --build-type=complete install

built all of the libs including the debug ones (thanks John Maddock). I
missed in the doc where this release changed the behavior from prior
releases to not build the debug builds by default.

Thanks.

Larry
"Rainer Thaden" <RThaden_at_[hidden]> wrote in message
news:48081CD0.7030206_at_web.de...
> Larry wrote:
>> I built 1.35 on Windows XP using MS Visual Studio .NET 2003 using
>>
>> bjam --toolset=msvc-7.1 install
>>
>> No errors in the build.
>>
>> Including <boost/regex.hpp> in a cpp file compiles OK using IDE but the
>> link
>> fails missing libboost_regex-vc71-mt-gd-1_35.lib and the lib is not
>> present
>> in the "install" lib directory. The project is being built with compiler
>> option /MDd. Is this a Boost build failure or should I have specified
>> something else to get the lib created or to use a different lib? Anyone
>> know?
>>
>
> You either use dynamic linking and didn't specify the
> BOOST_ALL_DYN_LIB
> macro or you use static linking and the bjam default settings only build
> the shared libraries.
> Quoting from a post from 06/04/2008:
>
> The files with "lib" prefix are static libraries whereas the ones
> without "lib" are used for dynamic linking (DLLs).
> First decide, what you want to use, then build the appropriate files.
> with bjam use the option link=static or link=shared.
>
> Have a look at
> http://www.codeproject.com/KB/tips/Building_boost_libraries.aspx
> That may help you.
>
> Regards,
>
> Rainer


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