Boost logo

Boost Users :

Subject: Re: [Boost-users] Help with Boost Serialization library!
From: stathis (stathis_at_[hidden])
Date: 2017-05-02 17:14:30


Tina,

try to use:

.\b2 link=static --with-serialization

depending on what you're trying to do, you may in addition want to consider runtime-link=static

You can find interesting info (especially table 3.2) at:
http://www.boost.org/build/doc/html/bbv2/overview/invocation.html

stathis

On 27/04/2017 19:56, Alam, Tina via Boost-users wrote:
> Hi Boost Users,
>
> I need the Boost Serialization Library in order to use a MATLAB make file. The make file is looking
> for a static library file named either boost_serialization.lib or libboost_serialization.lib.
> However, when I built the serialization library, I got a lot of object files and rsp files rather
> than a .lib file. Do you know how to create the .lib file? I am not sure if it matters, but I am
> using a Windows computer.
>
> When you build the boost libraries, is there a way to generate .lib files for them?
>
> Below, I have documented the steps I took to build the library. Please take a glance at it and let
> me know if I missed something that will allow me to obtain the .lib file.
>
> 1. Download and unzip the boost folder
>
> http://www.boost.org/users/history/version_1_63_0.html
>
> 2. Look inside folder and make sure you find *bootstrap.bat*
>
> 3. Open the Visual Studio Developer Command Prompt and navigate to the boost folder
>
> 4. Type *bootstrap* into the command line and hit enter
>
> 5. After it finishes bootstrapping, type in *.\b2 --with-serialization* and hit enter. The
> serialization library will be built. I still have not figured out how to generate the .lib file.
>
> Tina Alam
>
> IT Flex – Software Engineer
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> https://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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