Solution: How to build on windows

已查看 73 次
跳至第一个未读帖子

Dr. Arik Raffael Funke

未读,
2011年2月24日 05:10:542011/2/24
收件人 mongoose-users
Hi,

this is in reply to my own question yesterday. The windows target of the
makefile of mongoose is broken. To build follow the following steps:

1. Install "Visual C++ Express"
2. Install "Windows SDK for Windows 7"

3. download cyassl

4. modify makefile as follows:
- set: VC= "C:\Program Files\Microsoft Visual Studio 10.0\VC"
- set: CYA= cyassl-1.8.0
(i.e. path to the cyassl library just downloaded)
- delete the leading "cl" in the line
CL= cl /MD /TC /nologo $(DBG) /Gz /W3 /DNO_SSL_DL
to read:
CL= /MD /TC /nologo $(DBG) /Gz /W3 /DNO_SSL_DL
- search for "$(CL)" and replace any occurrence with "cl $(CL)"
- add to the "CYAFL" parameter: /I $(CYA)\include\openssl
- add to the "LINK" parameter: /libpath:"C:\Program Files\Microsoft
SDKs\Windows\v7.1\Lib"

5. open the Windows SDK Command prompt and build:
- nmake cyassl
- nmake windows

Good luck.

Regards,
Arik

回复全部
回复作者
转发
0 个新帖子