
I get the following errors and warnings:
C:\Boost\include\boost-1_31\boost\regex\v4\perl_matcher_recursive.hpp(403):
warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int',
possible loss of data
stlport_test error LNK2019: unresolved external symbol "public: __thiscall
boost::reg_expression (class boost::regex_traits<char> const &,unsigned int)"
(??$raise_error@V?$regex_traits@D@boost@@@re_detail@boost@@YAXABV?$regex_tra
its@D@1@I@Z)
stlport_test error LNK2019: unresolved external symbol "protected: static
bool __fastcall boost::reg_expression Just to test that I compiled against stlport I took it out of the include
path and I got this:
stlport_test fatal error LNK1104: cannot open file
'libboost_regex-vc71-mt-1_31.lib'
So it is built against stlport. About boost not being built against stlport
because of a wrong STLPORT_PATH variable, that isn't possible as it is
checked at build-time by bjam.
The only other thing I can mention is that I also applied the
boost-1.31.0-regex-patch-20040503.zip patch...
Seeing as noone can fix this, can someone tell me of another regex package
besides microsoft's atl? I'm looking for something more perl-like...
----------------------------------
Peace and love,
Tweety
mitea@sympatico.ca - tweety_04_01@users.sourceforge.net
YahooID: tweety_04_01 -----Original Message-----
From: boost-users-bounces@lists.boost.org
[mailto:boost-users-bounces@lists.boost.org] On Behalf Of John Maddock
Sent: July 23, 2004 7:51 AM
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] building boost on vc7.1 with stlport Hmm... In all the tests I ran I think I forgot to remove
that library (I
was
forcefully adding it for some reason).
Now I'm exactly where I was at the beginning: when I
compile my program I
get these 2 linker errors: Then I'm stuck 'cos it works for me, I'm attaching a small
project that you
should be able to build OK, if the libraries were correctly built. Note: In debug mode you must select one of the multithreaded
debug runtimes
and define __STL_DEBUG, but you'll get a compile time error
if you don't do
that anyway.
You can also define BOOST_LIB_DIAGNOSTIC to find out which
lib file is being
linked against. But my guess is that the lib's you built
were not built
against STLPort (incorrect STLPORT_PATH). John. **************************************************************
***************
**
**
** WARNING: This email contains an attachment of a very
suspicious type. **
** You are urged NOT to open this attachment unless you are
absolutely **
** sure it is legitmate. Opening this attachment may cause
irreparable **
** damage to your computer and your files. If you have any
questions **
** about the validity of this message, PLEASE SEEK HELP
BEFORE OPENING IT. **
**
**
**************************************************************
***************