Boost logo

Boost Users :

Subject: Re: [Boost-users] linking error while using Boost-regex and Stlport inthe same project
From: John Maddock (john_at_[hidden])
Date: 2008-12-15 05:56:36


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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net