Setting up nginx as Visual Studio 2010 project

Hi!

I’d like to make a Visual Studio project from the nginx source and then
build it. Has anyone already done this experience and can tell me how to
start?

Thanks!

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,227198,227198#msg-227198

Hi,

no problem, but need to build it with mingw at least once.

try it as follows:

  1. you have to get 4 auto config files from
    http://nginx.org/en/docs/windows.html procedures.

    • ngx_auto_config.h (detailed configuration option info’ at header
      topmost)
    • ngx_auto_headers.h
    • ngx_modules.c
    • ngx_pch.c
  2. create vs 2010 new project and attach sources (core and modules
    etc…)

    • refer to objs/Makefile (mingw result).
  3. build enjoy.

    • this is only visual studio 2010 project settings problems (you
      can’t
      miss it).

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,227198,240822#msg-240822

You should be able to just create a new project and add all the source
files from the Windows version of nginx
(http://nginx.org/en/docs/windows.html) - Although I’m not too sure if
it can actually be compiled with the Microsoft compiler or whether it
depends on MinGW. The Windows port of nginx looks very incomplete.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,227198,227446#msg-227446

This is almost a year later, but I’ve written up additional details on
how
to create a Visual Studio project for nginx.

http://stackoverflow.com/questions/21486482/compile-nginx-with-visual-studio/22649559#22649559

Given that I’m not an advanced unix user, I had to figure a number of
things
out while doing this, and those things are all documented here. Enjoy!

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,227198,248703#msg-248703

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs