Im somewhat curious. SimUtils.cpp is one of your own files right? Does the simutils.cpp/h file have any includes? if so what...
its possible your including something in your simutils.cpp/.h that you should not be and therefore getting multiple defined errors. if you using precompiled headers... what does ur stdafx.h/cpp look like ? what are the settiings for the .cpp file? are you using auto pch or create via the .h file. Turn on Verbose linker output. see if you can locate both places its defined. Anthony On 12/12/06, Dane Anderson <[EMAIL PROTECTED]> wrote: > > Sigh. That got rid of the unresolved references. Only to replace them > with multiply defined symbols. > > Error 1 error LNK2005: "public: virtual void __thiscall > CryptoPP::HexDecoder::IsolatedInitialize(class CryptoPP::NameValuePairs > const &)" > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]@@Z) > already defined in SimUtils.obj cryptlib.lib > > And two more just like it. Any suggestions on getting rid of THOSE > (Please). > > By the way; Thank you for your help. > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:cryptopp- > > [EMAIL PROTECTED] On Behalf Of Wei Dai > > Sent: Tuesday, December 12, 2006 2:15 PM > > To: [EMAIL PROTECTED] > > Subject: Re: Crypto++ 5.4 beta release > > > > > > I think the problem is that you are actually linking against the > exports > > library for the DLL. The static library is > > Win32\output\debug\cryptlib.lib. > > The DLL and its exports library are in Win32\dll_output. Note the > "dll_" > > in > > the path name. I'll add this to the FAQ. > > > > Also, there shouldn't be any problems linking a DLL against a DLL. But > > using > > the static library saves on code size and I'd suggest it unless you > need > > to > > use the DLL for some reason (such as FIPS compliance). > > > > > I am trying to link to the static version (cryptopp.lib), mostly > > > because I am > > > trying to build an app that is a DLL (a COM DLL at that). Everything > > > I've > > > seen seems to indicate that VC8 DOESN'T like linking a DLL into a > DLL. > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cryptopp-users?hl=en -~----------~----~----~----~------~----~------~--~---
