Boost logo

Boost Users :

Subject: Re: [Boost-users] program_options and BOOST_ALL_NO_LIB=1
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-03-09 11:50:07


>> The correct fix is to set the library search path to search the location
>> of the libraries built when you built Boost (defaults to stage/lib with
>> msvc) - you did build Boost right?
>
> John, obviously the error I get is related to the fact the program_options
> lib is not reached by the linker. My question at this point is different:
> can I use program_options as header only library?

No. RTFM ;-)

> On the basis of what Diederick told me it seems I can't. Now, could you
> please tell me where can I find the list of boost libs that can be used as
> header only?

The getting started guide is always the place to look for stuff like that:
http://www.boost.org/doc/libs/1_46_0/more/getting_started/windows.html#header-only-libraries

Oh, it'll tell you how to build the program_options binaries too ;-)

HTH, 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