Boost logo

Boost-Build :

Subject: Re: [Boost-build] Errors when compiling Boost on Windows with MinGW
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-03-01 10:55:07


AMDG

On 02/26/2012 09:02 AM, Paul wrote:
> Hi All,
>
> Sorry if this has been answered, but I didn't find a search facility
> for this mailing list. I tried the archives here
> (http://lists.boost.org/boost-build/), but I don't see a search.
>
> I am trying to compile Boost on a windows machine. I have MinGW, with
> gcc version 4.5.2. I followed the instructions here
> (http://www.boost.org/doc/libs/1_49_0/more/getting_started/windows.html),
> building from source, using Boost version 1.49.0. Step 5.3.1 Install
> Boost.Build went fine, although I did need to append "mingw" to the
> bootstrap.bat command, and "--toolset=gcc" to the "b2 install" command.
> I invoked b2 (again, with "toolset=gcc", but without giving a
> --build-dir, as the instructions say it isn't strictly necessary if the
> folder is writeable, which it is), and redirected the output to
> build.log, as explained in step 5.3.4 (using ">build.log 2>&1" as
> given). I've attached the log file.
>

This problem has been reported before. IIRC,
if you build the exception library
in a separate invocation of b2 it should
work. (--without-exception and --with-exception)

> when I examine the log, I see a bunch of errors, as well as some
> warnings about MPI and python.
>
> Most importantly, can someone explain the errors to me, please.
>
> Also, can someone advise on the warnings. I am trying to build a
> windows port of a linux program written by a friend. I know he uses
> Boost, but I'm not sure if he built it with any special requirements,
> or just used a standard pre-built version that came with his distro.
> As I don't know Boost myself, I'm not really sure if I need the python
> or MPI stuff, or not, or even which questions to ask my friend around
> what he did with Boost.
>
> Many thanks in advance for any help I can get.
>

In Christ,
Steven Watanabe


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