Hi all,
I tried to create IA64 version of cryptlib.lib using MS Platform SDK. But
when I use the command: cl *.cpp /Ehsc I got this errors:
c:\temp\cryptopp521IA64\modarith.h(125) : error C2327:
'CryptoPP::ModularArithmetic::modulus' : is not a type name, static, or
enumerator
c:\temp\cryptopp521IA64\dll.h(55) : error C2039: 'new_handler' : is not a
member of 'std'
c:\temp\cryptopp521IA64\dll.h(55) : error C2868: 'new_handler' : illegal
syntax for using-declaration; expected qualified-name
ida.cpp(398) : error C2976: 'std::reverse_iterator' : too few template
arguments
C:\Program Files\Microsoft Platform SDK\Include\crt\utility(173) :
see declaration of 'std::reverse_iterator'
ida.cpp(400) : error C2440: 'type cast' : cannot convert from 'const byte
*const ' to 'std::reverse_iterator'
No constructor could take the source type, or constructor overload
resolution was ambiguous
ida.cpp(400) : error C2440: 'type cast' : cannot convert from 'const byte *'
to 'std::reverse_iterator'
No constructor could take the source type, or constructor overload
resolution was ambiguous
ida.cpp(400) : error C2228: left of '.base' must have class/struct/union
type
misc.cpp(80) : error C2039: 'new_handler' : is not a member of 'std'
misc.cpp(80) : error C2868: 'new_handler' : illegal syntax for
using-declaration; expected qualified-name
misc.cpp(81) : error C2039: 'set_new_handler' : is not a member of 'std'
misc.cpp(81) : error C2873: 'set_new_handler' : symbol cannot be used in a
using-
c:\temp\cryptopp521IA64\dll.h(55) : error C2039: 'new_handler' : is not a
member of 'std'
c:\temp\cryptopp521IA64\dll.h(55) : error C2868: 'new_handler' : illegal
syntax for using-declaration; expected qualified-name
wait.cpp(217) : error C2782: 'const T &CryptoPP::STDMIN(const T &,const T
&)' : template parameter 'T' is ambiguous
c:\temp\cryptopp521IA64\misc.h(120) : see declaration of
'CryptoPP::STDMIN'
could be 'unsigned __int64'
or 'unsigned int'
zdeflate.cpp(635) : error C2976: 'std::reverse_iterator' : too few template
arguments
C:\Program Files\Microsoft Platform SDK\Include\crt\utility(173) :
see declaration of 'std::reverse_iterator'
zdeflate.cpp(644) : error C2440: 'type cast' : cannot convert from 'unsigned
int *' to 'std::reverse_iterator'
No constructor could take the source type, or constructor overload
resolution was ambiguous
zdeflate.cpp(644) : error C2228: left of '.base' must have
class/struct/union type
zdeflate.cpp(648) : error C2440: 'type cast' : cannot convert from 'unsigned
int *' to 'std::reverse_iterator'
No constructor could take the source type, or constructor overload
resolution was ambiguous
zdeflate.cpp(648) : error C2228: left of '.base' must have
class/struct/union type
Is the command cl *.cpp /Ehsc correct?
I assumed tht I only needed to create .obj using 64bit compiler and then lib
(lib *.obj) them together to create cryptlib.lib, correct?
Is there any samples/notes/site that can help me with this? I've searched
the web and found http://www.winimage.com/misc/sdk64onvs2005/ but it doesn't
have anything for MS Platform SDK :(.
Please bear with me, as I actually have little knowledge on C++ whether it's
64 or 32bit.
Regards,
Antony