开发者

How to build SHTTPD on Windows?

开发者 https://www.devze.com 2023-02-18 12:20 出处:网络
I tried building SHTTPD on Windows using the following command: nmake msvc Makefile All i get is a bunch of errors. What am I doing wrong?

I tried building SHTTPD on Windows using the following command:

nmake msvc Makefile

All i get is a bunch of errors. What am I doing wrong?

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved. cl /MD /TC /nologo /DNDEBUG /Os standalone.c /link /out:shttpd.exe ws2_32.lib user32.lib advapi32.lib shell32.lib shttpd.lib standalone.c c:\users\samira\desktop\network\shttp开发者_如何学Cd-1.42\src\compat_win32.h(46) : warning C4005: 'EWOULDBLOCK' : macro redefinition C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\errno.h(132) : see previous definition of 'EWOULDBLOCK' –


According to the site you link, you have to use the command

nmake win

to build on windows.

Edit From the site you linked:

Download the source package. Extract it, go to src directory. Run "make unix" there ("nmake win" on Windows, requires MSVC). That buillds a library.

Have you invoked the command from the src directory?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号