Can you post a diff for the updates? On May 18, 3:43 pm, "bill.johnson3l33t" <[email protected]> wrote: > Hi > I edit source code and I compiled successfully cryptopp 5.6.0 at > Visual Studio 2010. > Pics:http://i50.tinypic.com/bgcy21.jpghttp://i49.tinypic.com/5mn8jr.jpghttp://i45.tinypic.com/jjl6p1.jpg > > E-mail me at: [email protected] > and I will send edited source. > > Regards > > Bill > > On Apr 22, 9:50 am, Kieron Thwaites <[email protected]> wrote: > > > > > Hi, > > > I'm currently in the process of migrating some projects > > toVisualStudio2010(from 2008). I've attempted to compile Crypto++ 5.6.0 > > withVisualStudio2010(on a Windows 7 x64 machine), however, I can't get > > the project to compile. I've pasted the full compile log below > > (warning: it's a bit long, and I'm not sure how to attach a text file > > to this post via the Google Groups interface) - not sure if I'm doing > > something wrong or missing something here, but any assistance to get > > the code to compile would be most welcome. :) > > > Thanks > > > --K > > > ------- COMPILE LOG BEGINS ------- > > > 1>------ Build started: Project: cryptlib, Configuration: Debug Win32 > > ------ > > 1> Performing Custom Build Tools > > 1> pch.cpp > > 1> 3way.cpp > > 1> adler32.cpp > > 1> algebra.cpp > > 1> algparam.cpp > > 1> arc4.cpp > > 1> asn.cpp > > 1> authenc.cpp > > 1> base32.cpp > > 1> base64.cpp > > 1> basecode.cpp > > 1> bfinit.cpp > > 1> blowfish.cpp > > 1> blumshub.cpp > > 1> camellia.cpp > > 1> cast.cpp > > 1> casts.cpp > > 1> cbcmac.cpp > > 1> ccm.cpp > > 1> channels.cpp > > 1> cmac.cpp > > 1> Generating Code... > > 1> Compiling... > > 1> cpu.cpp > > 1> crc.cpp > > 1> cryptlib.cpp > > 1> default.cpp > > 1> des.cpp > > 1> dessp.cpp > > 1> dh.cpp > > 1>c:\program files (x86)\microsoftvisualstudio10.0\vc\include > > \utility(163): error C2440: > > > 'initializing' : cannot convert from 'int' to 'const unsigned char *' > > 1> Conversion from integral type to pointer type requires > > reinterpret_cast, C-style > > > cast or function-style cast > > 1> c:\program files (x86)\microsoftvisualstudio10.0\vc > > \include\utility(247) : see > > > reference to function template instantiation > > 'std::_Pair_base<_Ty1,_Ty2>::_Pair_base<_Ty,_Ty> > > > (_Other1 &&,_Other2 &&)' being compiled > > 1> with > > 1> [ > > 1> _Ty1=const unsigned char *, > > 1> _Ty2=size_t, > > 1> _Ty=int, > > 1> _Other1=int, > > 1> _Other2=int > > 1> ] > > 1> c:\users\kieron\documents\visualstudio2010\projects\sms > > gateway.10\common > > > \crypto560\pubkey.h(243) : see reference to function template > > instantiation > > > 'std::pair<_Ty1,_Ty2>::pair<int,int>(_Other1 &&,_Other2 &&)' being > > compiled > > 1> with > > 1> [ > > 1> _Ty1=const byte *, > > 1> _Ty2=size_t, > > 1> _Other1=int, > > 1> _Other2=int > > 1> ] > > 1> c:\users\kieron\documents\visualstudio2010\projects\sms > > gateway.10\common > > > \crypto560\pubkey.h(242) : while compiling class template member > > function > > > 'CryptoPP::HashIdentifier > > > CryptoPP::PK_SignatureMessageEncodingMethod::HashIdentifierLookup::HashIdentifierLookup2<H>::L > > > ookup(void)' > > 1> with > > 1> [ > > 1> H=CryptoPP::SHA1 > > 1> ] > > 1> c:\users\kieron\documents\visualstudio2010\projects\sms > > gateway.10\common > > > \crypto560\pubkey.h(1302) : see reference to class template > > instantiation > > > 'CryptoPP::PK_SignatureMessageEncodingMethod::HashIdentifierLookup::HashIdentifierLookup2<H>' > > > being compiled > > 1> with > > 1> [ > > 1> H=CryptoPP::SHA1 > > 1> ] > > 1> c:\users\kieron\documents\visualstudio2010\projects\sms > > gateway.10\common > > > \crypto560\pubkey.h(1300) : while compiling class template member > > function > > > 'CryptoPP::HashIdentifier > > > CryptoPP::DL_ObjectImplBase<BASE,SCHEME_OPTIONS,KEY>::GetHashIdentifier(void) > > const' > > 1> with > > 1> [ > > 1> BASE=CryptoPP::DL_SignerBase<CryptoPP::Integer>, > > 1> > > > SCHEME_OPTIONS=CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DSA,CryptoPP::DL_Keys_DSA,CryptoP > > > P::DL_Algorithm_GDSA<CryptoPP::Integer>,CryptoPP::DL_SignatureMessageEncodingMethod_DSA,Crypto > > > PP::SHA>, > > 1> > > > KEY=CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest<CryptoPP::DL_PrivateKey_GFP<C > > > ryptoPP::DL_GroupParameters_DSA>,CryptoPP::DSA> > > 1> ] > > 1> c:\users\kieron\documents\visualstudio2010\projects\sms > > gateway.10\common > > > \crypto560\pubkey.h(1317) : see reference to class template > > instantiation > > > 'CryptoPP::DL_ObjectImplBase<BASE,SCHEME_OPTIONS,KEY>' being compiled > > 1> with > > 1> [ > > 1> BASE=CryptoPP::DL_SignerBase<CryptoPP::Integer>, > > 1> > > > SCHEME_OPTIONS=CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DSA,CryptoPP::DL_Keys_DSA,CryptoP > > > P::DL_Algorithm_GDSA<CryptoPP::Integer>,CryptoPP::DL_SignatureMessageEncodingMethod_DSA,Crypto > > > PP::SHA>, > > 1> > > > KEY=CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest<CryptoPP::DL_PrivateKey_GFP<C > > > ryptoPP::DL_GroupParameters_DSA>,CryptoPP::DSA> > > 1> ] > > 1> c:\users\kieron\documents\visualstudio2010\projects\sms > > gateway.10\common > > > \crypto560\pubkey.h(1339) : see reference to class template > > instantiation > > > 'CryptoPP::DL_ObjectImpl<BASE,SCHEME_OPTIONS,KEY>' being compiled > > 1> with > > 1> [ > > 1> BASE=CryptoPP::DL_SignerBase<CryptoPP::Integer>, > > 1> > > > SCHEME_OPTIONS=CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DSA,CryptoPP::DL_Keys_DSA,CryptoP > > > P::DL_Algorithm_GDSA<CryptoPP::Integer>,CryptoPP::DL_SignatureMessageEncodingMethod_DSA,Crypto > > > PP::SHA>, > > 1> > > > KEY=CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest<CryptoPP::DL_PrivateKey_GFP<C > > > ryptoPP::DL_GroupParameters_DSA>,CryptoPP::DSA> > > 1> ] > > 1> c:\users\kieron\documents\visualstudio2010\projects\sms > > gateway.10\common > > > \crypto560\pubkey.h(1489) : see reference to class template > > instantiation > > > 'CryptoPP::DL_SignerImpl<SCHEME_OPTIONS>' being compiled > > 1> with > > 1> [ > > 1> > > > SCHEME_OPTIONS=CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DSA,CryptoPP::DL_Keys_DSA,CryptoP > > > P::DL_Algorithm_GDSA<CryptoPP::Integer>,CryptoPP::DL_SignatureMessageEncodingMethod_DSA,Crypto > > > PP::SHA> > > 1> ] > > 1> c:\users\kieron\documents\visualstudio2010\projects\sms > > gateway.10\common > > > \crypto560\pubkey.h(830) : see reference to class template > > instantiation > > > 'CryptoPP::PK_FinalTemplate<BASE>' being compiled > > 1> with > > 1> [ > > 1> > > > BASE=CryptoPP::DL_SignerImpl<CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DSA,CryptoPP::DL_Ke > > > ys_DSA,CryptoPP::DL_Algorithm_GDSA<CryptoPP::Integer>,CryptoPP::DL_SignatureMessageEncodingMet > > > hod_DSA,CryptoPP::SHA>> > > 1> ] > > 1> c:\users\kieron\documents\visualstudio2010\projects\sms > > gateway.10\common > > > \crypto560\pubkey.h(825) : while compiling class template member > > function 'void > > > CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest<BASE,SIGNATURE_SCHEME>::GenerateR > > > andom(CryptoPP::RandomNumberGenerator &,const CryptoPP::NameValuePairs > > &)' > > 1> with > > 1> [ > > 1> > > BASE=CryptoPP::DL_PrivateKey_GFP<CryptoPP::DL_GroupParameters_DSA>, > > 1> SIGNATURE_SCHEME=CryptoPP::DSA > > 1> ] > > 1> c:\users\kieron\documents\visualstudio2010\projects\sms > > gateway.10\common > > > \crypto560\gfpcrypt.h(416) : see reference to class template > > instantiation > > > 'CryptoPP::DL_PrivateKey_WithSignaturePairwiseConsistencyTest<BASE,SIGNATURE_SCHEME>' > > being > > > compiled > > 1> with > > 1> [ > > 1> > > BASE=CryptoPP::DL_PrivateKey_GFP<CryptoPP::DL_GroupParameters_DSA>, > > 1> SIGNATURE_SCHEME=CryptoPP::DSA > > 1> ] > > 1>c:\program files (x86)\microsoftvisualstudio10.0\vc\include > > \utility(163): error C2439: > > > 'std::_Pair_base<_Ty1,_Ty2>::first' : member could not be initialized > > 1> with > > 1> [ > > 1> _Ty1=const unsigned char *, > > 1> _Ty2=size_t > > 1> ] > > 1> c:\program files (x86)\microsoftvisualstudio10.0\vc > > \include\utility(166) : see > > > declaration of 'std::_Pair_base<_Ty1,_Ty2>::first' > > 1> with > > 1> [ > > 1> _Ty1=const unsigned char *, > > 1> _Ty2=size_t > > 1> ] > > 1> dh2.cpp > > 1> dsa.cpp > > 1>c:\program files (x86)\microsoftvisualstudio10.0\vc\include > > \utility(163): error C2440: > > > 'initializing' : cannot convert from 'int' to 'const unsigned char *' > > 1> Conversion from integral type to pointer type requires > > reinterpret_cast, C-style > > > cast or function-style cast > > 1> c:\program files (x86)\microsoftvisualstudio10.0\vc > > \include\utility(247) : see > > > reference to function template instantiation > > 'std::_Pair_base<_Ty1,_Ty2>::_Pair_base<_Ty,_Ty> > > > (_Other1 &&,_Other2 &&)' being compiled > > 1> with > > 1> [ > > 1> _Ty1=const unsigned char *, > > 1> _Ty2=size_t, > > 1> _Ty=int, > > 1> _Other1=int, > > 1> _Other2=int > > 1> ] > > 1> > > ... > > read more »- Hide quoted text - > > - Show quoted text -
-- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com.
