Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost, MSVC 8 and StlPort
From: Andrea Denzler (andrea_at_[hidden])
Date: 2008-09-30 15:28:20


Hello Alex,

You need to download the boost soruce code and build the boost library with
stlport. Edit the tools\build\v2\user-config.jam file. 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

Use the -sICU_PATH if you want Unicode support and the U_STATIC... if you
want static linked libraries.

About compiling you can build a batch file, something like this:

@echo off
Rem -----------------------------------------------------
Rem Set Visual Studio command line environment
Rem -----------------------------------------------------
vsvars32
Rem -----------------------------------------------------
Rem Invoke boost build
Rem -----------------------------------------------------
bjam --build-dir="C:\boost_temp" --toolset=msvc ....
Rem -----------------------------------------------------

Byee
Andrea

> -----Messaggio originale-----
> Da: boost-users-bounces_at_[hidden] [mailto:boost-users-
> bounces_at_[hidden]] Per conto di Alex Oren
> Inviato: martedì 30 settembre 2008 21.12
> A: boost-users_at_[hidden]
> Oggetto: [Boost-users] Boost, MSVC 8 and StlPort
>
> Hello,
>
> I installed Boost via the BoostPro 1.36.0 Installer and trying to use the
> Regex package.
>
> Unfortunately, it does not want to link.
>
> I am using MSVC 8 (Visual Studio 2005) with StlPort instead of the native
> libraries.
> Boost tries to link libboost_regex-vc80-mt-gdp-1_36.lib which is not
> included in the distribution.
>
> I have bjam but I don't know what parameters to use so I couldn't build
> the debug library.
>
> Please help!
>
> Thank you,
> Alex.
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


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