Boost logo

Boost-Build :

Subject: Re: [Boost-build] Which module should be compiled in library individual ?
From: chmhou_at_[hidden]
Date: 2015-11-06 11:24:37


Hi Steven:
    Thank you for the letters.
/*
    You don't need to care about this when building
    the libraries, as header-only libraries have nothing
    to build.
*/

I supposed that I should not care about that until I got the problem.

I was using program_options in my code. It figured out that undefined reference boost::program_options::xxxxx
I was sure that I included the "<boost/program_options.hpp>" in my code.
When I compiled program_options using ./bjam --with=program_options and compiled my code again without any other changes, It worked.
So I guess the key was it.
/*
    b2 --show-libraries lists all the libraries whith
    separately compiled components.
*/
I had done this acctually, and the lists just showed that "system", nothing else.
What' s meaning that ? I thought the meaning is there is only one library "system" I should compiled it individual if I wanna use it, am I right ?

by the way, How you can response my letters in this format.
There are ">" in front of my words ? didn't you using email ?
I am using foxmail to solve the subscribe.
 
In Christ,
Steven Watanabe



Martin
 



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