I originally found out about this group when searching the Web for answers on Crypto++ problems I was having. I had run across Brian Smith's posting about a link error he was getting, which was the same problem I was having. There were several replies that did not address the real problem. I have the solution below. I'd like to get it on that thread, so that others who run across it on the Web (like me) will see the real solution, but I'm not sure how.

Anyway, here was the original problem:
------------------------------------------
I get many many unresolved external symbols such as this:

Linking...
cryptlibd.lib(iterhash.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" ([EMAIL [EMAIL PROTECTED] PROTECTED]@@[EMAIL [EMAIL PROTECTED]@@std@@[EMAIL PROTECTED])
----------------------------------------------


And here is the solution:
------------------------------------------
Simply switch your project from "Dynamically Linked to MFC library" to "Statically linked to MFC library"
and the problem goes away.
--------------------------------------------




Reply via email to