Thanks!

It seems to work very well now! And to get an answer within 3 minutes! :-)

Regards
Nicklas

-----Ursprungligt meddelande-----
Från: Marko Kaiser [mailto:[EMAIL PROTECTED] 
Skickat: den 6 juni 2006 12:51
Till: [email protected]
Ämne: RE: Crypto++ on VS.NET2005

Hello Nicklas,

Wie Dei published a snapshot from the cvs tree which can be compiled with VS 
.NET 2005.

See here: http://www.ibiblio.org/weidai/cryptopp_20060419.zip

Kind regards,
Marko 

-----Original Message-----
From: Nicklas Kittelmann [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 06, 2006 10:42 AM
To: [email protected]
Subject: VB: Crypto++ on VS.NET2005

Hi!
 
I have used Crypto++ for a few years now, starting with 4.2 on VS6.0 and step 
by step I've moved up to VS.NET2005 (on a 32-bit Win2003 running on a Athlon 64 
X2).
 
So, I guess you already understand my problem... Crypto++ isn't supported on 
VS2005. 
 
But I still thought I'd ask if that support is a far distance in time away, or 
if I should forget it and go back to VS.NET2003 ?
 
I've done 2 tests: Compiling 5.2.1 on VS.NET2005 goes the best; the errors are 
in 4 categories:
*) A few deprecated functions: seems easy to fix
*) 1500 warnings of truncation in conversions, seems easy to fix
*) A few errors where an explicit cast is needed between char * and LPCWSTR, 
easy to fix
*) Some template errors (which I have no idea on how to fix) like:
1>d:\programs\microsoft visual studio 2005\vc\include\xutility(303) :
error C2664: 'bool CryptoPP::FreqLessThan::operator ()(const 
CryptoPP::HuffmanNode &,const CryptoPP::HuffmanNode &) const' : cannot convert 
parameter 2 from 'const int' to 'const CryptoPP::HuffmanNode &'
1>        Reason: cannot convert from 'const int' to 'const
CryptoPP::HuffmanNode'
1>        No constructor could take the source type, or constructor
overload resolution was ambiguous
1>        d:\programs\microsoft visual studio
2005\vc\include\algorithm(2099) : see reference to function template 
instantiation 'bool std::_Debug_lt_pred<_Pr,_Ty,T>(_Pr,const _Ty1 &,_Ty2 
&,const wchar_t *,unsigned int)' being compiled
1>        with
1>        [
1>            _Pr=CryptoPP::FreqLessThan,
1>            _Ty=int,
1>            T=CryptoPP::HuffmanNode,
1>            _Ty1=int,
1>            _Ty2=CryptoPP::HuffmanNode
1>        ]
1>        d:\programs\microsoft visual studio
2005\vc\include\algorithm(2113) : see reference to function template 
instantiation '_FwdIt 
std::_Upper_bound<CryptoPP::HuffmanNode*,_Ty,std::iterator_traits<_Iter>
::difference_type,_Pr>(_FwdIt,_FwdIt,const _Ty &,_Pr,_Diff *)' being compiled
1>        with
1>        [
1>            _FwdIt=CryptoPP::HuffmanNode *,
1>            _Ty=int,
1>            _Iter=CryptoPP::HuffmanNode *,
1>            _Pr=CryptoPP::FreqLessThan,
1>            _Diff=std::iterator_traits<CryptoPP::HuffmanNode
*>::difference_type
1>        ]
1>        d:\data\projects\test1\test1\zdeflate.cpp(115) : see reference
to function template instantiation '_FwdIt 
std::upper_bound<CryptoPP::HuffmanNode*,int,CryptoPP::FreqLessThan>(_Fwd
It,_FwdIt,const _Ty &,_Pr)' being compiled
1>        with
1>        [
1>            _FwdIt=CryptoPP::HuffmanNode *,
1>            _Ty=int,
1>            _Pr=CryptoPP::FreqLessThan
1>        ]


Trying 5.1 on VS.NET2005 produces even worse results...

/Nicklas Kittelmann


Reply via email to