Boost logo

Boost :

From: e_macdon_at_[hidden]
Date: 2001-08-04 23:25:27


--- In boost_at_y..., Douglas Gregor <gregod_at_c...> wrote:
> On Saturday 04 August 2001 08:44, you wrote:
> [snip]
> > Linking regex_match_example.o ...
> > g++ \
> > -L/usr/lib/boost_1_23_0/libs/regex/build/gcc\
> > -lboost_regex\
> > regex_match_example.o\
> > -o reTEST
>
> It's a linking order problem (note the "undefined reference" errors
below).

[snip]

> swap the order of the two:
> g++ -L/usr/lib/boost_1_23_0/libs/regex/build/gcc
regex_match_example.o
> -lboost_regex -o reTEST

[snip]

thank you very much :-)
works like a charm...

> Doug

ed


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk