Boost logo

Boost Users :

From: Amittai Aviram amittai_at_[hidden])
Date: 2003-01-31 20:21:13


--- In Boost-Users_at_[hidden], "John Maddock"
<john_maddock_at_c...> wrote:
> > I am trying to get my DLL to get linked statically with the
> > boost::regex library and having _no success_. I have tried
putting
> > this line into one of the header files:
> >
> > #define BOOST_REGEX_STATIC_LINK
>
> That will do the job, provided you don't want the regex code
exposed from
> the dll.

I'm afraid that it didn't do it. I am working in Microsoft Visual
C++ 6 and building the project as a "Release" build (as the
documentation requires), but I still find that, if I then change the
name of boost_regex_vc6_mdi.dll on my machine (to,
say, "xboost_regex_vc6_mdi.dll"), I get a message box when running
the DLL's client that says that that file is missing and must be
installed. Why isn't this working? Is there anything else I need to
attend to in the Projects->Settings options? Should the .lib be
listed among the include files in Projects->Settings or not?
Anything else?

I'd appreciate your help. Thanks.

Amittai


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