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

标签 c++ nginx compiler-errors makefile nginx-location

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

为 Windows 编译 nginx rtmp,但是当我尝试执行 nmake -f objs/Makefile 时,它给出了一个错误,即 - NMAKE : fatal error U1052: file '未找到生成文件,之前的调用也会出错。

代码

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\1.0\home\gr\nginx\objs\lib

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

关于c++ - nginx rtmp compile for windows error U1052 & rtmp-module-master/config not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36396755/

相关文章:

c - 在C中如何使用printf输出球坐标转换为笛卡尔坐标的值?

c++ - 有没有一种方法可以通过 #define 列出在 c/c++ 中定义的符号

C++继承问题

c++ - 迭代与将整数打印到字符LCD/OLED显示器的递归

c++ - 解析 C 头文件

javascript - jquery中的ajax请求如何处理504响应头?

ruby-on-rails - Rails SQLite 没有这样的表吗?

c++ - 如何从C++将根euid传递给shell脚本

nginx - 您如何正确观看和重新加载 Nginx conf?

error-handling - AS400- MOVEA无法编译,无法将十进制数据结构移动到十进制数组