Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
Re: RTMPDump - how do I compile source code?I use Windows XP.
|
#2
|
|||
|
|||
Re: RTMPDump - how do I compile source code?I use Win 7
|
#3
|
|||
|
|||
Re: RTMPDump - how do I compile source code?The readme of rtmpdump says:
Code:
To compile just type $ make rtmpdump $ make streams or to cross compile $ make -f MakefileWIN32 rtmpdump $ make -f MakefileARM rtmpdump $ make -f MakefileARM streams I believe that in Windows you need cygwin, plus the boost libraries, libssl and gcc/c++ compiler should be available under cygwin. I saw a blog post about compiling rtmpdump 1.3d with Visual Studio 2008 without cygwin, but it is about an old version an the author wasn't sure he did everything properly. Please let me know how it goes... |
#4
|
|||
|
|||
Re: RTMPDump - how do I compile source code?cygwin instructions:
install cygwin during installation, get the following packages: Code:
gcc4-core, gcc4-g++, make, zlib, binutils, tar, gzip, bzip2, bash, coreutils, crypt, boost, libboost, boost-devel, openssl, openssl-devel start the cygwin console, and go into the dir with the source e.g. cd /cygdrive/c/Documents\ and\ Settings/username/Desktop/ unpack source by typing tar -zxvf rtmpdump-v1.6.tar.gz then cd rtmpdump-v1.6 use a good text program to edit MakefileWIN32 (not notepad!) change mingw32-gcc to gcc change mingw32-g++ to g++ change mingw32-ld to ld save MakefileWIN32 in the cygwin console, type make -f MakefileWIN32 now it should make rtmpdump quickly and give you rtmpdump_win32.exe common problems: Quote:
if you installed it somewhere else , you can specify it by editing the makefilewin32 and adding the correct path to your openssl to the cxxflags of MakefileWIN32: Code:
-I /usr/local/ssl/include/ Quote:
|
#5
|
|||
|
|||
Re: RTMPDump - how do I compile source code?when i download the source file the file makeWIN32 is not there.. wtf?
|
#6
|
|||
|
|||
Re: RTMPDump - how do I compile source code?Read the README, that's what it's there for.
|
#7
|
|||
|
|||
Re: RTMPDump - how do I compile source code?hi,expert,i compiled the rtmpdump with cygwin,how can i remove the
cygwin1.dll depenence,i try use mingw to compile,but failed help me |
#8
|
|||
|
|||
Re: RTMPDump - how do I compile source code?Once you have built it as a cygwin build, you cannot remove the dependency on the cygwin DLL. You have to build it as a pure Windows/MinGW binary to avoid the cygwin dependency.
Why can't you just use the Windows build that we already published on the web site? It's a MinGW build. |
#9
|
|||
|
|||
Re: RTMPDump - how do I compile source code?thank you,hyc
|
#10
|
|||
|
|||
Re: RTMPDump - how do I compile source code?I have of course read this thread.
I tried for about 4 hours to get something to compile it yesterday to no avail. I was attempting to use MinGW which was referenced in another thread, however I am now downloading Cygwin. I just thought it would be relatively simple to compile the exe and put it some place for me to snag -- clearly thats not the case. Hopefully I will get it compiled today. Thanks for the help. |
Tags: compile, compile rtmpdump, compile rtmpdump windows, rtmpdump, rtmpsrv, rtmpsuck, windows |
Thread Tools | |
Display Modes | |
|
|