Sean Farrow | 7 Sep 14:16

Building boost.regex with icu support

Hi: 
How do I build boost.regex on windows with bjam and icu support?
Cheers
Sean.

__________ Information from ESET NOD32 Antivirus, version of virus
signature database 3423 (20080906) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
Andrea Denzler | 7 Sep 14:58
Favicon
Gravatar

Re: Building boost.regex with icu support

Here you find instructions

http://www.boost.org/doc/libs/1_36_0/libs/regex/doc/html/boost_regex/install
.html#boost_regex.install.building_with_unicode_and_icu_support

You may want to edit the tools\build\v2\user-config.jam file. For example to
use STLPORT then add line
using stlport :  : mystlportpath/stlport mystlportpath/lib ;

And then compile it with

bjam --build-dir="C:\mytemppath\boost_tempd" --toolset=msvc
--build-type=complete --with-regex -sICU_PATH="C:\myicupath\icu\icu"
define=U_STATIC_IMPLEMENTATION=1 stage stdlib=stlport

> -----Messaggio originale-----
> Da: boost-users-bounces <at> lists.boost.org [mailto:boost-users-
> bounces <at> lists.boost.org] Per conto di Sean Farrow
> Inviato: domenica 7 settembre 2008 14.18
> A: boost-users <at> lists.boost.org
> Oggetto: [Boost-users] Building boost.regex with icu support
> 
> Hi:
> How do I build boost.regex on windows with bjam and icu support?
> Cheers
> Sean.
> 
> 
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 3423 (20080906) __________
(Continue reading)

John Maddock | 7 Sep 18:08

Re: Building boost.regex with icu support

Sean Farrow wrote:
>> Hi:
>> How do I build boost.regex on windows with bjam and icu support?

bjam -sICU_PATH=c:\path-to-icu --with-regex stage

HTH, John.
Sean Farrow | 7 Sep 21:30

Re: Building boost.regex with icu support

Hi: 
I get a build-no directory with the following command-line:
Bjam -SICU_PATH="c:\program files\icu" --toolset=msvc-8.0
--build-type=complete
Is this normal, given that icu is a dll? 
Cheers
Sean.
-----Original Message-----
From: boost-users-bounces <at> lists.boost.org
[mailto:boost-users-bounces <at> lists.boost.org] On Behalf Of John Maddock
Sent: 07 September 2008 17:08
To: boost-users <at> lists.boost.org
Subject: Re: [Boost-users] Building boost.regex with icu support

Sean Farrow wrote:
>> Hi:
>> How do I build boost.regex on windows with bjam and icu support?

bjam -sICU_PATH=c:\path-to-icu --with-regex stage

HTH, John.
_______________________________________________
Boost-users mailing list
Boost-users <at> lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users

__________ Information from ESET NOD32 Antivirus, version of virus
signature database 3423 (20080906) __________

The message was checked by ESET NOD32 Antivirus.
(Continue reading)

Andrea Denzler | 7 Sep 21:50
Favicon
Gravatar

Re: Building boost.regex with icu support

Sean,

- What you mean exactly with build-no directory?
- I suppose you used -s and not -S
- Be sure that you have "c:\program files\icu\include" and "c:\program
files\icu\lib" path
- specify option --with-regex else you are building ALL libraries, and maybe
not ALL of them are compatible with ICU (there was compiling issues with
boost 1.35).
- output library will be located into boost\stage directory

Andrea

> -----Messaggio originale-----
> Da: boost-users-bounces <at> lists.boost.org [mailto:boost-users-
> bounces <at> lists.boost.org] Per conto di Sean Farrow
> Inviato: domenica 7 settembre 2008 21.30
> A: boost-users <at> lists.boost.org
> Oggetto: Re: [Boost-users] Building boost.regex with icu support
> 
> Hi:
> I get a build-no directory with the following command-line:
> Bjam -SICU_PATH="c:\program files\icu" --toolset=msvc-8.0
> --build-type=complete
> Is this normal, given that icu is a dll?
> Cheers
> Sean.
> -----Original Message-----
> From: boost-users-bounces <at> lists.boost.org
> [mailto:boost-users-bounces <at> lists.boost.org] On Behalf Of John Maddock
(Continue reading)

Sean Farrow | 7 Sep 21:55

Re: Building boost.regex with icu support

Do I add this to my path, on windows?
Sean. 

-----Original Message-----
From: boost-users-bounces <at> lists.boost.org
[mailto:boost-users-bounces <at> lists.boost.org] On Behalf Of Andrea Denzler
Sent: 07 September 2008 20:51
To: boost-users <at> lists.boost.org
Subject: Re: [Boost-users] Building boost.regex with icu support

Sean,

- What you mean exactly with build-no directory?
- I suppose you used -s and not -S
- Be sure that you have "c:\program files\icu\include" and "c:\program
files\icu\lib" path
- specify option --with-regex else you are building ALL libraries, and
maybe
not ALL of them are compatible with ICU (there was compiling issues with
boost 1.35).
- output library will be located into boost\stage directory

Andrea

> -----Messaggio originale-----
> Da: boost-users-bounces <at> lists.boost.org [mailto:boost-users-
> bounces <at> lists.boost.org] Per conto di Sean Farrow
> Inviato: domenica 7 settembre 2008 21.30
> A: boost-users <at> lists.boost.org
> Oggetto: Re: [Boost-users] Building boost.regex with icu support
(Continue reading)

Andrea Denzler | 7 Sep 22:02
Favicon
Gravatar

Re: Building boost.regex with icu support

No, just be sure that those directories exists and that they contain the ICU
header files and libraries (.lib files). You may want to add the icu\bin
directory to the Windows Path if you want to avoid copying the ICU DLL files
together with the final executable. 

Andrea

> -----Messaggio originale-----
> Da: boost-users-bounces <at> lists.boost.org [mailto:boost-users-
> bounces <at> lists.boost.org] Per conto di Sean Farrow
> Inviato: domenica 7 settembre 2008 21.56
> A: boost-users <at> lists.boost.org
> Oggetto: Re: [Boost-users] Building boost.regex with icu support
> 
> Do I add this to my path, on windows?
> Sean.
> 
> -----Original Message-----
> From: boost-users-bounces <at> lists.boost.org
> [mailto:boost-users-bounces <at> lists.boost.org] On Behalf Of Andrea Denzler
> Sent: 07 September 2008 20:51
> To: boost-users <at> lists.boost.org
> Subject: Re: [Boost-users] Building boost.regex with icu support
> 
> Sean,
> 
> - What you mean exactly with build-no directory?
> - I suppose you used -s and not -S
> - Be sure that you have "c:\program files\icu\include" and "c:\program
> files\icu\lib" path
(Continue reading)

Andrea Denzler | 7 Sep 21:54
Favicon
Gravatar

Re: Building boost.regex with icu support

Sean, I'm not sure if --toolset=msvc-8.0 works --toolset=msvc

Try:

bjam -sICU_PATH="c:\program files\icu" --toolset=msvc --with-regex stage
--build-type=complete

> -----Messaggio originale-----
> Da: boost-users-bounces <at> lists.boost.org [mailto:boost-users-
> bounces <at> lists.boost.org] Per conto di Sean Farrow
> Inviato: domenica 7 settembre 2008 21.30
> A: boost-users <at> lists.boost.org
> Oggetto: Re: [Boost-users] Building boost.regex with icu support
> 
> Hi:
> I get a build-no directory with the following command-line:
> Bjam -SICU_PATH="c:\program files\icu" --toolset=msvc-8.0
> --build-type=complete
> Is this normal, given that icu is a dll?
> Cheers
> Sean.
> -----Original Message-----
> From: boost-users-bounces <at> lists.boost.org
> [mailto:boost-users-bounces <at> lists.boost.org] On Behalf Of John Maddock
> Sent: 07 September 2008 17:08
> To: boost-users <at> lists.boost.org
> Subject: Re: [Boost-users] Building boost.regex with icu support
> 
> Sean Farrow wrote:
> >> Hi:
(Continue reading)


Gmane