|
Boost Users : |
Subject: Re: [Boost-users] issues when linking a library that uses boost classes
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2010-09-09 01:03:59
Hi:
Ok, all project are using the correct multi-threaded versions of the libs any other ideas?
Cheers
Sean.
-----Original Message-----
From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of dhruva
Sent: 09 September 2010 05:11
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] issues when linking a library that uses boost classes
Hello,
On Wed, Sep 8, 2010 at 4:08 PM, Sean Farrow
<sean.farrow_at_[hidden]> wrote:
> Hi:
>
> I've recently written a library that uses boost classes internally. The
> library (the release version) uses the visual studio multi-threaded static
> library. When I try to use the class in another program that uses boost
> classes it appears the relevant parts of the library don't get linked in.
> After specifying the lib on the linker tab (i.e the one that I've built) the
> build goes fine, but I get an excdeption when the app is run. Any ideas?
>
> I can replicate this with two projects, visual studio 2008, boost 1.44
> release.
>
> If anybody wants to take a look at the solution, I'm happy to send off-list.
Faced a similar problem when using boost::filesystem sometime back. It
was due to using a release build
of boost library with debug of my application. When I changed to use a
debug library version of boost,
the exception/crash disappeared.
-dhruva
_______________________________________________
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