To whom it may concern:

Greetings.

I tried compiling Crypto++ in Windows 2000 with VC6.0 with SP5 and Processor
Pack but I get the following compilation error:

Compiling...
gzip.cpp
D:\PATS\dev\stlport-4.6.2\stlport\stl/_alloc.h(506) : error C2784: 'class
_STL::allocator<_Tp2> &__cdecl _STL::__stl_alloc_rebind(class
_STL::allocator<_Tp1> &,const _Tp2 *)' : could not deduce template argument
for 'class _STL::allocator<_Tp> &' fr
om 'class CryptoPP::AllocatorWithCleanup<struct
CryptoPP::HuffmanDecoder::CodeInfo>'
        D:\PATS\dev\stlport-4.6.2\stlport\stl/_alloc.h(505) : while
compiling class-template member function 'void __thiscall
_STL::_STLP_alloc_proxy<struct CryptoPP::HuffmanDecoder::CodeInfo *,struct
CryptoPP::HuffmanDecoder::CodeInfo,class CryptoP
P::AllocatorWithCleanup<struct CryptoPP::HuffmanDecoder::CodeInfo>
>::deallocate(struct CryptoPP::HuffmanDecoder::CodeInfo *,unsigned int)'
D:\PATS\dev\stlport-4.6.2\stlport\stl/_alloc.h(506) : error C2784: 'class
_STL::allocator<_Tp2> &__cdecl _STL::__stl_alloc_rebind(class
_STL::allocator<_Tp1> &,const _Tp2 *)' : could not deduce template argument
for 'class _STL::allocator<_Tp> &' fr
om 'class CryptoPP::AllocatorWithCleanup<struct
CryptoPP::HuffmanDecoder::CodeInfo>'
        D:\PATS\dev\stlport-4.6.2\stlport\stl/_alloc.h(505) : while
compiling class-template member function 'void __thiscall
_STL::_STLP_alloc_proxy<struct CryptoPP::HuffmanDecoder::CodeInfo *,struct
CryptoPP::HuffmanDecoder::CodeInfo,class CryptoP
P::AllocatorWithCleanup<struct CryptoPP::HuffmanDecoder::CodeInfo>
>::deallocate(struct CryptoPP::HuffmanDecoder::CodeInfo *,unsigned int)'
D:\PATS\dev\stlport-4.6.2\stlport\stl/_alloc.h(506) : error C2228: left of
'.deallocate' must have class/struct/union type
        D:\PATS\dev\stlport-4.6.2\stlport\stl/_alloc.h(505) : while
compiling class-template member function 'void __thiscall
_STL::_STLP_alloc_proxy<struct CryptoPP::HuffmanDecoder::CodeInfo *,struct
CryptoPP::HuffmanDecoder::CodeInfo,class CryptoP
P::AllocatorWithCleanup<struct CryptoPP::HuffmanDecoder::CodeInfo>
>::deallocate(struct CryptoPP::HuffmanDecoder::CodeInfo *,unsigned int)'

Is Crypto++ 5.2.1 compilable in VC6 with STLPort 4.6.2?
If yes, what configuration is to be done to have a successful compilation?
If no, does this mean using Crypto with STLPort requires compiling in
VC.NET?

Regards,

Anthony

Reply via email to