Boost logo

Boost Users :

Subject: Re: [Boost-users] Using boost regex dll in code
From: John Maddock (john_at_[hidden])
Date: 2009-03-30 11:51:54


> If I have the boost_regex 1_38 dll and lib for VC 8, what steps do I need
> to
> take in order to use it in my code? Is there anything else that I need
> other than one of those?

The headers would be a good start :-)

You will need to define BOOST_REGEX_DYN_LINK when building so that the regex
lib knows to import code from a dll, otherwise the default is for it to
expect to static link.

And also note that there are two dll's for VC8, one for the debug runtime
and one for the release runtime.

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