Hi,
I'm having trouble tracking down a strange issue upon upgrading from 5.1 to 5.2.1.
Setup:
Windows 2000 sp4 VC++ 6 sp5 with processor pack. cryptest.exe v passes all tests for both 5.1 and 5.2.1.
Basically, I have a wrapper library (wrapper.lib) for accessing a few things in cryptlib.lib. And wrapper.lib compiles fine using the both 5.1 and 5.2.1 of cryptlib.lib header files.
However, when I try to use the new wrapper.lib based on cryptlib.lib 5.2.1 from other projects, I get link errors. When I recreate the wrapper.lib using cryptlib.lib 5.1, projects using wrapper.lib build just fine again.
I triple-verified these and they're all the same in all projects:
code generation: all settings identical (__cdecl*, multithreaded,...)
headers: wrapper.lib uses the correct version of crypto++ .h files
obj/lib files: correct version of .lib specifed in projects using wrapper.lib (cryptlib.lib vs cryptlib521.lib)
The errors are basically dozens of these while linking any project that tries to use the new cryptlib.lib:
LINK : warning LNK4049: locally defined symbol "[snip]" imported. wrapper.lib(wrapper.obj) : error LNK2001: unresolved external symbol
Any ideas? I'm probably missing something very simple but it is eluding me. I tried repeating the upgrade/rebuild process several times with identical results.
