
hello, I'm using the boost::regex library with STLport 5.0 on VS.net 2003. But I failed with the following simple program: #include <rope> #include <boost/regex.hpp> int main(int argc, char* argv[]) { std::rope<int> r; std::string str; boost::regex reg("(\\d+),?"); std::string::const_iterator b = str.begin(); std::string::const_iterator e = str.end(); boost::sregex_iterator it(b, e, reg); boost::sregex_iterator end; return 0; } It's a Win 32 console program project. I have defined the _STLP_DEBUG macro for debug build and used the /MDd switch (multi-threaing, dynamic, debug, runtime lib). My procedures of building STLport 5.0 and boost are as follows(under the VS.net command prompt): STLport: In <STLport>\build\lib directory, type "nmake -fnmake-vc71.mak all install" boost: Run batch file with contents: SET PYTHON_ROOT="D:\Python24" SET PYTHON_VERSION=2.4.2 SET STLPORT_PATH="D:\" SET STLPORT_50_PATH="D:\STLport_50" SET STLPORT_VERSION=5.0 SET STLPORT_VERSIONS=5.0 SET VC71_ROOT="d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7" Bjam.exe -sBOOST_ROOT=. -sTOOLS=vc-7_1 "-sBUILD=debug release <runtime-link>static/dynamic <threading>single/multi" stage Bjam.exe -sBOOST_ROOT=. -sTOOLS=vc-7_1-stlport "-sBUILD=debug release <runtime-link>static/dynamic <threading>single/multi" stage Is there anything wrong? Thanks. Max