Boost logo

Boost Users :

Subject: Re: [Boost-users] [Regex] Source-only link error in MSVC
From: John Maddock (john_at_[hidden])
Date: 2009-05-20 05:02:06


> My embarrassment is outstripped only by my gratitude. That did
> help completely, so I just want to confirm it for indexing and
> posterity: I changed the #define BOOST_REGEX_SOURCE to
> BOOST_REGEX_NO_LIB (or BOOST_ALL_NO_LIB) instead, then right-
> clicked on Source Files, chose Add -> Existing Item, and added all
> the .cpp files in libs/regex/source. When I built, it compiled all
> those .cpp files (where obviously it wasn't before), then linked
> successfully and everything just worked and everyone lived happily
> ever after.

Yep, that's correct, glad it worked out for you.

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