본문 바로가기

Windows/MFC

openssl with vs2005

>
>
> Ø "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

'Windows > MFC' 카테고리의 다른 글

MSVCR80D.dll error  (0) 2013.10.02
socket 포트할당시 빈포트(미사용포트) 확인방법  (0) 2013.10.02
openssl for wince  (0) 2013.10.02
open ssl install  (0) 2013.10.02
nfs  (0) 2013.10.02