* Jonathan Brownell (alphaomega@p...) wrote:
Thank you all for your prompt responses. I comment further below:
[snip]
Again, my problem when linking with the library in VC6 is that libboost_thread.lib(exceptions.obj) has one unresolved external symbol for basic_string::basic_string(char const *).
I'm still flummoxed. If you have more ideas, I would really appreciate them.
Indeed, make sure that all the runtimes are the same. This means
--- In Boost-Users@y..., Manu Heirbaut
the selected runtime to build the DLL should match the runtime used to build the client application. But most of the time this doesn't give any build errors. It will give you strange runtime errors when trying to delete some objects allocated by another runtime version.
I remember having a similar problem as the one you described, and
trouble with the code at hand was mixing different header includes. Allways #include <string>, NEVER use the deprecated #include
(or at least, don't mix them!). The same goes for other standard
Usually the result will be link errors, actually. One of the few exceptions to this is mixing debug and release versions. the library
header files. Use <iostream> instead
, etc...
I hope this will solve your problem.
His problem has been solved. It was, as I suspected, that he was linking against the static runtime library. Bill Kempf