For the record I was able to solve the problem:
In stlport user_config.h, one have to DISABLE

#define _STLP_USE_BOOST_SUPPORT 1

-if it is enabled,  boost comilation fails.

Another issue, I used wrong command line syntax, I was not able to get the right one, instead, I set

set stlport-iostream=on

 

Vyacheslav

-----Original Message-----
From: boost-build-bounces@lists.boost.org [mailto:boost-build-bounces@lists.boost.org]On Behalf Of Vyacheslav Zavadsky
Sent: Tuesday, September 11, 2007 11:13 AM
To: boost-build@lists.boost.org
Subject: [Boost-build] How to build boost with STLPORT, MSVC 2005,and stlport iostream

Hello everyone:
I stuck for several days trying to build boost with STLPORT and stlport iostream, and may be you will be able to help me
I modified the user.config file as follows
using stlport : : D:\\working\\projects\\ADA-VS2005\\STLport-5.1.3\\stlport ;
where the directory above contains stlport headers
 
When I run
  bjam --builddir=d:\build\b2 --with-thread --toolset=msvc-stlport stdlib=stlport "stdlib:stlport-iostream=on"
and I got a lot of syntax errors, beginning is copied below. Removal of stdlib=stlport from command line gets a clean compilation.
 
What I need to do?
Thank you
Slava
...patience...
...found 632 targets...
...updating 95 targets...
compile-c-c++ bin.v2\libs\thread\build\msvc-stlport\debug\stdlib-stlport\threadi
ng-multi\barrier.obj
barrier.cpp
.\boost/mpl/integral_c_tag.hpp(22) : error C2061: syntax error : identifier 'val
ue'
.\boost/mpl/integral_c_tag.hpp(22) : error C4430: missing type specifier - int a
ssumed. Note: C++ does not support default-int
.\boost/mpl/integral_c_tag.hpp(22) : warning C4183: 'BOOST_STATIC_CONSTANT': mis
sing return type; assumed to be a member function returning 'int'
.\boost/mpl/aux_/integral_wrapper.hpp(45) : error C2061: syntax error : identifi
er 'value'
        .\boost/mpl/aux_/integral_wrapper.hpp(81) : see reference to class templ
ate instantiation 'boost::mpl::int_<N>' being compiled
.\boost/mpl/aux_/integral_wrapper.hpp(45) : error C4430: missing type specifier
- int assumed. Note: C++ does not support default-int
.\boost/mpl/aux_/integral_wrapper.hpp(45) : warning C4183: 'BOOST_STATIC_CONSTAN
T': missing return type; assumed to be a member function returning 'int'
 
 
 
Vyacheslav Zavadsky, Ph.D.
Principal Software Architect
Semiconductor Insights,
3000 Solandt Road,
Kanata, ON, K2K 2X2
Canada
(613) 599 6500
vyacheslavz@semiconductor.com