nginx rtmp compile for windows error U1052 & rtmp-module-master/config not found

nginx rtmp compile for windows error U1052 & rtmp-module-master/config not found

我正在尝试遵循本指南 - http://www.helping-squad.com/nginx-rtmp-compile-for-windows/

为 Windows 编译 nginx rtmp,但是当我试图执行 nmake -f objs/Makefile 时,它给出了一个错误,即 - NMAKE : fatal error U1052: file 'Makefile' not found 之前的调用给出了一个也有错误。

代码

auto/configure --with-cc=cl --builddir=objs --prefix= --conf-path=conf/nginx.conf --pid-path=temp/nginx.pid --http-log-path=logs/access.log --error-log-path=logs/error.log --sbin-path=nginx.exe --http-client-body-temp-path=temp/client_body_temp --http-proxy-temp-path=temp/proxy_temp --http-fastcgi-temp-path=temp/fastcgi_temp --http-uwsgi-temp-path=temp/uwsgi_temp --http-scgi-temp-path=temp/scgi_temp --with-cc-opt=-DFD_SETSIZE=1024 --with-pcre=objs/lib/pcre2-10.21 --with-zlib=objs/lib/zlib-1.2.8 --with-openssl=objs/lib/openssl-1.0.1s --with-select_module --with-http_ssl_module --add-module=objs/lib/nginx-rtmp-module-master

错误 - auto/configure: error: no objs/lib/nginx-rtmp-module-master/config was found

目录下竟然还有配置文件

所以我读到类似的东西 - 较新版本的 nginx 不需要单独的 rtmp-module-master 所以我从代码中删除了它并编译得很好。

我将编译器的文件/映射放在文档中,而不是 -

C:\msys.0\home\gr\nginx\objs\lib

所以编译器找不到我的文件。