Hello,
On Wed, Sep 8, 2010 at 4:08 PM, Sean Farrow
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