Boost logo

Boost Users :

From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2006-04-04 08:55:51


Cheok Yan Cheng wrote:
> Hello all,
>
> I just download boost 1.33.1 and I am building using
> VC++ 7.1.
>
> I am a bit confused on the directory structure of
> serialization library
>
> (1)
> \bin\boost\libs\serialization\build\libboost_serialization.lib
> \bin\boost\libs\serialization\build\libboost_wserialization.lib
>
> May I know the differences among
> libboost_serialization.lib and
> libboost_wserialization.lib directory? What is the
> meaning of 'w'?

'w' identifies libraries for use with wide characters, ie: wchar_t.

> (2)
> \bin\boost\libs\serialization\build\libboost_serialization.lib
> \bin\boost\libs\serialization\build\boost_serialization.dll
>
> First, I thought libboost_serialization.lib are mean
> for static library,

Yes.

> boost_serialization.dll are mean
> for dynamic library.

Yes. Which additionally has the corresponding import .lib file.

> However, inside the libboost_serialization.lib
> directory, they are further divided into
>
> libboost_serialization.lib\vc-7_1\release\runtime-link-static\threading-multi
> libboost_serialization.lib\vc-7_1\release\threading-multi
> <---- (Does this mean this is a dynamic library since
> it doesn't contains runtime-link-static??? How about
> boost_serialization.dll)

You might thoroughly read
http://www.boost.org/more/getting_started.html#Build_Install. Where under
the Results section, the naming convention is described.

Did you run:

    bjam "-sTOOLS=vc-7_1" install

or

    bjam "-sTOOLS=vc-7_1" stage

Both the above gather all of the libs and dlls into a directory with the
naming convention described above. The appropriate lib is then automatically
linked to your project based on the current compiler settings.

Jeff Flinn


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