nginx RTMP 编译 for Windows 错误 U1052 & rtmp-module-master/config 未找到

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

本文关键字:rtmp-module-master config U1052 编译 RTMP for Windows 错误 nginx      更新时间:2023-10-16

我正在努力遵循本指南-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模块主,所以我从代码中删除了它;它编译得很好。

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

C:msys1.0homegrnginxobjslib

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