Boost logo

Boost Users :

Subject: Re: [Boost-users] program_options and BOOST_ALL_NO_LIB=1
From: John Reid (j.reid_at_[hidden])
Date: 2011-03-09 04:50:55


On 09/03/11 09:35, Gianni Ambrosio wrote:
> Hi Diederick,
> it seems link errors directly related to program_options lib. I used
> property tree lib without the need of any lib to link against. So, which
> is the benefit of using BOOST_ALL_NO_LIB if I need to link against boost
> libs?

As far as I understand it, BOOST_ALL_NO_LIB removes the auto-linking
functionality. This means you will need to explicitly link against the
correct libraries in your build system. It does not remove the need to
link altogether.

John.


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