|
Boost Users : |
Subject: Re: [Boost-users] [regex] problem with linking to boost_regex
From: John Maddock (john_at_[hidden])
Date: 2009-05-10 13:25:52
> this is the first time iam using boost::regex.
> when i compile the program, it lists a lot of 'undefined reference to' s
> to
> regex functions.
> tried setting linked flag -llibboost_regex-gcc43-mt and -L/usr/local/lib
> in
> eclipse but no use.
We would need to see the actual command lines and the error messages to
help, but one quick check is that the -llibboost_regex-gcc43-mt flag must
come *after* the object files that use on the linker command line.
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