Hi,
ext Steven Harris wrote:
Hi,
I’m trying to get OpenSSL to build for Windows Mobile 5 but im not
getting anywhere. I think the documentation is out of date.
It is, last week I send an initial patch, which might need some more
care before it's becoming part of OpenSSL.
See http://marc.info/?l=openssl-dev&m=122536319510494&w=2
<http://marc.info/?l=openssl-dev&m=122536319510494&w=2> for the history
of this thread.
Ø "C:\Program Files\Microsoft eMbedded
Tools\EVC\WCE300\BIN\WCEARM.BAT"”
I have Visual Studio 2005 Professional installed. I cant find anything
to do with Microsoft eMbedded Tools, which I assume is an old tool
used to add in Windows CE support that’s not in Visual Studio 6 (well
out of date).
Well, the embedded tools were standing beside any Visual Studio product.
VS2005 was the first series, which integrated the Windows CE development
into one platform. So yes, it is different, but not so hard to figure
out. Basically you need to set the PATH, INCLUDE and LIB variables. On a
default installation on Vista, this environment setup should be sufficient:
PATH=C:\Program Files (x86)\Microsoft Visual Studio
8\VC\ce\bin\x86_arm;C:\Program Files (x86)\Microsoft Visual Studio
8\VC\bin;C:\Program Files (x86)\Microsoft Visual Studio
8\VC\PlatformSDK\bin;C:\Program Files (x86)\Microsoft Visual Studio
8\Common7\Tools;C:\Program Files (x86)\Microsoft Visual Studio
8\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio
8\Common\Tools;C:\Program Files (x86)\Microsoft Visual Studio
8\Common\IDE;C:\Program Files (x86)\Microsoft Visual Studio
8\;$(FrameworkSDKDir)Bin;%PATH%
INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio
8\VC\ce\include;C:\Program Files (x86)\Windows CE Tools\wce500\Windows
Mobile 5.0 Pocket PC SDK\include\ARMV4I;C:\Program Files (x86)\Windows
CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\include;C:\Program
Files (x86)\Microsoft Visual Studio 8\VC\ce\atlmfc\include;C:\Program
Files (x86)\Microsoft Visual Studio 8\SmartDevices\SDK\SQL
Server\Mobile\v3.0
LIB=C:\Program Files (x86)\Windows CE Tools\wce500\Windows Mobile 5.0
Pocket PC SDK\lib\ARMV4I;C:\Program Files (x86)\Microsoft Visual Studio
8\VC\ce\atlmfc\lib \ARMV4I;C:\Program Files (x86)\Microsoft Visual
Studio 8\VC\ce\lib\ARMV4I
Next indicate where wcecompat is located:
Ø set WCECOMPAT=C:\wcecompat
What is wcecompat, why do I need it and if I need it where do I get a
binary of it from? Its name seems strange. I don’t understand why I
would need a windows ce compatibility library if I can compile things
for windows mobile from visual studio without it?
You cannot compile OpenSSL from Visual Studio. Secondly the Windows
CE/Mobile SDKs lack a lot of functionality, which is available on
desktop systems. Thus the wcecompat project was started, so that you (as
a third party developer) can use all your regular knowledge to build
embedded windows applications. For an updated version (as Microsoft
re-included a lot of thing with later versions), see
http://github.com/mauricek/wcecompat/tree/master as described in the
patch mail above.
Ive also tried creating a new WM5 project in Visual Studio for the
OpenSSL code. But when I try to compile that I get lots of errors with
the header file errno.h not found.
Same as before. You will need the wcecompat lib to implement errno,
which doesn't exist on Windows Mobile.
I hope this helped a little bit.
Best Regards,
Maurice Kalinowski
--
Maurice Kalinowski - maurice.kalinowski (AT) nokia.com
Software Engineer - Nokia, Qt Software
Rudower Chaussee 13, 12489 Berlin, Germany
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]