Boost logo

Boost Users :

Subject: Re: [Boost-users] Multiple defined symbols
From: Lloyd (lloydkl.tech_at_[hidden])
Date: 2015-04-09 00:28:55


I was using a wrong directive "BOOST_ALL_DYN_DLL" instead of the
correct "BOOST_ALL_DYN_LINK".
Thanks a lot for your valuable help.

On Thu, Apr 9, 2015 at 12:15 AM, Steven Watanabe <watanabesj_at_[hidden]>
wrote:

> AMDG
>
> On 04/08/2015 12:30 PM, David Medine wrote:
> > Along these lines, I have been having the opposite problem on Mac --
> > trying to link only with static libraries and getting the dynamic
> > libraries instead. What are the magic words there? Something like
> >
> > -DBOOST_NO_DYN_LINK, -DBOOST_ALL_LIB_LINK ???
> >
>
> There is no autolinking on OSX. If the linker
> is finding the wrong library, you'll need to
> change the link command to search for a static
> library, instead.
>
> > I have to don't understand why it would ever be advantageous for any
> > library to autolink behind the programmer's back. I'm sure there must be
> > a reason, though.
> >
>
> autolink always chooses the library that
> matches your build settings. It's very
> easy to get this wrong if you're linking
> manually.
>
> In Christ,
> Steven Watanabe
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



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