nginx-rtmp – Compile for Windows

RobinJack0r

Checkout: youtube.com/RobinJack0r | twitter.com/RobinJack0r | twitch.tv/Jack0r

You may also like...

18 Responses

  1. Tai le says:

    Can you help me
    NMAKE : fatal error U1052: file ‘/objs/Makefile’ not found
    Stop.

  2. Ronald says:

    I’ve had consistent errors, and as I’ve been fixing them one after another, more have started appearing. Can you leave a link to your compiled nginx.exe, as the link you provided just redirects to nginx.

  3. Steve says:

    I have installed the nginx server for windows and the http part is working, I can go to my IP http://***.53.74.**:8080/ and the welcome page comes up, however, I don't think that the rtmp module is running.
    When I try to connect OBS to my server, which is on the same network, different machine, OBS throws an error saying the server is offline.
    I've tried everything I can think of or find to try and nothing is working, OBS still says the server is offline.
    How do I tell if my rtmp server is running in Windows 7 Ultimate running IIS?
    I tried checking the processes and there's nothing in the list of running processes that even looks like nginx….

  4. rashid says:

    I have a little problem after “nmake -f Makefile”
    Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\advapi32.l
    ib:
    Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\ws2_32.lib
    :
    Searching objs/lib/pcre-8.37/pcre.lib:
    Searching objs/lib/openssl-1.0.1p/openssl/lib/ssleay32.lib:
    Searching objs/lib/openssl-1.0.1p/openssl/lib/libeay32.lib:
    Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\gdi32.lib:

    Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\crypt32.li
    b:
    Searching objs/lib/zlib-1.2.8/zlib.lib:

    Finished searching libraries
    LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or c
    orrupt
    NMAKE : fatal error U1077: ‘”C:\Program Files (x86)\Microsoft Visual Studio 10.0
    \VC\BIN\cl.EXE”‘ : return code ‘0x2’
    Stop.
    NMAKE : fatal error U1077: ‘”C:\Program Files (x86)\Microsoft Visual Studio 10.0
    \VC\BIN\nmake.exe”‘ : return code ‘0x2’
    Stop.

    How to fix this ?

  5. Evan says:

    How do you paste in the command windows? I can’t ctrl v or right click

  6. Norbert says:

    I have a little problem after “nmake -f objs/Makefile”
    At and I have:
    objs/lib/nginx-rtmp-module-master/ngx_rtmp.c(841) : error C2220: warning treated
    as error – no ‘object’ file generated
    objs/lib/nginx-rtmp-module-master/ngx_rtmp.c(841) : warning C4090: ‘=’ : differe
    nt ‘volatile’ qualifiers
    objs/lib/nginx-rtmp-module-master/ngx_rtmp.c(841) : warning C4090: ‘=’ : differe
    nt ‘volatile’ qualifiers
    NMAKE : fatal error U1077: ‘”C:\Program Files (x86)\Microsoft Visual Studio 10.0
    \VC\BIN\cl.EXE”‘ : return code ‘0x2’
    Stop.

    How to fix this ?

  7. Billy says:

    Hello
    in this video “Nginx-RTMP – 3 – Compile and “install” under Windows “09:36
    I failed.
    error message-> http://ppt.cc/dQP3
    How do I fix it??

    • RobinJack0r says:

      Oh, I think if you create the folders for nginx it should work.
      So just create a logs and temp folder directly in your nginx directory and a client_body_temp inside the temp folder!

  8. Timothy says:

    Okay…make it to the next part. I then started the compile under Visual Studio…it went through the process…but I did not have an nginx.exe upon completion.
    Searching objs/lib/zlib-1.2.8/zlib.lib:

    Finished searching libraries
    LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or c
    orrupt
    NMAKE : fatal error U1077: ‘”C:\Program Files (x86)\Microsoft Visual Studio 10.0
    \VC\BIN\cl.EXE”‘ : return code ‘0x2’
    Stop.

    C:\MinGW\msys\1.0\home\Timothy J. O’Connor\nginx>

    • RobinJack0r says:

      Hmm, yea you got an error and the compile process did not finish. My first idea would be testing with zlib 1.2.7, I remember having problems with the 1.2.8 version as well. (Thats why I recommended versions to download for each library)
      If that does not fix the error, you might have to ask arut on the googlegroups for nginx-rtmp. He could so far, help me within hours, each time I had a problem :)

  9. Timothy says:

    Not getting what you got on the last step before running the config…and config doesn’t work.

    Here are my results:

    XXX@XXX~<—-Hidden
    $ ls
    nginx

    XXX@XXX~
    $ cd nginx

    XXX@XXX~/nginx
    $ ls
    FAQ nginx-win version.txt lua51.dll
    Readme nginx-win version.txt nginx.exe
    conf nginx_basic.exe
    contrib objs
    docs tcpip parameters nginx as a service.reg
    html temp
    logs

    XXX@XXX~/nginx
    $ auto/configure –with-cc=cl –builddir=objs –prefix= –conf-path=conf/nginx.
    conf –pid-path=logs/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/pcre-8.35 –with
    -zlib=objs/lib/zlib-1.2.8 –with-openssl=objs/lib/openssl-1.0.1g –with-select_
    module –with-http_ssl_module –add-module=objs/lib/nginx-rtmp-module-master
    sh: auto/configure: No such file or directory

    XXX@XXX~/nginx
    $