Boost logo

Boost Users :

Subject: Re: [Boost-users] install with b2 - conflicting documentation
From: Vladimir Prus (ghost_at_[hidden])
Date: 2013-06-23 13:33:53


On 23.06.2013 02:39, Kirk Joppy wrote:
> Hello,
>
> I am trying to build the regex library which I will then use through
> MinGW. I already installed MinGW and added ..\MinGW\bin to my system
> PATH.
>
> I now want to build regex and put it somewhere. I am aware of two
> different pieces of documentation detailing how to do this:
>
> http://www.boost.org/doc/libs/1_53_0/more/getting_started/windows.html#prepare-to-use-a-boost-library-binary
>
> http://www.boost.org/doc/libs/1_53_0/doc/html/bbv2/installation.html
>
> The main difference seems to be whether you should be in BOOST_ROOT or
> BOOST_ROOT\tools\build\v2. Which is it?

If you are building Boost C++ Libraries, then it should be BOOST_ROOT, as explained by the former
document. The latter document documents how you would install Boost.Build to your system, should
you want it.

> In either case I gather than I
> should do this
>
> $ bootstrap.bat gcc
>
> and in fact I've done that in both BOOST_ROOT and
> BOOST_ROOT\tools\build\v2 with apparent success. I just don't know
> what I'm supposed to do next. I tried running
>
> $ b2 --prefix=H:\boost-test --with-regex install
>
> from within BOOST_ROOT\tools\build\v2,

Try running same from BOOST_ROOT.

HTH,
Volodya


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