Hi everyone,
A little followup to my earlier message about Crypto++ on EVC++. After
learning that EVC was merged into Visual Studio 2005, I tried VS 2005
Beta 2. There were some new errors, so I looked at CVS and saw that
there were many files changed for VS2005, and I pulled the latest CVS
code. Things look *much* better using VS 2005 targeting Pocket PC, but
there are still a few errors. Maybe they have been reported already,
but it also seems possible that not many people are trying to compile
Crypto++ for Pocket PC.
------ Build started: Configuration: Debug Pocket PC 2003 (ARMV4)
Compiling...
<snip>
files.cpp
files.cpp(196) : warning C4003: not enough actual parameters for macro
'max'
files.cpp(196) : error C2589: '(' : illegal token on right side of '::'
files.cpp(196) : error C2059: syntax error : '::'
<snip>
trdlocal.cpp
trdlocal.cpp(25) : error C2065: 'TLS_OUT_OF_INDEXES' : undeclared
identifier
<snip>
winpipes.cpp
winpipes.cpp(131) : error C3861: 'GetOverlappedResult': identifier not
found
winpipes.cpp(196) : error C3861: 'GetOverlappedResult': identifier not
found
<snip>
Generating Code...
Test - 5 error(s), 1 warning(s)
Any help greatly appreciated! This is just a standard "Smart Device"
Win32 project, with the Crypto++ files inserted. BTW, I did remove 2
warnings that were also present in the standard Win32 compilation
since they are not unique to the Pocket PC compilation.
Oh, two other notes, in order to compile for Pocket PC, I had to make
two other changes:
Comment out #include <locale> in stdcpp.h, and be sure that
CRYPTOPP_DISABLE_UNCAUGHT_EXCEPTION got defined in config.h.
Thanks,
Kevin Hock
Kevin Hock wrote:
Hi,
After some extensive searching on both the list archives and on Google,
have I come to the correct conclusion that Crypto++ cannot be used by
the Windows Mobile SDK due to incomplete STL support? Further, I looked
at several STL replacements, but none of them are complete due to
limitations in EVC++, and stream support could simply not be had.
If anyone knows of a way to succeed using Crypto++ using EVC++ for the
Windows Mobile/CE platform, I would really appreciate any tips.