Sorry, you need to run: "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin\vcvars32.bat"
first. Then it will work correctly. Thanks, Joseph Dane Anderson wrote: > What it gets me is an error dialog telling me that mspdb80.dll was not > found. Since I installed everything on the install disk for VS 2005 > I suspect that is something I will have to hunt for. > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:cryptopp- >> [EMAIL PROTECTED] On Behalf Of Joseph Galbraith >> Sent: Tuesday, December 12, 2006 12:33 PM >> To: [EMAIL PROTECTED] >> Subject: Re: Crypto++ 5.4 beta release >> >> >> Jeffrey Walton wrote: >>> Hi Dane, >>> >>> Are you using the static version of the library, or linking to the > DLL? >>>> Is there some tool, that you can suggest, to "dump" the symbols in > the >>>> library so I can see what is actually IN it >>> dumpbin /EXPORTS. It comes with Visual C++6.0 (and I imagine later). >> Dane, >> >> The following command (pardon the wrapping) >> >> "C:\Program Files (x86)\Microsoft Visual Studio 8 >> \VC\bin\dumpbin.exe" /all >> "c:\dev80\external\lib\x64\crypto++\5.3\cryptlib53.lib" | grep >> [EMAIL PROTECTED] >> >> Yielded this on my system (this is against a snopshot of CVS >> from several months ago): >> 29D81C0 [EMAIL PROTECTED]@CryptoPP@@UEBA_KXZ >> 5F [EMAIL PROTECTED]@CryptoPP@@UEBA_KXZ >> >> What does the command give you if you run it against your .lib? >> >> Thanks, >> >> Joseph >> >> PS. /EXPORTS won't work against a .lib, only a .dll or .exe >> >>> On 12/12/06, Dane <[EMAIL PROTECTED]> wrote: >>>> Thank you for your response. >>>> >>>> I question if that really is the problem. As you can see from the > list >>>> of libraries, cryptopp.lib is at the top of the list, >>>> and the directory it's sitting in is at the front of THAT list. The >>>> output clearly indicates the library is being searched, >>>> but the unresolved symbols that it SHOULD contain are not being > found. >>>> my library list is (copy and paste from properties - linker - input > - >>>> additional dependencies): >>>> >>>> cryptopp.lib >>>> ddraw.lib >>>> urlmon.lib >>>> Netapi32.lib >>>> winmm.lib >>>> odbc32.lib >>>> odbccp32.lib >>>> wininet.lib >>>> shlwapi.lib >>>> version.lib >>>> Ws2_32.lib >>>> setupapi.lib >>>> libcpmtd.lib >>>> >>>> and the library directories are (copy and paste from properties - >>>> linker - general - additional library directories): >>>> ..\CryptLib540\Win32\dll_output\debug;"C:\Program >>>> Files\DirectX\Microsoft DirectX SDK (June 2006)\Lib\x86" >>>> >>>> During the link step I get the following output: >>>> >>>> 1>Searching libraries >>>> 1> Searching ..\CryptLib540\Win32\dll_output\debug\cryptopp.lib: >>>> ... >>>> 1> Searching ..\CryptLib540\Win32\dll_output\debug\cryptopp.lib: >>>> ... >>>> 1> Searching ..\CryptLib540\Win32\dll_output\debug\cryptopp.lib: >>>> ... >>>> 1>Finished searching libraries >>>> ... >>>> 1> Creating library .\DebugA/IntavaMEF.lib and object >>>> .\DebugA/IntavaMEF.exp >>>> 1>Searching libraries >>>> 1> Searching ..\CryptLib540\Win32\dll_output\debug\cryptopp.lib: >>>> 1>Finished searching libraries >>>> ... >>>> >>>> I got your E-Mails (one suggesting it wasn't in the paths and one >>>> pointing me at the web page >>>> http://www.codeproject.com/useritems/CryptoPPIntegration.asp). But > as >>>> you can see for >>>> whatever reason, that information has not solved the problem. >>>> >>>> Is there some tool, that you can suggest, to "dump" the symbols in > the >>>> library so I can see >>>> what is actually IN it, so I can see if it SHOULD be finding or not >>>> finding them? >>>> >>>> The output errors are: >>>> >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual unsigned long __thiscall >>>> CryptoPP::BufferedTransformation::MaxRetrievable(void)const " >>>> ([EMAIL PROTECTED]@CryptoPP@@UBEKXZ) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual unsigned long __thiscall >>>> CryptoPP::BufferedTransformation::Skip(unsigned long)" >>>> ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual unsigned long __thiscall >>>> CryptoPP::BufferedTransformation::TotalBytesRetrievable(void)const > " >>>> ([EMAIL PROTECTED]@CryptoPP@@UBEKXZ) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual unsigned int __thiscall CryptoPP::Filter::TransferTo2(class >>>> CryptoPP::BufferedTransformation &,unsigned long &,class >>>> std::basic_string<char,struct std::char_traits<char>,class >>>> std::allocator<char> > const &,bool)" >>>> > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]@AAKABV?$b > as >> [EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL >> PROTECTED]) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual unsigned int __thiscall > CryptoPP::Filter::CopyRangeTo2(class >>>> CryptoPP::BufferedTransformation &,unsigned long &,unsigned > long,class >>>> std::basic_string<char,struct std::char_traits<char>,class >>>> std::allocator<char> > const &,bool)const " >>>> > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]@AAKKABV? > $b >> [EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL >> PROTECTED]) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual void __thiscall >>>> CryptoPP::BufferedTransformation::ChannelInitialize(class >>>> std::basic_string<char,struct std::char_traits<char>,class >>>> std::allocator<char> > const &,class CryptoPP::NameValuePairs const >>>> &,int)" >>>> > ([EMAIL PROTECTED]@CryptoPP@@UAEXABV?$basic_stri > ng > @[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]@[EMAIL > PROTECTED]) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual void __thiscall >>>> CryptoPP::BufferedTransformation::GetWaitObjects(class >>>> CryptoPP::WaitObjectContainer &)" >>>> > ([EMAIL PROTECTED]@CryptoPP@@UAEXAAVWaitObjectConta > in >> [EMAIL PROTECTED]@@Z) >>>> 1>SimUtils.obj : error LNK2019: unresolved external symbol "public: >>>> __thiscall >>>> CryptoPP::DefaultEncryptorWithMAC::DefaultEncryptorWithMAC(char > const >>>> *,class CryptoPP::BufferedTransformation *)" >>>> > ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@1 > @@ >> Z) >>>> referenced in function "bool __cdecl > RaptorEncryptSourceToSink(class >>>> CryptoPP::Source *,class CryptoPP::BufferedTransformation >>>> *,int,int,unsigned char const *)" >>>> > (?RaptorEncryptSourceToSink@@[EMAIL PROTECTED]@@PAVBufferedTransfor > ma >> [EMAIL PROTECTED]@[EMAIL PROTECTED]) >>>> 1>SimUtils.obj : error LNK2019: unresolved external symbol "public: >>>> __thiscall CryptoPP::CRC32::CRC32(void)" > ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) >>>> referenced in function "public: __thiscall > CryptoPP::Gzip::Gzip(class >>>> CryptoPP::BufferedTransformation *,unsigned int,unsigned int)" >>>> ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@Z) >>>> 1>SimUtils.obj : error LNK2019: unresolved external symbol "public: >>>> __thiscall CryptoPP::Deflator::Deflator(class >>>> CryptoPP::BufferedTransformation *,int,int)" >>>> ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@Z) > referenced >>>> in function "public: __thiscall CryptoPP::Gzip::Gzip(class >>>> CryptoPP::BufferedTransformation *,unsigned int,unsigned int)" >>>> ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@Z) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual unsigned int __thiscall CryptoPP::Deflator::Put2(unsigned > char >>>> const *,unsigned int,int,bool)" >>>> ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual void __thiscall > CryptoPP::Deflator::IsolatedInitialize(class >>>> CryptoPP::NameValuePairs const &)" >>>> ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]@@Z) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual bool __thiscall > CryptoPP::Deflator::IsolatedFlush(bool,bool)" >>>> ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol > "protected: >>>> virtual void __thiscall CryptoPP::Gzip::WritePrestreamHeader(void)" >>>> ([EMAIL PROTECTED]@CryptoPP@@MAEXXZ) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol > "protected: >>>> virtual void __thiscall >>>> CryptoPP::Gzip::ProcessUncompressedData(unsigned char const > *,unsigned >>>> int)" ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol > "protected: >>>> virtual void __thiscall CryptoPP::Gzip::WritePoststreamTail(void)" >>>> ([EMAIL PROTECTED]@CryptoPP@@MAEXXZ) >>>> 1>SimUtils.obj : error LNK2019: unresolved external symbol "public: >>>> __thiscall >>>> CryptoPP::DefaultDecryptorWithMAC::DefaultDecryptorWithMAC(char > const >>>> *,class CryptoPP::BufferedTransformation *,bool)" >>>> > ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@1 > @_ >> [EMAIL PROTECTED]) >>>> referenced in function "bool __cdecl > RaptorDecryptSourceToSink(class >>>> CryptoPP::Source *,class CryptoPP::BufferedTransformation >>>> *,int,int,unsigned char const *)" >>>> > (?RaptorDecryptSourceToSink@@[EMAIL PROTECTED]@@PAVBufferedTransfor > ma >> [EMAIL PROTECTED]@[EMAIL PROTECTED]) >>>> 1>SimUtils.obj : error LNK2019: unresolved external symbol "public: >>>> __thiscall CryptoPP::Gunzip::Gunzip(class >>>> CryptoPP::BufferedTransformation *,bool,int)" >>>> ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@Z) > referenced >>>> in function "bool __cdecl RaptorDecryptSourceToSink(class >>>> CryptoPP::Source *,class CryptoPP::BufferedTransformation >>>> *,int,int,unsigned char const *)" >>>> > (?RaptorDecryptSourceToSink@@[EMAIL PROTECTED]@@PAVBufferedTransfor > ma >> [EMAIL PROTECTED]@[EMAIL PROTECTED]) >>>> 1>SimUtils.obj : error LNK2019: unresolved external symbol > "private: >>>> static int const * __cdecl >>>> CryptoPP::HexDecoder::GetDecodingLookupArray(void)" >>>> ([EMAIL PROTECTED]@CryptoPP@@CAPBHXZ) referenced > in >>>> function "public: __thiscall CryptoPP::HexDecoder::HexDecoder(class >>>> CryptoPP::BufferedTransformation *)" >>>> ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@1@@Z) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol > "private: >>>> static unsigned long const * const CryptoPP::CRC32::m_tab" >>>> ([EMAIL PROTECTED]@CryptoPP@@0QBKB) >>>> 1>SimUtils.obj : error LNK2019: unresolved external symbol > "private: >>>> static int const * __cdecl >>>> CryptoPP::Base64Decoder::GetDecodingLookupArray(void)" >>>> ([EMAIL PROTECTED]@CryptoPP@@CAPBHXZ) > referenced in >>>> function "public: __thiscall >>>> CryptoPP::Base64Decoder::Base64Decoder(class >>>> CryptoPP::BufferedTransformation *)" >>>> ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@1@@Z) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> static class std::basic_string<char,struct > std::char_traits<char>,class >>>> std::allocator<char> > const >>>> CryptoPP::BufferedTransformation::NULL_CHANNEL" >>>> > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED] > r_ >> [EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@B) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual void __thiscall >>>> CryptoPP::BlockOrientedCipherModeBase::UncheckedSetKey(class >>>> CryptoPP::NameValuePairs const &,unsigned char const *,unsigned > int)" > ([EMAIL PROTECTED]@CryptoPP@@UAEXABVNameValue > Pa >> [EMAIL PROTECTED]@[EMAIL PROTECTED]) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual void __thiscall CryptoPP::CipherModeBase::SetKey(unsigned > char >>>> const *,unsigned int,class CryptoPP::NameValuePairs const &)" >>>> ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]@@Z) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual struct CryptoPP::DecodingResult __thiscall >>>> CryptoPP::PK_FixedLengthDecryptor::Decrypt(class >>>> CryptoPP::RandomNumberGenerator &,unsigned char const *,unsigned >>>> int,unsigned char *)const " >>>> > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]@AAVRa > nd >> [EMAIL PROTECTED]@[EMAIL PROTECTED]) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual class CryptoPP::BufferedTransformation * __thiscall >>>> CryptoPP::PK_Decryptor::CreateDecryptionFilter(class >>>> CryptoPP::RandomNumberGenerator &,class >>>> CryptoPP::BufferedTransformation *)const " >>>> > ([EMAIL PROTECTED]@CryptoPP@@UBEPAVBufferedTransforma > ti >> [EMAIL PROTECTED]@[EMAIL PROTECTED]@PAV32@@Z) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual struct CryptoPP::DecodingResult __thiscall >>>> CryptoPP::TF_DecryptorBase::FixedLengthDecrypt(class >>>> CryptoPP::RandomNumberGenerator &,unsigned char const *,unsigned > char >>>> *)const " >>>> > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]@A > AV >> [EMAIL PROTECTED]@[EMAIL PROTECTED]) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual unsigned int __thiscall >>>> CryptoPP::PK_FixedLengthCryptoSystem::MaxPlaintextLength(unsigned >>>> int)const " >>>> ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual unsigned int __thiscall >>>> CryptoPP::PK_FixedLengthCryptoSystem::CiphertextLength(unsigned >>>> int)const " >>>> ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual unsigned int __thiscall >>>> CryptoPP::PKCS_EncryptionPaddingScheme::MaxUnpaddedLength(unsigned >>>> int)const " >>>> ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual void __thiscall >>>> CryptoPP::PKCS_EncryptionPaddingScheme::Pad(class >>>> CryptoPP::RandomNumberGenerator &,unsigned char const *,unsigned >>>> int,unsigned char *,unsigned int)const " >>>> > ([EMAIL PROTECTED]@CryptoPP@@UBEXAAVRandomNumberGenerato > r@ >> [EMAIL PROTECTED]@Z) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual struct CryptoPP::DecodingResult __thiscall >>>> CryptoPP::PKCS_EncryptionPaddingScheme::Unpad(unsigned char const >>>> *,unsigned int,unsigned char *)const " >>>> > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]@PB > EI >> [EMAIL PROTECTED]) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual void __thiscall >>>> CryptoPP::DES::Base::ProcessAndXorBlock(unsigned char const > *,unsigned >>>> char const *,unsigned char *)const " >>>> ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "class >>>> CryptoPP::NullNameValuePairs const CryptoPP::g_nullNameValuePairs" >>>> ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@B) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual unsigned int __thiscall >>>> CryptoPP::StringStore::TransferTo2(class >>>> CryptoPP::BufferedTransformation &,unsigned long &,class >>>> std::basic_string<char,struct std::char_traits<char>,class >>>> std::allocator<char> > const &,bool)" >>>> > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]@AAKA > BV >> [EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL >> PROTECTED]) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "public: >>>> virtual unsigned int __thiscall >>>> CryptoPP::StringStore::CopyRangeTo2(class >>>> CryptoPP::BufferedTransformation &,unsigned long &,unsigned > long,class >>>> std::basic_string<char,struct std::char_traits<char>,class >>>> std::allocator<char> > const &,bool)const " >>>> > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]@AAK > KA >> [EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL >> PROTECTED]) >>>> 1>SimUtils.obj : error LNK2019: unresolved external symbol "public: >>>> void __thiscall CryptoPP::DES::Base::UncheckedSetKey(enum >>>> CryptoPP::CipherDir,unsigned char const *,unsigned int)" >>>> ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) >>>> referenced in function "void __cdecl CryptoPP::CheckedSetKey<class >>>> CryptoPP::BlockCipherTemplate<0,class CryptoPP::DES::Base> >(class >>>> CryptoPP::BlockCipherTemplate<0,class CryptoPP::DES::Base> *,enum >>>> CryptoPP::CipherDir,unsigned char const *,unsigned int,class >>>> CryptoPP::NameValuePairs const &)" >>>> > ([EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@Crypto > PP > @@@CryptoPP@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@CryptoPP@@@[EMAIL PROTECTED] > ph >> [EMAIL PROTECTED]@[EMAIL PROTECTED]@@Z) >>>> 1>SimUtils.obj : error LNK2019: unresolved external symbol "public: >>>> void __thiscall CryptoPP::DES_EDE3::Base::UncheckedSetKey(enum >>>> CryptoPP::CipherDir,unsigned char const *,unsigned int)" >>>> ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) >>>> referenced in function "void __cdecl CryptoPP::CheckedSetKey<class >>>> CryptoPP::BlockCipherTemplate<1,class CryptoPP::DES_EDE3::Base> >> (class >>>> CryptoPP::BlockCipherTemplate<1,class CryptoPP::DES_EDE3::Base> > *,enum >>>> CryptoPP::CipherDir,unsigned char const *,unsigned int,class >>>> CryptoPP::NameValuePairs const &)" >>>> > ([EMAIL PROTECTED]@[EMAIL PROTECTED]@CryptoPP@@@Cr > yp > toPP@@@CryptoPP@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@ > @@ >> [EMAIL PROTECTED]@[EMAIL PROTECTED]@0@@Z) >>>> 1>SimUtils.obj : error LNK2001: unresolved external symbol "bool >>>> (__cdecl* CryptoPP::AssignIntToInteger)(class type_info const > &,void >>>> *,void const *)" >>>> ([EMAIL PROTECTED]@@3P6A_NABVtype_info@@[EMAIL PROTECTED]) >>>> 1>SimUtils.obj : error LNK2019: unresolved external symbol > "protected: >>>> void __thiscall >>>> CryptoPP::SimpleKeyingInterface::ThrowIfInvalidKeyLength(class >>>> CryptoPP::Algorithm const &,unsigned int)" >>>> > ([EMAIL PROTECTED]@CryptoPP@@IAEXABVAlgorit > hm >> @[EMAIL PROTECTED]@Z) >>>> referenced in function "public: void __thiscall >>>> CryptoPP::SimpleKeyedTransformation<class >>>> CryptoPP::BlockTransformation>::ThrowIfInvalidKeyLength(unsigned > int)" > ([EMAIL PROTECTED]@VBlockTransformati > on >> @CryptoPP@@@CryptoPP@@[EMAIL PROTECTED]) >>>> >> >> > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
