Welcome! Log In Create A New Profile

Advanced

How to compile nginx on Windows with Visual C++?

Posted by wbierman 
How to compile nginx on Windows with Visual C++?
February 28, 2019 04:03PM
http://nginx.org/en/docs/howto_build_on_win32.html claims that nginx can be built with Visual C/C++, however auto/configure always fails here: https://github.com/nginx/nginx/blob/master/auto/types/sizeof because <sys/time.h> is not part of Visual C/C++. Nevertheless, the Windows binaries that are posted seem to be compiled with it, as there are string references in the executable to "Visual C++ CRT". So I feel like I must be missing something obvious.

Please help!
Re: How to compile nginx on Windows with Visual C++?
February 28, 2019 04:32PM
Stick to a binary ready version http://nginx-win.ecsds.eu/

---
nginx for Windows http://nginx-win.ecsds.eu/
Re: How to compile nginx on Windows with Visual C++?
February 28, 2019 05:08PM
I wish I could, but I need to make changes to the source. The circumstances are not really important. Suffice it to say that my goal is to build it myself.

Are you saying that the Windows build is no longer supported? If so, how do you explain the Windows binaries?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 290
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready