Hi Dane, The Crypto++ Library is not on path, or the 5.4 Library is not the first on path.
Jeff On 12/11/06, Dane <[EMAIL PROTECTED]> wrote: > > I downloaded and built this. As long as I don't try to change the > directory > paths that the stuff gets built to, it builds just fine. I am in the > process of > upgrading, an application we have that uses the lib, to VS 2005. Under > VS 6 the application links to the 5.1 release. When I try to link to > the > 5.4 release using VS2005 I get a boatload of unresolved externals. All > of > them are from functions inside classes of CryptoPP. I suspect that my > build of the 5.4 is needing some compile time definition, but have no > idea > what it should be, or if it should have some value. Is there any chance > of some assistance with this problem? The errors I'm getting are: > > Error 270 error LNK2001: unresolved external symbol "public: virtual > unsigned long __thiscall > CryptoPP::BufferedTransformation::MaxRetrievable(void)const " > ([EMAIL PROTECTED]@CryptoPP@@UBEKXZ) SimUtils.obj > Error 271 error LNK2001: unresolved external symbol "public: virtual > unsigned long __thiscall > CryptoPP::BufferedTransformation::Skip(unsigned long)" > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]) SimUtils.obj > Error 272 error LNK2001: unresolved external symbol "public: virtual > unsigned long __thiscall > CryptoPP::BufferedTransformation::TotalBytesRetrievable(void)const " > ([EMAIL PROTECTED]@CryptoPP@@UBEKXZ) SimUtils.obj > Error 273 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]@[EMAIL PROTECTED]@[EMAIL > PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]) SimUtils.obj > Error 274 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]@[EMAIL PROTECTED]@[EMAIL > PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]) SimUtils.obj > Error 275 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@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL > PROTECTED]@2@@std@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) SimUtils.obj > Error 276 error LNK2001: unresolved external symbol "public: virtual > void __thiscall CryptoPP::BufferedTransformation::GetWaitObjects(class > CryptoPP::WaitObjectContainer &)" > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]@@Z) SimUtils.obj > Error 277 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]@@[EMAIL PROTECTED]@[EMAIL > PROTECTED]) SimUtils.obj > Error 278 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) SimUtils.obj > Error 279 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) SimUtils.obj > Error 280 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]) SimUtils.obj > Error 281 error LNK2001: unresolved external symbol "public: virtual > void __thiscall CryptoPP::Deflator::IsolatedInitialize(class > CryptoPP::NameValuePairs const &)" > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]@@Z) SimUtils.obj > Error 282 error LNK2001: unresolved external symbol "public: virtual > bool __thiscall CryptoPP::Deflator::IsolatedFlush(bool,bool)" > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]) SimUtils.obj > Error 283 error LNK2001: unresolved external symbol "protected: virtual > void __thiscall CryptoPP::Gzip::WritePrestreamHeader(void)" > ([EMAIL PROTECTED]@CryptoPP@@MAEXXZ) SimUtils.obj > Error 284 error LNK2001: unresolved external symbol "protected: virtual > void __thiscall CryptoPP::Gzip::ProcessUncompressedData(unsigned char > const *,unsigned int)" > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]) SimUtils.obj > Error 285 error LNK2001: unresolved external symbol "protected: virtual > void __thiscall CryptoPP::Gzip::WritePoststreamTail(void)" > ([EMAIL PROTECTED]@CryptoPP@@MAEXXZ) SimUtils.obj > Error 286 error LNK2019: unresolved external symbol "public: __thiscall > CryptoPP::DefaultDecryptorWithMAC::DefaultDecryptorWithMAC(char const > *,class CryptoPP::BufferedTransformation *,bool)" > ([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]@@[EMAIL PROTECTED]@[EMAIL > PROTECTED]) SimUtils.obj > Error 287 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]@@[EMAIL PROTECTED]@[EMAIL > PROTECTED]) SimUtils.obj > Error 288 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) SimUtils.obj > Error 289 error LNK2001: unresolved external symbol "private: static > unsigned long const * const CryptoPP::CRC32::m_tab" > ([EMAIL PROTECTED]@CryptoPP@@0QBKB) SimUtils.obj > Error 290 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) SimUtils.obj > Error 291 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]@[EMAIL PROTECTED]@@[EMAIL > PROTECTED]@2@@std@@B) SimUtils.obj > Error 292 error LNK2001: unresolved external symbol "public: virtual > void __thiscall > CryptoPP::BlockOrientedCipherModeBase::UncheckedSetKey(class > CryptoPP::NameValuePairs const &,unsigned char const *,unsigned int)" > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) SimUtils.obj > Error 293 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) SimUtils.obj > Error 294 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]@[EMAIL PROTECTED]@[EMAIL > PROTECTED]) SimUtils.obj > Error 295 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@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@PAV32@@Z) > SimUtils.obj > Error 296 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]@[EMAIL PROTECTED]@[EMAIL > PROTECTED]) SimUtils.obj > Error 297 error LNK2001: unresolved external symbol "public: virtual > unsigned int __thiscall > CryptoPP::PK_FixedLengthCryptoSystem::MaxPlaintextLength(unsigned > int)const " > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]) SimUtils.obj > Error 298 error LNK2001: unresolved external symbol "public: virtual > unsigned int __thiscall > CryptoPP::PK_FixedLengthCryptoSystem::CiphertextLength(unsigned > int)const " > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]) SimUtils.obj > Error 299 error LNK2001: unresolved external symbol "public: virtual > unsigned int __thiscall > CryptoPP::PKCS_EncryptionPaddingScheme::MaxUnpaddedLength(unsigned > int)const " > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]) SimUtils.obj > Error 300 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@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) SimUtils.obj > Error 301 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]@[EMAIL PROTECTED]) > SimUtils.obj > Error 302 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]) SimUtils.obj > Error 303 error LNK2001: unresolved external symbol "class > CryptoPP::NullNameValuePairs const CryptoPP::g_nullNameValuePairs" > ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@B) SimUtils.obj > Error 304 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]@[EMAIL PROTECTED]@[EMAIL > PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]) SimUtils.obj > Error 305 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]@[EMAIL PROTECTED]@[EMAIL > PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]) SimUtils.obj > Error 306 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]@@@CryptoPP@@@CryptoPP@@[EMAIL PROTECTED]@[EMAIL > PROTECTED]@CryptoPP@@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@0@@Z) SimUtils.obj > Error 307 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@@@CryptoPP@@@CryptoPP@@[EMAIL > PROTECTED]@[EMAIL PROTECTED]@@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@0@@Z) > SimUtils.obj > Error 308 error LNK2001: unresolved external symbol "bool (__cdecl* > CryptoPP::AssignIntToInteger)(class type_info const &,void *,void const > *)" > ([EMAIL PROTECTED]@@3P6A_NABVtype_info@@[EMAIL PROTECTED]) SimUtils.obj > Error 309 error LNK2019: unresolved external symbol "protected: void > __thiscall > CryptoPP::SimpleKeyingInterface::ThrowIfInvalidKeyLength(class > CryptoPP::Algorithm const &,unsigned int)" > ([EMAIL PROTECTED]@CryptoPP@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) > referenced in function "public: void __thiscall > CryptoPP::SimpleKeyedTransformation<class > CryptoPP::BlockTransformation>::ThrowIfInvalidKeyLength(unsigned int)" > ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@@CryptoPP@@[EMAIL PROTECTED]) > SimUtils.obj > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
