Boost logo

Boost Users :

Subject: Re: [Boost-users] boost-regex: how to compile with mingw?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-11-15 18:24:11


AMDG

Matthias Pospiech wrote:
> I have never worked with boost or the regex libary but need it as a
> dependency for another project.
>
> I could compile the libary for Visual Studio 2005 (VS8),
> but the docs give not a single hint how to compile with mingw on
> Windows (here XP).
>
> I tried gcc an generic, but that does not work
>
> H:\boost_1_40_0\libs\regex\build>mingw32-make -fgcc.mak
> gcc.mak:37: "Building Boost.Regex without ICU / Unicode support:"
> gcc.mak:38: "Hint: set ICU_PATH on the nmake command line to point "
> gcc.mak:39: "to your ICU installation if you have one."
> mkdir -p gcc
> mkdir -p gcc/boost_regex-gcc-1_40
> Syntaxfehler.
> mingw32-make: *** [gcc/boost_regex-gcc-1_40] Error 1
>
> H:\boost_1_40_0\libs\regex\build>mingw32-make -fgeneric.mak
> mkdir -p generic
> Ein Unterverzeichnis oder eine Datei mit dem Namen "-p" existiert
> bereits.
> Folgender Fehler trat auf: -p.
> mingw32-make: *** [generic] Error 1
>
>
> How should it be done?

cd boost_1_40_0
bootstrap
bjam toolset=gcc --with-regex

In Christ,
Steven Watanabe


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