
Ashish Lahane wrote:
John Maddock wrote:
Well... since you've used the makefile already, try something like:
export CXXFLAGS=-Ipath-to-stlport-include export LDFLAGS=STLPort-link-options make -B
Tried, still not working. Same errors. I couldn't get the library with name libboost_regex-gcc42-mt-p-1_37.a or libboost_regex-gcc42-mt-p-1_37.so Notice the '-p' in it. Is it that these libraries mean Boost compiled with STLPORT? Is it what I will need to link my project code with?
The "-p" is placed in the name if you build with bjam and stlport, not from the makefile.
Just to remind, whenever I use regex-boost alone for some toy example, it doesn't give any errors. I'm also using Xerces, ACE, XQUILLA, XALAN, XSD libraries in the same project. May some of these be the cause of this trouble?
Nope, last try: regex is "just a bunch of sources", they're located in libs/regex/src. So you can either add those directly to your project, or build them into a library from your IDE using the same build settings as the rest of your project. HTH, John.