Andrea Denzler | 30 Sep 21:28
Favicon
Gravatar

Re: Boost, MSVC 8 and StlPort

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> lists.boost.org [mailto:boost-users-
> bounces <at> lists.boost.org] Per conto di Alex Oren
> Inviato: martedì 30 settembre 2008 21.12
> A: boost-users <at> lists.boost.org
> 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> lists.boost.org
> http://lists.boost.org/mailman/listinfo.cgi/boost-users

Gmane